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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...