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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...