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

22 lines
500 B
Plaintext

# Author: Justin Henderson
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
# Updated by: Doug Burks
# Last Update: 5/15/2017
filter {
if "syslog" in [tags] and "test_data" not in [tags] {
mutate {
##add_tag => [ "conf_file_9034"]
}
}
}
output {
if "syslog" in [tags] and "test_data" not in [tags] {
elasticsearch {
hosts => elasticsearch
index => "logstash-syslog-%{+YYYY.MM.dd}"
template => "/logstash-template.json"
}
}
}