so-import-evtx - fix ingest formatting

This commit is contained in:
Josh Brower
2021-09-15 14:13:16 -04:00
parent ac417867ed
commit a75238bc3f

View File

@@ -4,12 +4,7 @@
{ "remove": { "field": ["event.created","timestamp", "winlog.event_data.UtcTime", "event_record_id"], "ignore_failure": true } },
{ "pipeline": { "if": "ctx.winlog?.channel == 'Microsoft-Windows-Sysmon/Operational'", "name": "sysmon" } },
{ "pipeline": { "if": "ctx.winlog?.channel != 'Microsoft-Windows-Sysmon/Operational'", "name":"win.eventlogs" } },
{
"dissect": {
"field": "log.file.name",
"pattern" : "/tmp/%{import.id}.evtx"
}
},
{ "dissect": { "field": "log.file.name", "pattern" : "/tmp/%{import.id}.evtx" } },
{ "pipeline": { "name": "common" } }
]
}