Dashboards & Visualizations

JSON: Dashboard Tokens no longer being accepted in certain fields?

Jaryed
New Member

Im not sure if there was an update to our system recently, but a behavior change has left me stumped as to what to do.

Im usign I have a JSON dashboard for a series of log4j style service logs to gain visualisations on critical data. This dashboard Is a pretty standard faire, with a Global Time Range token, and derived from that i also decided I wanted to add a manual control to the dasboard so i can adjust the automatic refresh rate of each visualisation. I called it the global refresh rate. its a simple input.number with a 0 minimum, high maximum, and a default value of 300

At the time i found i could implement it by putting this code in the JSON code for the data sources.

, "refresh": "$global_refresh$s", "refreshType": "delay"

 

right after the queryParameters field in my data sources.

This worked well enough, however recently I found i could no longer do this.
All existing visualisations function as they should, but if i try to change any of the data sources, it will no longer let me save changes without first removing the $global_refresh$ token - treating it as invalid. I also have found i cannout add it back in after removing the token.

Is this a bug? Is there a way around this? what changed that now prevents this from being done?

Because it would be nice to be able to control the refresh interval from the dashboard outside of the data source so that i can lower it if i need more frequent updates during times of high monitoring, and raise it when i only need periodic updates.

Labels (1)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @Jaryed 

Please could you let me know which version of Splunk you are running so I can test this out and compare?

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...