Knowledge Management

Drilldown

uagraw01
Motivator

Hello Team,

As per below screen, the red one panels are in trellis format. I need to append drilldown on these panels on class vise. So please guide me how i can use drill down on these panel. So whenever when i will click on any class it shows me the result.

Here i used drilldown $trellis.split<fieldname>$

But it us not working.

IMG_20210516_213924__01__01.jpg

0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

@uagraw01 

You have to replace <fieldname> with the field name which represents class values.

$trellis.split.<fieldname>$

Fir example, if field name is `ClassName` the 

$trellis.split.ClassName$

 

Please check below example for practical.

<dashboard>
  <label>Trail Drilldow</label>
  <row>
    <panel>
      <title>$A$</title>
      <single>
        <search>
          <query>index=_internal | stats count by sourcetype</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="colorBy">value</option>
        <option name="colorMode">none</option>
        <option name="drilldown">all</option>
        <option name="numberPrecision">0</option>
        <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
        <option name="rangeValues">[0,30,70,100]</option>
        <option name="showSparkline">1</option>
        <option name="showTrendIndicator">1</option>
        <option name="trellis.enabled">1</option>
        <option name="trellis.scales.shared">1</option>
        <option name="trellis.size">medium</option>
        <option name="trendColorInterpretation">standard</option>
        <option name="trendDisplayMode">absolute</option>
        <option name="unitPosition">after</option>
        <option name="useColors">0</option>
        <option name="useThousandSeparators">1</option>
        <drilldown>
          <set token="A">$trellis.split.sourcetype$</set>
        </drilldown>
      </single>
    </panel>
  </row>
</dashboard>

 

Thanks
KV
▄︻̷̿┻̿═━一

If this reply helps you, an upvote would be appreciated.

View solution in original post

kamlesh_vaghela
SplunkTrust
SplunkTrust

@uagraw01 

You have to replace <fieldname> with the field name which represents class values.

$trellis.split.<fieldname>$

Fir example, if field name is `ClassName` the 

$trellis.split.ClassName$

 

Please check below example for practical.

<dashboard>
  <label>Trail Drilldow</label>
  <row>
    <panel>
      <title>$A$</title>
      <single>
        <search>
          <query>index=_internal | stats count by sourcetype</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="colorBy">value</option>
        <option name="colorMode">none</option>
        <option name="drilldown">all</option>
        <option name="numberPrecision">0</option>
        <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
        <option name="rangeValues">[0,30,70,100]</option>
        <option name="showSparkline">1</option>
        <option name="showTrendIndicator">1</option>
        <option name="trellis.enabled">1</option>
        <option name="trellis.scales.shared">1</option>
        <option name="trellis.size">medium</option>
        <option name="trendColorInterpretation">standard</option>
        <option name="trendDisplayMode">absolute</option>
        <option name="unitPosition">after</option>
        <option name="useColors">0</option>
        <option name="useThousandSeparators">1</option>
        <drilldown>
          <set token="A">$trellis.split.sourcetype$</set>
        </drilldown>
      </single>
    </panel>
  </row>
</dashboard>

 

Thanks
KV
▄︻̷̿┻̿═━一

If this reply helps you, an upvote would be appreciated.

uagraw01
Motivator

@kamlesh_vaghela Yes i have tried and now its working.

Thanks 

0 Karma
Get Updates on the Splunk Community!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...