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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...