mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
21 lines
825 B
Plaintext
21 lines
825 B
Plaintext
{
|
|
"description" : "syslog",
|
|
"processors" : [
|
|
{
|
|
"dissect": {
|
|
"field": "message",
|
|
"pattern" : "%{message}",
|
|
"on_failure": [ { "drop" : { } } ]
|
|
},
|
|
"remove": {
|
|
"field": [ "type", "agent" ],
|
|
"ignore_failure": true
|
|
}
|
|
},
|
|
{ "grok": { "field": "message", "patterns": ["<%{INT:syslog.priority}>%{DATA:syslog.timestamp} %{WORD:source.application}: %{GREEDYDATA:real_message}"], "ignore_failure": false } },
|
|
{ "set": { "if": "ctx.source?.application == 'filterlog'", "field": "dataset", "value": "firewall" } },
|
|
{ "pipeline": { "if": "ctx.dataset == 'firewall'", "name": "filterlog" } },
|
|
{ "pipeline": { "name": "common" } }
|
|
]
|
|
}
|