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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...