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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...