save your list in a csv lookup in a column named src_ip and list your ip's
after that in your search you can then use:
[|inputlookup local_ips.csv] | top src_ip,dest_ip
this will translate to
(src_ip=10.10.0.0/16 OR src_ip=192.168.0.0/16 OR src_ip=128.131.0.0/16) | top src_ip,dest_ip
save your list in a csv lookup in a column named src_ip and list your ip's
after that in your search you can then use:
[|inputlookup local_ips.csv] | top src_ip,dest_ip
this will translate to
(src_ip=10.10.0.0/16 OR src_ip=192.168.0.0/16 OR src_ip=128.131.0.0/16) | top src_ip,dest_ip
Is there an option in the interface to define this?
Just create your csv and upload it via splunk lookup menu.
Also, you can you the app lookup editor to create it and maintain it.
P. S. What if I wanted to switch from local src_ip to dest_ip?
Would this work:
dest_ip=[| inputlookup local_ips.csv]
[|inputlookup local_ips.csv | rename src_ip AS dest_ip] | ...
Thanks again for all the help.
Thank you.