Hi Team,
Here is my logstash config file and would like to know that how do I put a filter for IP addresses? *.out can contain domains, URLs, IP addresses or hashes.
So as soon as logstash sees IP addresses geo data has to be created.
Can someone please guide me?
input {
file {
path => "/opt/output/*.out"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
filter {
csv {
separator => ","
columns => ["IOC","attack","Severity"]
}
}
output {
elasticsearch {
hosts => "http://172.xx.xx.xx:9200"
index => "logstash-iti-%{+YYYY.MM.dd}"
}
}
TIA
Blason R