NAME

xas-logs - monitor and parse XAS log files

SYNOPSIS

xas-logs [--help] [--debug] [--manual] [--version]

options:
  --filename     name of log file to monitor
  --spooldir     the directory tp write the messages too
  --ignore       ignore log entries older then these days
  --process      name of the process that created file
  --help         outputs simple help text
  --manual       outputs the procedures manual
  --version      outputs the apps version
  --debug        toogles debugging output
  --alerts       toogles alert notifications
  --log-file     name of the log file 
  --log-type     toggles the log type
  --log-facility changes the log facility

DESCRIPTION

This procedure will monitor and parse one log file. The resulting message is written to a spool directory. Where the spooler will pick it up and send it to the message queue server.

OPTIONS AND ARGUMENTS

--filename

The name of the file to monitor and parse.

--spooldir

The directory to write the messages too.

--ignore

Ignore any log lines older then these days.

--process

That name of the process that create the file.

--help

Displays a simple help message.

--debug

Turns on debbuging.

--alerts

Togggles alert notification.

--log-type

Toggles the log type. Defaults to 'console'. Can be 'console', 'file', 'json' or 'syslog'.

--log-facility

Toggles the log facilty. Defaults to 'local6'. This follows syslog convention.

--log-file

Optional logfile. When specified the log type is set to 'file'.

--manual

The complete documentation.

--version

Prints out the apps version

EXIT CODES

0 - success
1 - failure

SEE ALSO

XAS::Apps::Logmon::XAS::Process
XAS::Logmon
XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.