Splunk Search

Search for logs which are NOT key value

daniel333
Builder

Does anyone have a data curation search that I snag? Looking for logs and values which are not currently done in key values.

Tags (3)
0 Karma

krish3
Contributor

Did you try...

 your search ... key!=value

This should give the events which doesnt have the values for the key specified above.

0 Karma

muebel
SplunkTrust
SplunkTrust

Hi daniel333, Check out the Patterns tab : http://docs.splunk.com/Documentation/Splunk/6.3.0/Search/Identifyeventpatterns

Search on a particular source or sourcetype, and it will give you an idea of what kind of events are in that data. At that point you might be able to pick out fields that you can build extractions on.

Let me know if this helps!

0 Karma
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 ...