/usr/share/doc/lire/user-manual/ch03s02.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 38 39 40 41 42 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Using A Responder</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="ch03.html" title="Chapter 3. Running Lire"><link rel="next" href="ch03s03.html" title="Generating A Report From A Log File"></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">Using A Responder</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03.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="ch03s03.html">Next</a></td></tr></table><hr></div><div class="section" title="Using A Responder"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect:using-responder"></a>Using A Responder</h2></div></div></div><p>The easiest way to generate a report from your log file
is to send your log file to a responder. The report
will be sent to you by email to the address specified in the
<em class="structfield"><code>Reply-To:</code></em> or
<em class="structfield"><code>From:</code></em> header. To use a responder,
you only need your standard mailer.
</p><p>To save bandwidth, responders accept log files compressed
using <span class="command"><strong>gzip</strong></span>, <span class="command"><strong>compress</strong></span>
or <span class="command"><strong>zip</strong></span>. The log file can be sent in the
email body or in a MIME attachment.
</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Although any mailer will do, you should take care
of the following when sending your log file:
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Make sure that your mailer won't insert new
lines to wrap long log lines.
</p></li><li class="listitem"><p>Make sure that your mailer sets the standard MIME headers
when using transfer encoding.
</p></li><li class="listitem"><p>When sending the log file as a MIME attachment,
make sure that there are no other attachments (such as
a signature) after the log file.
</p></li></ul></div><p>
</p></div><p>As a public service Stichting LogReport Foundation offers an online responder.
To use it, you just send your log file to the
appropriate responder for the log format you are using. The
email addresses available can be found at <a class="ulink" href="http://logreport.org/lire/or/" target="_top">http://logreport.org/lire/or/
</a>.
</p><div class="example"><a name="id381598"></a><p class="title"><b>Example 3.1. Sending a Log File For Processing To A Responder</b></p><div class="example-contents"><p>In this example, a bind8 query log file is
sent to the LogReport responder for processing. The
report will be sent back to the user who ran the
<span class="command"><strong>mail</strong></span> command.
</p><pre class="screen">
<code class="prompt">$ </code> mail -s "Bind8 Log" log@bind8-query.logreport.org < \
/var/log/query.log
</pre><p>To save bandwidth, please send big log files in compressed
format only. E.g., do:
</p><pre class="screen">
<code class="prompt">$ </code> mutt -s "`hostname` `date`" -a \
/var/log/apache/common.log.1.gz log@common.logreport.org < \
/dev/null
</pre></div></div><br class="example-break"><p>For more privacy, it is possible to send an anonymized
log to the responder. Consult <a class="xref" href="ch03s05.html" title="Sending Anonymized Log Files To A Responder">the section called “Sending Anonymized Log Files To A Responder”</a> for more
information.
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03.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="ch03s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 3. Running <span class="application">Lire</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Generating A Report From A Log File</td></tr></table></div></body></html>
|