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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...