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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...