To generate a report from a log file, you use the lr_log2report command. The usage of this command is
$lr_log2reportdlf_converterlogfilereport
The first parameter is the Dlf Converter to use to handle the log file. There is one Dlf Converter by supported log format. To obtain the list of available convertesr, use
$  lr_log2report --help dlf-converters
          
          See the lr_log2report(1) man page for all the command
	  details or simply issue
	  lr_log2report --help.
	
Example 3.2. Generating a Report With lr_log2report
This is the way to generate a report in the text output format for a log file taken from an Apache™ log server.
$ lr_log2report combined /var/log/apache/access_log ~/report.txt
          Another output format than the default one (usually
	    text) can be selected by using the --ouput
	    switch with the lr_log2report command.
	  
Example 3.3. Generating A HTML Report
To generate a HTML report from the same log file as above, you would use the following command:
$ lr_log2report --output html combined/var/log/apache/access_log apache_report
	    This will create a apache_report containing
              the report. If the pl (that is the
              Ploticus command) is
              available, the HTML report will contain nice charts.
            
You can list the output-formats available on your
            system by running lr_xml2report --help
              output-formats.