Splunk Search

Show only events WITHOUT field

landzaat
Explorer

Is there a way to show events only if they do not contain a specified field. E.g. 40% of my selected events contain a field named Action. I need to access the 60% of events that do not contain the Action field.

Tags (1)
1 Solution

Lowell
Super Champion

Simply add this to your search:

NOT Action="*"

Here is some helpful related discussion: http://answers.splunk.com/questions/310/how-can-i-search-for-a-missing-field

View solution in original post

Lowell
Super Champion

Simply add this to your search:

NOT Action="*"

Here is some helpful related discussion: http://answers.splunk.com/questions/310/how-can-i-search-for-a-missing-field

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...