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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...