Dashboards & Visualizations

How to make a link in a cell clickable?

khailz
Explorer

Hi guys,

I am having some questions about the hyperlinking.

Upon clicking the link in the cell, it converts it to ascii and adds localhost:8000/form/[url link here].

Is there a way to just make it take the url as it is?

sourcetype=edmw  title="$title$" | dedup title | table title link
      <row>
        <panel>

          <link>$click.value2$</link>
        </drilldown>
Tags (3)

somesoni2
Revered Legend

Depends upon what your link fields contain, if you add some static text before using the $click.value2$ token, it doesn't add the current splunk instance reference. See this run anywhere example.

<dashboard>
  <label>Clickable Cell</label>
  <row>
    <panel>
      <table>
        <search>
          <query>| gentimes start=-1 | eval link="www.google.com"</query>
        </search>
        <option name="wrap">true</option>
        <option name="rowNumbers">false</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">cell</option>
        <option name="count">10</option>
        <drilldown>
          <link> <![CDATA[ https://$click.value2$ ]]></link>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>
0 Karma

khailz
Explorer

Thanks for the reply. I'm not entirely sure why its does not pickup the string inside the cell.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...