Dashboards & Visualizations

Drilldown view from previous search is visible and not disabled once a search parameters are changed

Priya312
Explorer

Hi,

Currently I am developing a Volume form with a drilldown in Splunk 6. The main panel shows the total volume and the drilldown shows client wise volume. The drilldown is working fine.

But whenever I change the search parameters, the previous drilldown is visible. I want to refresh the page whenever search parameters are changed.

Could you please help me in this?

Tags (2)
0 Karma

FritzWittwer_ol
Contributor

you can add a element to your element, in this element you unset the token on which your drilled down panel is depending, so whenever you change the input, the token gets unset and the subpanel disappears

<form>

  <fieldset>
  ...
    <input type="dropdown" token="xx" searchWhenChanged="true">
      <choice value="*">Any</choice>
      <default>*</default>
    <populatingSearch fieldForLabel="xx" fieldForValue="xx">.....</populatingSearch>
    <change>
      <unset token="yy"></unset>
    </change>
...
  <row>
    <panel>
      <!-- main panel wit drilldown-->
      ...
         <drilldown>
           <set token="yy">$click.value$</set>
         </drilldown>
      ...
    </panel>
  </row>

  <row>
    <panel>
    <!-- drilled down panel -->
      <table depends="$yy$"">
...

see http://docs.splunk.com/Documentation/Splunk/6.2.4/Viz/tokens

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

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

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...