Splunk Search

How do redirect my web page to the Splunk search page? Getting "Invalid earliest_time"

snabel
Path Finder

i want to redirect my web page to splunk search page

I'm using this URL:

http://x.x.x.x:xxxx/en-US/app/xxxx/search?earliest=05/11/2015:16:44:28&latest=05/11/2015:16:46:15&q=...

But I keep getting "Invalid earliest_time".

When I perform the search in Splunk search page, I see this URL in the browser:
http://x.x.x.x:xxxx/en-US/app/xxxx/search?earliest=1431351868&latest=1431351975&q=search%20YYG3XVJEU...

My question is, how does Splunk transform this earliest=05/11/2015:16:44:28 To earliest=1431351868?
I'm working with Java. I tried sending the date long value in the request, but still got the same error...

Thanks,

0 Karma
1 Solution
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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