python, log analyzer for MarkLogic
To get the error log and app server access and request logs extracted together.
Output to tsv and then whatever you like.
Also some basic plots and extracts.
main test file; run for options
Extracts to stdout, errors/warnings to stderr
plot numeric values in a stack, per node
module for error-log parsing
script to run the tests in lineparse.py
expected output of test-lineparse.py
jupyter, basic manipulations of the data
example config files; fix for your data
gives node and path. path can be a file or a dir (includes all sub dirs/files)
"files": [
{ "node": "002", "path": "foo" }
],
if no node name given, 'X' is used.
"text": true,
whether to retain text. default false.
"line-limit": 4
limit for number of lines to read from a file. default is sys.maxsize.
"debug": ["unclassified","file-stats","extract"],
- config: config dumped before run
- file-reads: files read
- file-stats: overall stats on input files
- unclassified: unclassified lines
- extract: extraction debugging
output shoud go to stderr