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)?

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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...