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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...