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!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...