Splunk Search

Invalid Earliest_time in Splunk dashboard

shaileshv02
Explorer

I am trying to make a dashboard with a custom time by editing the XML and giving the time in tag. I have tried all possible time formats as given in the document but everytime i am getting an error "Invalid earliest_time".
I have given the sample of the xml below.





Search String
Dashboard Title
5/11/2013:20:00:00
12/11/2013:20:00:00


Any help is appreciated.

Thanks in Advance.

sklass
Path Finder

In poking through the returned data - when it did work it looks like the format should be.

YYYY-MM-DDTHH:MM:SS

Example: 2015-05-02T07:30:00

You can also append your timezone at the end as well. Really this is way harder than it should be.

0 Karma

strive
Influencer

In XML You can specify the time as relative time or absolute time. For absolute time it should be in epoch format.

Check this link. http://docs.splunk.com/Documentation/Splunk/6.1.2/Viz/PanelreferenceforSimplifiedXML#earliestTime

For relative time modifiers check section Specify relative time ranges in your search in http://docs.splunk.com/Documentation/Splunk/6.1.2/Search/Specifytimemodifiersinyoursearch

0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...