Dashboards & Visualizations

How to set up the auto-refresh on a dashboard in Splunk dashboard studio?

jackin
Path Finder

I was new to Splunk dashboard studio, I need to auto-refresh my dashboard every 30secounds. below one is the code of my dashboard. can any one help in this?

{
    "dataSources": {
        "ds_search_1_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new_new": {
            "type": "ds.search",
            "options": {
                "query": "my query,
                "queryParameters": {
                    "earliest": "-15m",
                    "latest": "now"
                }
            }
        },
Labels (3)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

here is instructions how to do it: https://docs.splunk.com/Documentation/Splunk/8.2.3/DashStudio/Default

Just open the code on GUI and add e.g. 

	"title": "<YOUR DASHBOARD NAME HERE>",
	"defaults": {
		"dataSources": {
			"global": {
				"options": {
					"refresh": "5m",
					"refreshType": "delay"
				}
			},
			"ds.search": {
				"options": {

Then back + save and it should work.

r. Ismo 

Hankins
Engager

As of 5/2/2023 you need to add

"defaults": {
    "dataSources": {
        "global": {
            "options": {
                "refresh": "1m",
                "refreshType": "delay"
            }
        },
        "ds.search": {
            "options": {
                "refresh": "1m"
            }
    },
...  
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 ...