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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...