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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...