Dashboards & Visualizations

How to hide a textbox input in a dashboard?

gokool2u
Explorer

I have created a dashboard which will display charts based on the values clicked in another dashboard. I am passing tokens and displaying it in a textbox. Drilldown is working fine but now I want to hide the textbox but it has to receive the token value. Is there any way to hide a textbox in the dashboard?

1 Solution

jeffland
SplunkTrust
SplunkTrust

Yeah, you can simply make your input depend on an unset token:

<input depends="$hidden$">
  ...

Provided that your dashboard doesn't use a token by the name of hidden, of course. This should hide your input yet keep the token functional.

View solution in original post

jeffland
SplunkTrust
SplunkTrust

Yeah, you can simply make your input depend on an unset token:

<input depends="$hidden$">
  ...

Provided that your dashboard doesn't use a token by the name of hidden, of course. This should hide your input yet keep the token functional.

gokool2u
Explorer

Thank you so much jeffland..

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...