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 | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...