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 Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...