Dashboards & Visualizations

Drilldown to webpage passing concatenate value

ngerosa
Path Finder

Hi!
I have a dashboard with a statistics table.

I would like to open a URL when I click on one value of that table.

The problem is that the url is like this:

http://mywebsite.com/no/report.asp?ticket_id=xxxx&TIPO_STAMPA=INT

and I have to replace the "xxxx" value with a click value.

I tried to modify my XML in this way:

<drilldown>
      <link>http://mywebsite.com/no/report.asp?ticket_id=$click.value2$&TIPO_STAMPA=INT</link>
    </drilldown>

but it doesn't work maybe because there is "&TIPO_STAMPA=INT" after the token.

Anyone can help me?

Thanks a lot!

Tags (3)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi ngerosa,
did you alredy tried to replace & with &amp; ?
Bye.
Giuseppe

View solution in original post

amielke
Communicator

Have you tried "CDATA", like this:

<link>
      <![CDATA[http://mywebsite.com/no/report.asp?ticket_id=$click.value2$&TIPO_STAMPA=INT]>
</link>

more infos: docs.splunk.com

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi ngerosa,
did you alredy tried to replace & with &amp; ?
Bye.
Giuseppe

ngerosa
Path Finder

It works!
Thanks a lot Giuseppe

0 Karma
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...