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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...