Dashboards & Visualizations

How to add button to change data history?

wuming79
Path Finder

Hi,

I have 3 reports on a dashboard with history to search last 30 seconds. Can I add a button or a drop down list on the dashboard to control all 3 reports to show history for last 30 mins instead?

Tags (1)
0 Karma
1 Solution

woodcock
Esteemed Legend

You need to do EXACTLY this:

Click the `Edit` button.
On the far right, click the `Autorun dashbaord` check box
Above the Timepicker control click on the leftmost icon (pen/crayon):
In the `Default` field, select `Relative `and set `30 Minutes ago` for `Earliest` and `Now` for `Latest`.
Click `Apply`.
In each panel:
Click on the leftmost icon (magnifying glass).
Click `Clone to an inline search`.
Click on the leftmost icon (different magnifying glass).
In the `Time range` field, select `Shared Timepicker`.
Click `Apply`.
Click `Save`.

Also probably this after you get the above done and working:

Click the `Edit` button.
In each panel:
Click on the leftmost icon (magnifying glass).
In the `Saved search` field put something like `| savedsearch originalSearchReportNameForMyPanel`
Click `Apply`.
Click `Save`.

View solution in original post

woodcock
Esteemed Legend

You need to do EXACTLY this:

Click the `Edit` button.
On the far right, click the `Autorun dashbaord` check box
Above the Timepicker control click on the leftmost icon (pen/crayon):
In the `Default` field, select `Relative `and set `30 Minutes ago` for `Earliest` and `Now` for `Latest`.
Click `Apply`.
In each panel:
Click on the leftmost icon (magnifying glass).
Click `Clone to an inline search`.
Click on the leftmost icon (different magnifying glass).
In the `Time range` field, select `Shared Timepicker`.
Click `Apply`.
Click `Save`.

Also probably this after you get the above done and working:

Click the `Edit` button.
In each panel:
Click on the leftmost icon (magnifying glass).
In the `Saved search` field put something like `| savedsearch originalSearchReportNameForMyPanel`
Click `Apply`.
Click `Save`.

wuming79
Path Finder

Hi woodcock. Thanks. I got it now.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Yes, that should be possible.
Are you having only user access or do you have more access permissions (admin / power , etc)?
did you create this dashboard or someone else?
does this dashboard give you edit options(do you see an edit button or no edit option)?

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !

wuming79
Path Finder

Hi, I'm the admin. I created a dashboard with all 3 reports. There is an add input options and one of them it time. I chose All time and dragged to one of the reports, saved the dashboard and change the time period to last 30 seconds which I expected to show no data. It didn't seems to work. There is a Token field which I did not know how to fill in to control the time period.

alt text

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