Splunk Search

Return tag pair if tag contains any value

rizwan0683
Path Finder

I would like to return all messages that contains tag 6410. Currently the below will return all messages even if they do not contain tag 6410

index=gmrt_ett sourcetype=pubhub_emea TracingIncomingMessage "ET_OMS" | search "6401=POV"
| extract pairdelim=";" kvdelim="\=" clean_keys=false 
| dedup _raw  
| searcg 6410=(?.*)
| table 11,6410
Tags (1)
0 Karma

rizwan0683
Path Finder

This will do it if anyone needs, simplere than I thought

 index=gmrt_ett sourcetype=pubhub_emea TracingIncomingMessage "ET_OMS" | search "6401=POV"
 | extract pairdelim=";" kvdelim="\=" clean_keys=false 
 | dedup _raw  
 | search 6410=*
 | table 11,6410
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...