Dashboards & Visualizations

Hyperlink entire row to external url based on one column value

mistydennis
Communicator

I have a table with 7 columns. I would like to hyperlink an entire row to the url found in the last column. I've had success enabling the click value for that last column, but when the user clicks on any other column they are taken to search instead of the external url. I'm sure this is a simple fix, but I can't figure out what I'm doing wrong!

Here's the code:

  <row>
    <panel>
      <table>
        <title>Link Test</title>
        <search>
          <query>| inputlookup foo
| table col1, col2, col3, col4, col5, col6, FolderLink
</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">row</option>
        <drilldown>
          <condition field="FolderLink">
            <link target="_blank">$click.value2|n$</link>
          </condition>
        </drilldown>
      </table>
    </panel>
  </row>
Labels (2)
0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

Hi @mistydennis,

Can you please try by updating drilldown code?

 <drilldown>
             <link target="_blank">$row. FolderLink |n$</link>
</drilldown>

View solution in original post

0 Karma

afsalkh
New Member

How can I achieve the same for a directory path instead of a web url???

0 Karma

richgalloway
SplunkTrust
SplunkTrust

This is an old thread. Please post a new question.

---
If this reply helps you, Karma would be appreciated.
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

Hi @mistydennis,

Can you please try by updating drilldown code?

 <drilldown>
             <link target="_blank">$row. FolderLink |n$</link>
</drilldown>
0 Karma

mistydennis
Communicator

YES! That's it! Thank you so much 🙂

0 Karma
Get Updates on the Splunk Community!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...