Splunk Search

How to hide a drilldown panel when a user clicks on the chart?

dbcase
Motivator

Hi,

I have a dashboard that has a stats table that has a drilldown panel (timechart). All of this works great, but what I'd like to do is have the user click on the drilldown panel (or click a button or something within the drilldown panel) so that the drilldown panel is hidden. Is this possible?

0 Karma
1 Solution

sundareshr
Legend

In your timechart panel, make these changes, this will hide the panel when user clicks on any data point on the chart

<panel rejects="$hidePanel$">
<chart>
.....
<drilldown>
 <set token="hidePanel">$click.value$</set>
</drilldown>

View solution in original post

0 Karma

sundareshr
Legend

In your timechart panel, make these changes, this will hide the panel when user clicks on any data point on the chart

<panel rejects="$hidePanel$">
<chart>
.....
<drilldown>
 <set token="hidePanel">$click.value$</set>
</drilldown>
0 Karma
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...