ojob.io/raid/logParser2

Usage

ojob ojob.io/raid/logParser2 file=logs_12345.ndjson.gz folder=/some/path filter=field1:abc,field2:xyz notfilter=field1:abc,field2:xyz type=AuditLogger icase=false inception=true injson=true alltypes=true 

Description

Reads a ndjson logs file and converts it to readable human logs (version 20221212a)

Expects

Name Description
file The file path to the ndjson log files (either .ndjson or .ndjson.gz)
folder The folder path to the ndjson log files (either .ndjson or .ndjson.gz). Will convert one by one into .log files.
filter Comma separated pairs of field value filters (for example: "field1:abc,field2:xyz")
notfilter Comma separated pairs of field value not filters (for example: "field1:abc,field2:xyz")
type If you want to specify any longer not included by default (for example: AuditLogger)
icase If icase=false then filters will be case sensitive (default: icase=true)
inception If inception=true it will handle cases where JSON is included in the message field (default: inception=true)
injson Boolean to determine if output should be in JSON format
alltypes Boolean to determine if all types should be output