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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Note: This post outlines a proposed architecture and serves as an interest check. If we secure commitments ...