SIDEBAR OPTIONS

Page tree

MicroSpunk LLC

Skip to end of metadata
Go to start of metadata

--------------------------------------------------------

Syslog Parser Utility

Version: 7.7.00

Copyright (c) 2020 Timothy Ste. Marie, Microspunk LLC

--------------------------------------------------------

Usage: ./syslogparser -p <path to Syslog log files> -b <Begin Date> -e <End Date>

       [-f <ip address filter>,<ip address filter>,<ip address filter>,etc.]

       If you put spaces between the ip addresses then you will need to enclose

       the list in a single set of quotes.

       EX: '192.168.1.1, 192.168.1.2, 192.168.1.3'

       [-r #]

       [-m 'text filter']

       [-x 'text filter']


OPTIONS: Arguments that are used by Syslog Parser Utility

   -b and -e MUST be supplied at a minimum.

   -p, if not supplied, will look in the following location:

       /var/log/tsm/nethosts/

   -r #, if not supplied, will SHOW ALL SUMMARY TOTALS.


   -h, --help    Show this help information. [optional]

   -d, --debug   Show debug output           [optional]

   -p, --path    Path to Syslog log files    [optional]

   -b            Begin Date for log files.

   -e            End Date for log files.


   -m            <Text to filter upon in the syslog logs>

   -x            <Text to exclude upon in the syslog logs>


   -r 0          Do NOT show Summary Totals.  [optional]

   -r 3          ONLY Show Summary Totals.         [optional]

   -r 4          Show Summary Totals.    [optional]


Summary totals are output in the following format:

--------------------------------------------------

Host Summary

::HS:: Hostname, Total Items


Date Summary

::DS:: Date Timestamp, Total Items


Hour of Day Summary

::HOD:: Date Timestamp, Total Items


Day of Week Summary

::DOW:: Date Timestamp, Total Items


Week of Month Summary

::WOM:: Date Timestamp, Total Items


  • No labels