This file is indexed.

/usr/share/doc/lire/user-manual/ch03s03.html is in lire-doc 2:2.1.1-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Generating A Report From A Log File</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Lire User's Manual"><link rel="up" href="ch03.html" title="Chapter 3. Running Lire"><link rel="prev" href="ch03s02.html" title="Using A Responder"><link rel="next" href="ch03s04.html" title="Merging Reports"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Generating A Report From A Log File</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Running <span class="application">Lire</span></th><td width="20%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr></table><hr></div><div class="section" title="Generating A Report From A Log File"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect:generating-report-from-log"></a>Generating A Report From A Log File</h2></div></div></div><p>To generate a report from a log file, you use the
	  <span class="command"><strong>lr_log2report</strong></span> command. The usage of this
          command is 
          </p><pre class="screen">
<code class="prompt">$ </code> <span class="command"><strong>lr_log2report</strong></span> <em class="replaceable"><code>dlf_converter</code></em> <em class="replaceable"><code>logfile</code></em> <em class="replaceable"><code>report</code></em>
          </pre><p>
          
          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 
          </p><pre class="screen">
<code class="prompt">$ </code> <span class="command"><strong>lr_log2report</strong></span> --help dlf-converters
          </pre><p>

          See the lr_log2report(1) man page for all the command
	  details or simply issue
	  <strong class="userinput"><code><span class="command"><strong>lr_log2report</strong></span> --help</code></strong>.
	</p><div class="example"><a name="id381721"></a><p class="title"><b>Example 3.2. Generating a Report With lr_log2report</b></p><div class="example-contents"><p>This is the way to generate a report in the text
	    output format for a log file taken from an <span class="productname">Apache</span>&#8482; log
	    server.
	  </p><pre class="screen">
<code class="prompt">$ </code>lr_log2report combined /var/log/apache/access_log ~/report.txt
          </pre></div></div><br class="example-break"><div class="section" title="Selecting Output Format"><div class="titlepage"><div><div><h3 class="title"><a name="id381748"></a>Selecting Output Format</h3></div></div></div><p>Another output format than the default one (usually
	    text) can be selected by using the <code class="option">--ouput</code>
	    switch with the <span class="command"><strong>lr_log2report</strong></span> command.
	  </p><div class="example"><a name="id381766"></a><p class="title"><b>Example 3.3. Generating A HTML Report</b></p><div class="example-contents"><p>To generate a HTML report from the same log file
	      as above, you would use the following command:
	    </p><pre class="screen">
<code class="prompt">$ </code>lr_log2report --output html combined/var/log/apache/access_log apache_report
	    </pre><p>This will create a <code class="filename">apache_report</code> containing
              the report. If the <span class="command"><strong>pl</strong></span> (that is the
              <span class="application">Ploticus</span> command) is
              available, the HTML report will contain nice charts.
            </p></div></div><br class="example-break"><p>You can list the output-formats available on your
            system by running <strong class="userinput"><code>lr_xml2report --help
              output-formats</code></strong>.
          </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Using A Responder </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Merging Reports</td></tr></table></div></body></html>