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

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...