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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...