Getting Data In

What is the correct earliest_time format for searches when programmatically querying Splunk?

the_wolverine
Champion

I'm using Python SDK (or some other client) to query Splunk and its not accepting my date format. What is the correct format to specify for earliest_time?

1 Solution

the_wolverine
Champion

earliest_time = YYYY-MM-DDTHH:MM:SS

Example: earliest_time = 2017-03-14T10:0:0

View solution in original post

cmerriman
Super Champion

here is a doc about it:

http://dev.splunk.com/view/SP-CAAAEE5#oneshotjo

"earliest_time": "2017-03-14T12:00:00.000-07:00"
0 Karma

the_wolverine
Champion

earliest_time = YYYY-MM-DDTHH:MM:SS

Example: earliest_time = 2017-03-14T10:0:0

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...