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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...