Splunk Cloud Platform

help with spl - ntp

iherb_0718
Path Finder

Looking for help with a splunk search syntax.

index=*

sourcetype=asa

I want to search for dest_port of 123 where the dest_ip does NOT equal 172.16.0.0/16 or 10.0.0.0/8

Basically I want to see dest_port of 123 where the dest_IP is a public IP and not any of my internal IP range.

Labels (1)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi @iherb_0718,

You can use below query;

index=* sourcetype=asa dest_port=123 dest_ip!="172.16.0.0/16" dest_ip!="10.0.0.0/8"

 

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @iherb_0718,

You can use below query;

index=* sourcetype=asa dest_port=123 dest_ip!="172.16.0.0/16" dest_ip!="10.0.0.0/8"

 

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...