Tag & initial JSON decode for osquery logs

This commit is contained in:
Josh Brower
2018-12-28 13:56:06 -05:00
committed by GitHub
parent 1917b469ec
commit fff13d5861

View File

@@ -25,5 +25,16 @@ filter {
add_field => { "syslog-host_from" => "%{[beat][name]}" }
remove_field => [ "beat", "prospector", "input", "offset" ]
}
if [type] == "osquery" {
mutate {
remove_tag => ["beat"]
add_tag => ["osquery"]
}
json {
source => "message"
target => "osquery"
}
}
}