Getting Data In

To open different links when clicking on different rows in a dashboard.

Real_captain
Path Finder

HI 

Can someone please let me know how to open different web URLs by clicking on different rows of a dashboard using drilldown option: 

Example :
Dashboard is using vlookup file  File.csv with below 2 columns: 
DESC1 , LINK1
DESC2 , LINK2
DESC3 , LINK3 

I've used the below code , but it is taking me always to the same link even when i click on DESC1 or DESC2 or DESC3. 

<row>
<panel>
<table>
<search>
<query>| inputlookup File.csv | fields * </query>
<earliest>1722776400.000</earliest>
<latest>1722865326.000</latest>
<sampleRatio>1</sampleRatio>
<done>
<set token="schedule">$result.Schedule$</set>
</done>
</search>
<drilldown>
<link target="_blank">https://community.splunk.com/</link>
</drilldown>
</table>
</panel>
</row>

Is it possible , then if i click 
DESC1 , it will take me to the link  "https://community.splunk.com/t5/Dashboards-Visualizations" 
DESC2 , it will take me to the link  "https://www.google.com/" 
DESC3 , it will take me to the link  "https://blog.avotrix.com/embed-splunk-dashboard-into-external-website/?force_isolation=true" 


 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Simple answer, yes, it is possible

Here is one way to do it

<dashboard version="1.1" theme="light">
  <label>URL Drilldown</label>
  <row>
    <panel>
      <table>
        <search>
          <query>| makeresults
| fields - _time
| eval url=split("DESC1,https://community.splunk.com/t5/Dashboards-Visualizations|DESC2,https://www.google.com/|DESC3,https://slack.com/intl/en-gb/blog/collaboration/new-splunk-app-for-slack","|")
| mvexpand url
| eval Description=mvindex(split(url,","),0)
| eval url=mvindex(split(url,","),1)</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">cell</option>
        <option name="refresh.display">progressbar</option>
        <drilldown>
          <condition field="Description">
            <link target="_blank">$row.url|n$</link>
          </condition>
          <condition></condition>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...