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!

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 ...