Getting Data In

Has anyone seen Java code that can parse and interpret Splunk time modifiers?

wegscd
Contributor

not a Splunk problem, but this community is most likely to have an answer....

I have a non-Splunk related utility we're putting together, and we need to specify start and end times. It turns out the use cases are pretty much the same as they are for Splunk time modifiers... so...

Has anyone seen Java code that can parse and interpret Splunk time modifiers?

0 Karma

mreynov_splunk
Splunk Employee
Splunk Employee

Maybe you can find something here: http://dev.splunk.com/java

0 Karma

wegscd
Contributor

I was hoping so, but the client libraries don't seem to do any parsing; it appears that they just pass them along to Splunk unchanged....

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...