The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XAS::Logmon - A set of procedures and modules to monitor files

DESCRIPTION

Monitoring and extracting information from log files is an important task. There is important operational data stored in those files. They detail the state of your operations. These modules would compliment a centralized syslog gathering operationation. Even thou XAS can write to syslog or create JSON formatted log messages and spool them directly, these modules provide a framework that can be expanded to include other types of files.

The design of this system is a monitoring process that spawns background jobs that do the actual work. Those background jobs are kept alive when file states change, such as file rotation or new file creation.

A multi-process system is simpler to design and keep alive. It follows the XAS philosophy of small, simple components, that do one thing well.

UTILITIES

This module provides the following utilities.

xas-logmon

This is procedure is used to spawn and monitor file monitoring processes. It reads a configuration file to determine which files to monitor.

The configuration file is documented here: XAS::Apps::Logmon::Monitor

xas-logmon --help

This will display a brief help screen on command options.

xas-logmon --manual

This will display the utilities man page.

xas-logs

This procedure monitors XAS log files. It parses them and sends the results to a spool directory.

xas-logs --help

This will display a brief help screen on command options.

xas-logs --manual

This will display the utilities man page.

SEE ALSO

XAS::Docs::Logmon::Installation
XAS::Apps::Logmon::Monitor
XAS::Apps::Logmon::XAS::Process
XAS::Lib::Regexp::Log::XAS
XAS::Logmon::Filter::Merge
XAS::Logmon::Format::Logstash
XAS::Logmon::Input::File
XAS::Logmon::Input::Tail
XAS::Logmon::Input::Tail::Default
XAS::Logmon::Input::Tail::Linux
XAS::Logmon::Input::Tail::Win32
XAS::Logmon::Output::Spool
XAS::Logmon::Parser::XAS::Logs
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.