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
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, ...