Dashboards & Visualizations

How to show and hide the rows in a panel based on multiselect drop-down

aditsss
Motivator

Hi Everyone,

I have one requirement

I have multiple dashboards so I have created one multiselect drop-down with hardcoded values:

<fieldset submitButton="false" autoRun="true">
<input type="multiselect" token="OrgName" searchWhenChanged="true">
<label>DashboardName</label>
<choice value="All">All </choice>
<choice value="events">events</choice>
<choice value="abc">abc</choice>
<choice value="marketingforce">marketingforce</choice>
<prefix>(</prefix>
<valuePrefix>DashboardName ="</valuePrefix>
<valueSuffix>"</valueSuffix>
<delimiter> OR </delimiter>
<suffix>)</suffix>
<initialValue>All</initialValue>
<default>All</default>
</input>
</fieldset>

 

My second panel is in tabular form(Statics table)

which consists of multiple rows for different dashboards. I want when I select events from drop-down then only events rows showed appear in that panel and rest rows should hide .

How can I achieve that.

Please let me know if any other information is needed.

Thanks in advance.

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

One can use the depends option to selectively hide rows (of a dashboard), panels, and visualizations, but it cannot be used to hide individual rows/results in a table.  You would need to incorporate the tokens into the search to selectively filter the results.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

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

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...