Splunk Search

Firewall logs

rahul8777
Explorer

sourcetype=cp_log action!=Drop OR action!=Reject OR action!=dropped 

I  am socked ,when i am searching with above query in Splunk search for my checkpoint logs  .it showing me Drop traffic ,although i have clearly mentioned in query that i don't need Drop traffic(action!=Drop)

Kindly help me on this!

Labels (1)
0 Karma
1 Solution

rahul8777
Explorer
0 Karma

rahul8777
Explorer

Thanks kamlesh

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@rahul8777 

You have used OR operator for filter , If you want to exclude multiple terms or values you need to use AND operator,  like 

sourcetype=cp_log (action!=Drop AND action!=Reject AND action!=dropped )

 

Thanks
KV
▄︻̷̿┻̿═━一  😜

If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated. 

Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...