Dashboards & Visualizations

How to disable Time Picker, but add "From Date" and "To Date" inputs with time constraints to a dashboard?

ronak
Path Finder

Need

  • Disable Time picker
  • Add two prompts From_Date and To_Date
  • Add constraints to these prompts for example, from_date cannot be more than (Today - 15 days), To_Date cannot be more than from_date+2 days etc..

What steps I need to follow to achieve this?

thanks, ronak

0 Karma

markthompson
Builder

Right, Please see below;

To disable time picker: Click edit -> Edit panels -> push the x next to the timepicker

To add prompts, which I believe you mean 2 input fields, you can use the form elements and set tokens, i.e. $fromdate$

To add constraints, you could use a number field, and set a maximum number of 15, or alternatively, use a drop-down with -1d, -2d, -3d etc.

Hope this is what you're looking for, if not leave a comment and I'll get back to you

0 Karma
Get Updates on the Splunk Community!

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...