Deployment Architecture

Given a bucket name of db_1274129994_1273525194_0 what is the span of the events within this bucket?

the_wolverine
Champion

I have the following bucket: $SPLUNK_HOME/var/lib/splunk/defaultdb/db/db_1274129994_1273525194_0

Is there someway to calculate the date span of the events in this bucket?

Tags (1)
1 Solution

the_wolverine
Champion

You can use a site like http://www.epochconverter.com/ to convert epochtimes to "human readable" format.

There are 3 parts to the bucket name:

db_latesttime_earliesttime_idnum

For a bucket named db_1274129994_1273525194_0 you can plug-in the latesttime and earliesttime values to figure out the date/time range of the events within that bucket.

The events in this bucket fall between Mon, 10 May 2010 20:59:54 GMT and Mon, 17 May 2010 20:59:54 GMT.

View solution in original post

the_wolverine
Champion

You can use a site like http://www.epochconverter.com/ to convert epochtimes to "human readable" format.

There are 3 parts to the bucket name:

db_latesttime_earliesttime_idnum

For a bucket named db_1274129994_1273525194_0 you can plug-in the latesttime and earliesttime values to figure out the date/time range of the events within that bucket.

The events in this bucket fall between Mon, 10 May 2010 20:59:54 GMT and Mon, 17 May 2010 20:59:54 GMT.

smisplunk
Path Finder

Rather than taking the time to navigate to a site, this command line perl snippet will translate epoch time to your local time zone: "perl -e 'print scalar localtime '".

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...