Dashboards & Visualizations

How to disable drill down click for particular column

rally0321
Path Finder

Dear all,

There are 5 columns in one chart output and the output used to create one dashboard panel.

When enable the drill down function for this dashboard, all cells for 5 columns appear as click-able status.

Is  there any way to disable the click or disable cells selection for particular column?

So user cannot click the cells for that column, or even click nothing happen from system behavior point of view. Thanks.

Labels (2)
Tags (1)
0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

@rally0321 

You can achieve this by adding condition. Can you please try this?

<dashboard>
  <label>Disable Column Drilldown</label>
  <row>
    <panel>
      <table>
        <title>Disabled ColumnB drill down: $test$</title>
        <search>
          <query>| makeresults count=10 | eval ColumnA="Hi",ColumnB="Bye",ColumnC="Hello"</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">cell</option>
        <drilldown>
          <condition field="ColumnB">
            <!-- Skip Drilldown  Logc-->
          </condition>
          <condition>
            <!-- Add Drilldown  Logc-->
            <set token="test">$click.value2$</set>
          </condition>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>

 

Thanks
KV
▄︻̷̿┻̿═━一

If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.

View solution in original post

kamlesh_vaghela
SplunkTrust
SplunkTrust

@rally0321 

You can achieve this by adding condition. Can you please try this?

<dashboard>
  <label>Disable Column Drilldown</label>
  <row>
    <panel>
      <table>
        <title>Disabled ColumnB drill down: $test$</title>
        <search>
          <query>| makeresults count=10 | eval ColumnA="Hi",ColumnB="Bye",ColumnC="Hello"</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">cell</option>
        <drilldown>
          <condition field="ColumnB">
            <!-- Skip Drilldown  Logc-->
          </condition>
          <condition>
            <!-- Add Drilldown  Logc-->
            <set token="test">$click.value2$</set>
          </condition>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>

 

Thanks
KV
▄︻̷̿┻̿═━一

If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.

rally0321
Path Finder

Cool ! It works. Thanks.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...