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!

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 ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...