Splunk-Dashboard - how to add links as field in table visualization?

I'm sending as a - payload.url field - some link for each event, but in the dashboard - table it's appeare as text and not as link.

maybe someone tried to do it?

i've added - Visit example website the tage into the payload and try to sent it in two ways:

  1. <a href="https://www.example.com">Visit example website</a>
  2. "https://www.example.com"

both are appeare as text and not as links.

Upvotes: 0

Views: 1278

Answers (2)

thanks all, what I needed to do is - add this:

<drilldown>
     <link target="_blank">$row.URL|n$</link>
</drilldown>

found it here - https://community.splunk.com/t5/All-Apps-and-Add-ons/How-do-I-make-a-clickable-hyperlink-in-search-result/m-p/438278 thanks again

Upvotes: 1

warren
warren

Reputation: 33453

Without knowing what your dashboard looks like (a [sanitized] screenshot, XML, etc), we can only guess at what you're trying to do

That said, if you're wanting to do what I think you want to do, put the following in its own panel on your Dashboard (you'll need to do this from the Edit Source option):

{top of dashboard}
<row>
  <panel>
    <html>
      <li><a href="https://some.url/path">link text</a></li>
      <li><a href="https://other.url/path/to/link">text of link</a></li>
    </html>
  </panel>
</row>
{bottom of dashboard}

Upvotes: 0

Related Questions