mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 18:52:52 +01:00
24 lines
493 B
Plaintext
24 lines
493 B
Plaintext
input {
|
|
beats {
|
|
port => "5044"
|
|
ssl => false
|
|
ssl_certificate_authorities => ["/usr/share/filebeat/ca.crt"]
|
|
ssl_certificate => "/usr/share/logstash/filebeat.crt"
|
|
ssl_key => "/usr/share/logstash/filebeat.key"
|
|
tags => [ "beat" ]
|
|
}
|
|
}
|
|
filter {
|
|
if [type] == "osquery" {
|
|
mutate {
|
|
rename => { "host" => "beat_host" }
|
|
remove_tag => ["beat"]
|
|
add_tag => ["osquery"]
|
|
}
|
|
json {
|
|
source => "message"
|
|
target => "osquery"
|
|
}
|
|
}
|
|
}
|