Will I be able to match my ip address to subnets ,i know we can use CIDR ,but I have around 800 subnets is there any way I can match the ip addresses with that using translate and CIDR together .
I want to match my source ip and destination ip , to the csv file which I have for 800 subnets with location details.
I'm pretty sure you can do this very easy.
lets's say you have a subnet 192.168.0.0-192.168.0.255 called Home.
You should have a field IPSource that reads the ip from the message.
then use an if in your output:
if "192.168.0.*" in [IPSource]{
subnet => "Home"
}
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.