Splunk Search

Drilldown to URL on single column

Rgk_Trail
Explorer

Hi, 

I am trying to enable drill-down on only single column present in table in my dashboard named "Training_Link". 

I tried using $column, not sure that's accurate. Then I shifted to $row, its working but drilldown in enabled on entire table.  

<option name="drilldown">cell</option>
<drilldown>
<link target="_blank">$row.Training_Link|n$</link>
</drilldown>

 

Any idea how can I do this ?

- Rohan

Tags (1)
0 Karma

Rgk_Trail
Explorer

Hi Vardhan,

Thanks for the response. I tried using the code but it opens up the same dashboard in the separate browser tab. What I am trying to do is open an URL that is listed in "Training_Link" column. 

If I use my old code , it does open up the corresponding URL in new browser tab but it does that for the entire row.

0 Karma

Vardhan
Contributor

Hi @Rgk_Trail ,

I am not sure whether you are editing the code correctly or not which I gave you. Let me show you an example.

Example:

In the below screenshot I have an action field name and contains two values. And the requirement is if I click the success it has to open the other dashboard. And it shouldn't apply to other field values like a failure.

Vardhan_0-1615949858893.png

I have used the below code and it's working fine .This will not apply to the entire row. Modify the below one according to your requirment.

<drilldown>
<condition match="'click.name2' == &quot;action&quot; AND 'click.value2' == &quot;success&quot;">
<set token="testing">$row.success$</set>
<link target="_blank">/app/search/monitoring_copy?count=$row.testing$</link>
</condition>
</drilldown>

If this answer helps you then upvote it.

0 Karma

Rgk_Trail
Explorer

Ohhh.. Sorry about the misunderstanding.. basically I have different URLs in Training_Link column that point to webpages (udemy, corsera, etc) outside of the Splunk. 

 

So when I click on certain training, it should open the webpage URL in the new tab. 

0 Karma

Vardhan
Contributor

Hi,

Try the below one the drilldown will not apply to the entire table.

<drilldown>
<condition match="'click.name2' == &quot;Training_Link&quot;">
<set token="testing">$row.Training_Link$</set>
<link target="_blank">(Mention dashboard link here)?count=$row.testing$</link>
</condition>
</drilldown>

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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...