Skip to content

clin045/opeNPSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opeNPSnake

Parses NPS logs and generates useful reports

It may also be useful for other XML-like formatted logs.

Usage

Invoke opeNPSnake from the command line:

$ python opeNPSnake.py

Help

               ,   .,---.,---.          |         
,---.,---.,---.|\  ||---'`---.,---.,---.|__/ ,---.
|   ||   ||---'| \ ||        ||   |,---||  \ |---'
`---'|---'`---'`  `'`    `---'`   '`---^`   ``---'
     |

Parses NPS logs and generates useful reports

Usage: python opeNPSnake.py -i "filepath" [options]

Options:
    -h Prints out this help file
    -i Input file/directory (YOU MUST QUOTE THE FILE PATH)
    -o Output directory (Defaults to the current working directory)
    -P Prints list of log parameterss
    -p Select parameters for parsing [-p arg1:filter1,arg2:filter2:filter3,arg3]
    -c Specifies config file (see sample.conf)
    -t Specify the time frame [-t "* * * * *,* * * * *"] Year, Month, Day, Hour, Minute. * is a wildcard.
    -H Generates output as a pretty HTML document (default)
    -C Generates output as a CSV file
    -T Generates output as a TSV file

About

Parses NPS logs and generates useful reports

Resources

License

Stars

Watchers

Forks

Packages

No packages published