tinydns2dlf(1) convert tinydns logs, as created by multilog, to dlf

SYNOPSIS

tinydns2dlf

DESCRIPTION

This script converts each line in a tinydns(1) query log, with timestamps as created by multilog(1) to a dns dlf record. tinydns is part of djbdns. multilog is part of daemontools.

Logging data is printed automatically by tinydns. A typical line in a log file would look like this:

 @400000003e67eeb414752ccc 7f000001:eb9f:80bd + 0001 www.slashdot.org

EXAMPLES

To process a log as produced by tinydns:

 $ tai64nfraq < current | tinydns2dlf

tinydns2dlf will be rarely used on its own, but is more likely called by lr_log2report:

 $ lr_log2report tinydns < /service/tinydns/log/main/current

VERSION

$Id: tinydns2dlf.in,v 1.8 2006/07/23 13:16:33 vanbaal Exp $

COPYRIGHT

Copyright (C) 2003 Christopher Boumenot

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.

AUTHOR

Christopher Boumenot