Dashboards & Visualizations

drilldown for field values in a dashboard

Gowthamdevaraj
New Member

Hello Everyone,

I want to create a dashboard drill down based on filed values.

example: I have a dashboard with a field name "Product" which contains various list of product such as product A, product B etc..
Now I want to create a drill down dashboard, based on filed values, If i click in Product A it has to take to a dashboard for product A and similarly to product B and respective Dashboards.

Thanks

0 Karma

woodcock
Esteemed Legend

This is the default behavior so just use the GUI to turn it on. Click Edit and then the hamburger menu which is the 4th/last panel edit icon.

0 Karma

vnravikumar
Champion

Hi

Check the below sample, here I checked condition for sourcetype =splunkd and redirect to splunkd dashboard similarly you can check for others

<dashboard>
  <label>Drilldown</label>
  <row>
    <panel>
      <table>
        <search>
          <query>index=_internal |stats count by sourcetype</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">cell</option>
        <drilldown>
          <condition match="isnotnull('row.sourcetype') AND 'row.sourcetype' == &quot;splunkd&quot;">
            <link target="_blank">/app/search/splunkd</link>
          </condition>
          <condition >
          </condition>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>

OR

Create dashboard names with drilldown value. for example here splunkd

<dashboard>
  <label>Drilldown</label>
  <row>
    <panel>
      <table>
        <search>
          <query>index=_internal |stats count by sourcetype</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">cell</option>
        <drilldown>
          <condition match="isnotnull('row.sourcetype')">
            <link target="_blank">/app/search/$row.sourcetype$</link>
          </condition>
          <condition >
          </condition>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>
0 Karma
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...