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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...