From a75238bc3fe8a654b010606657e342a05cd5227e Mon Sep 17 00:00:00 2001 From: Josh Brower Date: Wed, 15 Sep 2021 14:13:16 -0400 Subject: [PATCH] so-import-evtx - fix ingest formatting --- salt/elasticsearch/files/ingest/import.wel | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/salt/elasticsearch/files/ingest/import.wel b/salt/elasticsearch/files/ingest/import.wel index 771d47b5d..e75098f8f 100644 --- a/salt/elasticsearch/files/ingest/import.wel +++ b/salt/elasticsearch/files/ingest/import.wel @@ -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" } } ] } \ No newline at end of file