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!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...