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!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...