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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...