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, an upvote 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>

View solution in original post

0 Karma

mistydennis
Communicator

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

0 Karma