Our logs contain IP address of the User and we have file which has list of IP range and corresponding location.
Kindly help with query which checks the IP range , the Ip address from log fall into and displays the corresponding location
You can use cidrmatch
to accomplish this or look over this answer below
https://answers.splunk.com/answers/305211/how-to-match-an-ip-address-from-a-lookup-table-of.html