Files
securityonion/salt/logstash/files/conf.d/9002_output_import.conf
2018-02-05 12:36:27 -05:00

21 lines
427 B
Plaintext

# Updated by: Doug Burks
# Last Update: 5/16/2017
filter {
if "import" in [tags] and "test_data" not in [tags] {
mutate {
##add_tag => [ "conf_file_9002"]
}
}
}
output {
if "import" in [tags] and "test_data" not in [tags] {
# stdout { codec => rubydebug }
elasticsearch {
hosts => elasticsearch
index => "logstash-import-%{+YYYY.MM.dd}"
template => "/logstash-template.json"
}
}
}