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

23 lines
555 B
Plaintext

# Author: Justin Henderson
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
# Email: justin@hasecuritysolution.com
# Last Update: 12/9/2016
filter {
if "firewall" in [tags] and "test_data" not in [tags] {
mutate {
##add_tag => [ "conf_file_9200"]
}
}
}
output {
if "firewall" in [tags] and "test_data" not in [tags] {
# stdout { codec => rubydebug }
elasticsearch {
hosts => elasticsearch
index => "logstash-firewall-%{+YYYY.MM.dd}"
template => "/logstash-template.json"
}
}
}