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!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...