Dashboards & Visualizations

How to make a link in a cell clickable?

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)

SplunkTrust
SplunkTrust

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

Explorer

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

0 Karma