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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...