Changeset e241e2a12f7135a86114491b06c61bfce547f401 in xas-logmon


Ignore:
Timestamp:
12/22/15 14:56:35 (3 years ago)
Author:
Kevin L. Esteb <kevin@…>
Branches:
master
Children:
d729a05f6c08c5914cfe4cfcea2c5d0b1a7d4318
Parents:
4e013ac79b13b19b0ee17a381d9f5236b3051088
git-author:
Kevin L. Esteb <kevin@…> (12/22/15 14:56:35)
git-committer:
Kevin L. Esteb <kevin@…> (12/22/15 14:56:35)
Message:

updating documentation

Location:
trunk/lib/XAS
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/XAS/Apps/Logmon/Monitor.pm

    r9fe8156b53dfebd170ae701a7f8f0d6d483392bb re241e2a12f7135a86114491b06c61bfce547f401  
    130130 use XAS::Apps::Logmon::Monitor; 
    131131 
     132 my $app = XAS::Apps::Logmon::Monitor->new( 
     133     -throws => 'xas-logmon' 
     134 ); 
     135 
     136 exit $app->run; 
     137 
    132138=head1 DESCRIPTION 
    133139 
  • trunk/lib/XAS/Logmon.pm

    r9fe8156b53dfebd170ae701a7f8f0d6d483392bb re241e2a12f7135a86114491b06c61bfce547f401  
    2121gathering operationation. Even thou XAS can write to syslog or create JSON  
    2222formatted log messages and spool them directly, these modules provide a  
    23 framework that can be expanded to include other type of files. 
     23framework that can be expanded to include other types of files. 
    2424 
    2525The design of this system is a monitoring process that spawns background jobs 
  • trunk/lib/XAS/Logmon/Filter/Merge.pm

    r71b41918e7074bbc7a6c4c165197e3709e7a086b re241e2a12f7135a86114491b06c61bfce547f401  
    8080=over 4 
    8181 
    82 =item L<XAS::Logmon> 
     82=item L<XAS::Logmon|XAS::Logmon> 
    8383 
    8484=item L<XAS|XAS> 
  • trunk/lib/XAS/Logmon/Format/Logstash.pm

    r9fe8156b53dfebd170ae701a7f8f0d6d483392bb re241e2a12f7135a86114491b06c61bfce547f401  
    9191=head1 NAME 
    9292 
    93 XAS::Log::Formatter::Logstash - A formatting class for log file handling 
     93XAS::Log::Format::Logstash - A formatting class for log file handling 
    9494 
    9595=head1 SYNOPSIS 
    9696 
    97  use XAS::Log::Formatter::Logstash; 
     97 use XAS::Log::Format::Logstash; 
    9898 
    99  my $formatter = XAS::Log::Formatter::Logstash->new(); 
     99 my $formatter = XAS::Log::Format::Logstash->new(); 
    100100 my $event = $formatter->format($data); 
    101101 
    102102=head1 DESCRIPTION 
    103103 
    104 This package will take a hash and format it into a json_event for logstash. 
     104This package will take a hash and format it into a json_event for  
     105L<Logstash|https://www.elastic.co/products/logstash>. 
    105106 
    106107=head1 METHODS 
     
    109110 
    110111This method will add the key fields, convert the @timestamp field into a 
    111 UTC date while formating the datetime field into a local date. It returns 
     112UTC date while formatting the datetime field into a local date. It returns 
    112113a json_event string. 
    113114 
    114115=over 4 
    115116 
    116 =item b<$data> 
     117=item B<$data> 
    117118 
    118119The hash to format. 
  • trunk/lib/XAS/Logmon/Parser/XAS/Logs.pm

    r9fe8156b53dfebd170ae701a7f8f0d6d483392bb re241e2a12f7135a86114491b06c61bfce547f401  
    103103This method does the actual parsing. When done it will remove the trailing 
    104104new line from the "message" field and convert the "datetime" field into a 
    105 DateTime object. It returns a hash with the following fields: 
     105L<DateTime|https://metacpan.org/pod/DateTime> object. It returns a hash  
     106with the following fields: 
    106107 
    107108  datetime level message 
     
    111112=over 4 
    112113 
    113 =item L<XAS::Log|XAS::Logmon> 
     114=item L<XAS::Logmon|XAS::Logmon> 
    114115 
    115116=item L<XAS|XAS> 
Note: See TracChangeset for help on using the changeset viewer.