Splunk Search

Why is Splunk giving different result when searching on _bkt field?

bhavikbhalodia
Path Finder

While running below search I am not getting any events:

index=main_vulnerability_database sourcetype=vulnerability_overview _bkt="main_vulnerability_database~0~FB1A6C9D-87F2-4A38-B420-94F2171CE493" _cd=0:1015

 

But while adding search command I am getting events:

index=main_vulnerability_database sourcetype=vulnerability_overview

| search _bkt="main_vulnerability_database~0~FB1A6C9D-87F2-4A38-B420-94F2171CE493" _cd=0:1015

 

Ideally both should give same results.  Looking for reason why it is happening.

Tags (3)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

if I recall right splunk is not supporting to use (most) _xyz fields on base search. Some of those works with separate search/where command. Also some of those needs to copy to another fields to use/show on results (e.g. _indextime).

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...