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

23 lines
734 B
Plaintext

# Author: Justin Henderson
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
# Email: justin@hasecuritysolution.com
# Update by Wes Lambert
# Last Update: 12/14/2017
#
# This conf file is based on accepting logs for snmp.log from Bro systems
filter {
if [type] == "bro_snmp" {
# This is the initial parsing of the log
mutate {
gsub => [ "message", "[\"']", "" ]
}
csv {
columns => ["timestamp","uid","source_ip","source_port","destination_ip","destination_port","duration","version","community","get_requests","get_bulk_requests","get_responses","set_requests","display_string","up_since"]
separator => " "
}
mutate {
#add_tag => [ "conf_file_1113"]
}
}
}