Created
May 30, 2022 14:53
-
-
Save janstarke/6c0d0b91ecbde11f85ff970bda82a1f8 to your computer and use it in GitHub Desktop.
lnav format for evtx timelines, created with ` evtx2bodyfile`, `mactime2` and ` jq`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://lnav.org/schemas/format-v1.schema.json", | |
"evtx_timeline": { | |
"title": "Windows EVTX timeline", | |
"file-pattern": "evtx.*\\.json(\\.gz)?", | |
"json": true, | |
"line-format": [ | |
{"field": "ts"}, | |
"|", | |
{"field": "event_id", "min-width": 5, "max-width": 5, "align": "right"}, | |
"|", | |
{"field": "channel", "max-width": 32, "overflow": "dot-dot"}, | |
"|" , | |
{"field": "data", "overflow": "truncate"} | |
], | |
"timestamp-field": "ts", | |
"timestamp-format": ["%FT%T%z"], | |
"value": { | |
"channel": { | |
"kind": "string" | |
}, | |
"event_id": { | |
"kind": "integer" | |
}, | |
"data": { | |
"kind": "json" | |
} | |
}, | |
"body-field": "event", | |
"opid-field": "event_id", | |
"module-field": "channel", | |
"multiline": false, | |
"hide-extra": false, | |
"ordered-by-time": true, | |
"convert-to-local-time": false, | |
"highlights": { | |
"ipv4": { | |
"pattern": "(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", | |
"color": "yellow" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment