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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...