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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...