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
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...