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
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...