Dashboards & Visualizations

How to open an extracted URI field through drilldown option ?

zacksoft
Contributor

In my dashboard, I have a tabular representation of a panel that shows some extracted value of the events in columns such as _time, address.
Example :
_time Address
03:34 https://www.rediff.com
03:45 https://www.rediff.com
03:47 https://www.yahoo.com

I enabled the drilldown option in the XLM editor so that when I click on row 1 it should redirect and open www.rediff.com etc..

I did this, but it won't work

<drilldown>
          <link>$row.address$</link>
   </drilldown>
Labels (2)
Tags (1)
0 Karma
1 Solution

Sfry1981
Communicator

try using this in the drilldown instead

<drilldown>
  <link target="_blank">$click.value2|n$</link>
</drilldown>

View solution in original post

0 Karma

Sfry1981
Communicator

try using this in the drilldown instead

<drilldown>
  <link target="_blank">$click.value2|n$</link>
</drilldown>
0 Karma

zacksoft
Contributor

Thank you. it helped.
I actually have more than 2 columns ... and Is it possible to configure so that if I click on that row (on any cell I choose), it would redirect me to the Address value ?
Currently I have to click on "Address" column's cell to be able to re-direct to the page.

0 Karma

Sfry1981
Communicator

@zacksoft

All you would need to do is go into the source data and in the xml where it shows the below:

<option name="drilldown">cell</option>

change to

<option name="drilldown">row</option>

that will make the whole row clickable instead of just a cell

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...