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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...