Splunk Search

search cidr without using "src_ip OR dest_ip"?

jpreis
New Member

Is there a way to search a cidr notation without using "src_ip OR dest_ip"?
I have a bunch of ips i want to search for and would like to search for a bunch of them at once.

Tags (2)
0 Karma

mydog8it
Builder

If you don't use a field name the search command will interpret the CIDR as a string, it will not make a match. You must use a field name in the search, like src_ip or dest_ip.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...