mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
26 lines
1.3 KiB
Plaintext
26 lines
1.3 KiB
Plaintext
{
|
|
"description" : "strelka",
|
|
"processors" : [
|
|
{ "json": { "field": "message", "target_field": "message2", "ignore_failure": true } },
|
|
{ "rename": { "field": "message2.file", "target_field": "file", "ignore_missing": true } },
|
|
{ "rename": { "field": "message2.scan", "target_field": "scan", "ignore_missing": true } },
|
|
{ "rename": { "field": "message2.request", "target_field": "request", "ignore_missing": true } },
|
|
{ "rename": { "field": "scan.hash", "target_field": "hash", "ignore_missing": true } },
|
|
{ "grok": { "field": "request.attributes.filename", "patterns": ["-%{WORD:log.id.fuid}-"] } },
|
|
{ "foreach":
|
|
{
|
|
"if": "ctx.scan?.exiftool?.keys !=null",
|
|
"field": "scan.exiftool.keys",
|
|
"processor":{
|
|
"set": {
|
|
"field": "scan.exiftool.{{_ingest._value.key}}",
|
|
"value": "{{_ingest._value.value}}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{ "remove": { "field": ["host", "path"], "ignore_missing": true } },
|
|
{ "pipeline": { "name": "common" } }
|
|
]
|
|
}
|