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!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...