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
--logfile=[PATH] The path of the logfiles to scan, delimited by ','
In addition, the following options are common to all Peep clients:
--config=[PATH] Path to the configuration file to use
--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 --help
logparser --nodaemon --noautodiscovery --server=localhost --port=2000
logparser --config=/usr/local/etc/peep.conf --debug=9
logparser --logfile=/var/log/messages --debug=9
logparser --output=/var/log/peepd/logparser.log --debug=7
AUTHOR
Michael Gilfix <mgilfix@eecs.tufts.edu> Copyright (C) 2000
Collin Starkweather <collin.starkweather@colorado.edu>
SEE ALSO
perl(1), peepd(1), Net::Peep::Client::Logparser, peepd.
http://peep.sourceforge.net