mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-25 14:07:49 +02:00
29 lines
699 B
Plaintext
29 lines
699 B
Plaintext
input {
|
|
beats {
|
|
port => "5044"
|
|
ssl => true
|
|
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 "ids" in [tags] {
|
|
mutate {
|
|
rename => { "host" => "beat_host" }
|
|
remove_tag => ["beat"]
|
|
copy => {"%{beat[name]}" => "sensor_name"}
|
|
copy => {"%{beat[name]}" => "syslog-host_from"}
|
|
}
|
|
}
|
|
if "bro" in [tags] {
|
|
mutate {
|
|
rename => { "host" => "beat_host" }
|
|
remove_tag => ["beat"]
|
|
copy => {"%{beat[name]}" => "sensor_name"}
|
|
copy => {"%{beat[name]}" => "syslog-host_from"}
|
|
}
|
|
}
|
|
}
|