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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...