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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...