Splunk Enterprise

Datepicker with Submit button

alvesri
Engager

Hi guys,

I don't know if you already done this, but could you please help ?
I'm trying to create a new and simple datepicker where you just choose a date and next click in a button "Submit button" and show me the results. 
I already created the datepicker but it dosen't do anything. 

I'm trying, and tried to follow one similar example here but it isn't the same.

alvesri_0-1711962188898.png

 

Labels (1)
0 Karma

KendallW
Contributor

Hi @alvesri It sounds like the token from the date picker is not plugged in to any searches on the dashboard. 

The searches should look something like this: 

<search>
  <query>index=someindex sourcetype=somesourcetype</query>
              <earliest>$time_tok$</earliest>
              <latest>now</latest>
</search>


Could you share the dashboard's XML?

0 Karma

alvesri
Engager

Hi, thanks for the reply,

But meanwhile I found another solution, I will try this solution next to see if it works.

 

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