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!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...