Splunk Search

Can I specify earliest time including subseconds?

mslvrstn
Communicator

Is it possible to specify earliest= at subsecond granularity?

Thanks for your help.

Tags (1)
0 Karma
1 Solution

Stephen_Sorkin
Splunk Employee
Splunk Employee

Yes.

[splunk@MrT ~]$ splunk/bin/splunk search 'index=_internal earliest=1299878273 latest=1299878274 | stats count'
INFO: Your timerange was substituted based on your search string
count
-----
   46

[splunk@MrT ~]$ splunk/bin/splunk search 'index=_internal earliest=1299878273.651 latest=1299878274 | stats count'
INFO: Your timerange was substituted based on your search string
count
-----
    4

View solution in original post

Stephen_Sorkin
Splunk Employee
Splunk Employee

Yes.

[splunk@MrT ~]$ splunk/bin/splunk search 'index=_internal earliest=1299878273 latest=1299878274 | stats count'
INFO: Your timerange was substituted based on your search string
count
-----
   46

[splunk@MrT ~]$ splunk/bin/splunk search 'index=_internal earliest=1299878273.651 latest=1299878274 | stats count'
INFO: Your timerange was substituted based on your search string
count
-----
    4

mslvrstn
Communicator

Awesome! Thanks!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...