Splunk Search

Why is Search not working but search for NOT != does work?

KeithH
Path Finder

Hi All,

I am doing a very simple search over All Time of: 

 

 

 

index=index=orafin sourcetype=ORAFIN2

 

 

 

It returns 26 rows and, as this shows, all have a transaction_type value:

KeithH_0-1649368154063.png

If I then select D it adds that to the search but retuns NO rows:

KeithH_1-1649368275778.png

 

Oddly if I change the search to a double negative  I get my data:

KeithH_2-1649368798565.png

Whats going on?

Hoping to be enlightened,

Keith

Labels (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

Please refer to my answer here - https://community.splunk.com/t5/Splunk-Search/Simple-search-not-working-but-search-for-NOT-does-work...

---
Consider accepting/upvoting this answer if it is helpful!!!

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[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 ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...