logparser


NAME

Logparser - Client application for Peep: The Network Auralizer.


SYNOPSIS

Logparser is a client for Peep which monitors log files such as

  /var/log/messages
  /var/log/maillog
  /var/log/httpd/access_log

etc. and initiates Peep events based on matching regular expressions.

Events are broadcast to the Peep server, peepd, which then translates the event into an aural signal such as a chirping bird or laughing monkey.

This application is a part of Peep and requires that the Peep Perl modules have been installed.


OPTIONS

logparser supports the following command-line options:

    --events=[STRING]     The string of events to scan for. For more information,
                          consult the Peep configuration file documentation
    --config=[PATH]       Path to the configuration file to use
    --logfile=[PATH]      The path of the logfiles to scan, delimited by ','
    --debug=[NUMBER]      Enable debugging. (Def:  0)
    --nodaemon            Do not run in daemon mode
    --pidfile=[PATH]      The file to write the pid out to (Def: /var/run/logparser.pid)
    --output=[PATH]       The file to log logparser output to (Def: stderr)
    --noautodiscovery     Disables autodiscovery and enables the server and port options
    --server=[HOST]       The host (or IP address) to connect to
    --port=[PORT NO]      The port to use
    --silent              Does not produce output.  To eliminate all output,
                          either the debug option should be set to 0 or
                          an output file should be specified.
    --help                Prints a simple help message


EXAMPLES

  logparser
  logparser --nodaemon --noautodiscovery --server=localhost --port=2000
  logparser --logfile=/usr/local/etc/peep.conf --debug=9
  logparser --debug=7 --output=/var/log/peepd/logparser.log


AUTHOR

Michael Gilfix <mgilfix@eecs.tufts.edu> Copyright (C) 2000


SEE ALSO

perl(1), peepd(1), Net::Peep::Client::Log, peepd.

http://peep.sourceforge.net

 logparser