Splunk Search

How to extract logs for different ip areas?

ibra75
Explorer

Hello,
I need to extract logs for different ip area(more than 40 area system rooms and datacenter),
example : dst=a.b.c.d/24 ,dst=a.b.c.d/16,dst=a.b.c.d/23.....
how can i specify this different area address in one search?
thanks.

Tags (4)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You can chain an arbitrary number of values using OR:

dst=a.b.c.d/24 OR dst=a.b.c.d/16 OR dst=a.b.c.d/23 OR ...
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...