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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...