Files
securityonion/salt/elasticsearch/files/ingest/import.wel
2021-08-25 15:17:19 -04:00

15 lines
642 B
Plaintext

{
"description" : "import.wel",
"processors" : [
{ "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"
}
},
{ "pipeline": { "name": "common" } }
]
}