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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...