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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...