0

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.

RichG
  • 9,063
  • 2
  • 18
  • 29
  • 1
    what have you tried? Ie, what does your dashboard look like now (a screenshot would be helpful), and what does the XML underneath look like? – warren Jan 24 '23 at 15:32
  • I've tried to work with the Splunk documentation about DrillDownLink to URL. but it didn't get me anywhere, about the screenshot it's a bit problematic for security reasons to expose but I can say that is just a table that one of the column values is URLs, but when you click the URL is just reads it as text and not as a link. – Yarin Michael Bouzaglo Jan 24 '23 at 15:50
  • 1
    Please share the sanitized dashboard XML. – RichG Jan 24 '23 at 17:52
  • Duck Duck Going got me https://community.splunk.com/t5/All-Apps-and-Add-ons/How-do-I-make-a-clickable-hyperlink-in-search-result/m-p/438278 (the Stack Overflow-like site unfortunately has none of Stack Overflow's curation policies, so it's full of junk) – tripleee Jan 24 '23 at 18:17

2 Answers2

1

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

0

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}
warren
  • 32,620
  • 21
  • 85
  • 124