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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...