Deployment Architecture

Splunk bucket Time Span

SplunkNewbie18
New Member

Hi,

I have a query below...

main search | bucket _time span=1d

How can i view what's the time in the bucket to test my search string if its the correct time range has been picked up?

Thanks!

Tags (3)
0 Karma

HiroshiSatoh
Champion

Format?

Display,value
2018-06-11,1528642800
2018-06-10,1528556400

First and last "_time"?

If you only search
(your search)|stats max(_time) as max_time,min(_time) as min_time
If you want to add it as a field
(your search)|eventstats max(_time) as max_time,min(_time) as min_time
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!

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...