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!

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Get Inspired! We’ve Got Validation that Your Hard Work is Paying Off

We love our Splunk Community and want you to feel inspired by all your hard work! Eric Fusilero, our VP of ...

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...