Splunk Search

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

KeithH
Communicator

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
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!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...