Files
securityonion/salt/logstash/files/dynamic/9500_output_beats.conf
2018-08-28 09:30:59 -04:00

21 lines
408 B
Plaintext

# Author: Wes Lambert
# Last Update: 12/11/2017
filter {
if "beat" in [tags] {
mutate {
##add_tag => [ "conf_file_9000"]
}
}
}
output {
if "beat" in [tags] {
elasticsearch {
hosts => elasticsearch
index => "logstash-beats-%{+YYYY.MM.dd}"
template_name => "logstash-beats"
template => "/beats-template.json"
template_overwrite => true
}
}
}