mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Tag & initial JSON decode for osquery logs
This commit is contained in:
@@ -25,5 +25,16 @@ filter {
|
|||||||
add_field => { "syslog-host_from" => "%{[beat][name]}" }
|
add_field => { "syslog-host_from" => "%{[beat][name]}" }
|
||||||
remove_field => [ "beat", "prospector", "input", "offset" ]
|
remove_field => [ "beat", "prospector", "input", "offset" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [type] == "osquery" {
|
||||||
|
mutate {
|
||||||
|
remove_tag => ["beat"]
|
||||||
|
add_tag => ["osquery"]
|
||||||
|
}
|
||||||
|
json {
|
||||||
|
source => "message"
|
||||||
|
target => "osquery"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user