Splunk Dev

Dashboard studio message: "set token value to render visualization"

STCK
Explorer

Hi, This is STCK.

I have a trouble.
Tokens are displayed without any issues in the preview environment.(left)
But, Tokens are not displayed in the published dashboard.(right)
I don`t know Why.

The object that passes the token uses a table.
And, use a rectangular object for the object that receives tokens.

Table Data Source SPL Query
index="infrastructure_test_data"
| dedup tunnel_name
| table tunnel_name

Instruction Setting Token
selected_tunnel = row.tunnel_name.value

SPL Query of rectangular object
index="infrastructure_test_data" tunnel_name="$selected_tunnel$"
| eval value = case(
    status = "OK", 100,
    status = "NG", 0
)
| where equipment_name = "非常照明"
| sort date Desc
| table value

Thankyou regards,
STCK

Tags (1)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @STCK 
This is a limitation of Published Dashboards:

Inputs with tokens that change searches do not work when viewing the published dashboard. For example, an input does not re-run a search for a published dashboard. Inputs with tokens that do not change searches work, for example, if the input changes a visualization option.

For more info please see https://help.splunk.com/en/splunk-cloud-platform/create-dashboards-and-reports/dashboard-studio/10.1....

🌟 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

STCK
Explorer

Hi, livehybrid

Thank you for your replay.
I understood this problem.

Regards,

STCK

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...