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
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:
Your feedback encourages the volunteers in this community to continue contributing
Hi, livehybrid
Thank you for your replay.
I understood this problem.
Regards,
STCK