I import with ELK logs from many active directory controllers. I want to match IP from that logs with a personal file.
For example 10.12.x.x => research floor 1 or 10.15.x.x -> labs floor 6
I've found that I must use a filter in my logstash.conf
filter {
mutate {
remove_field => [ "@version", "@timestamp" ]
}
geoip {
source => "event_data.IpAddress" <--- the field containing the IP string
}
}
So where to put my source file and how to build it (csv or something else ????)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.