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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...