Dashboards & Visualizations

URL char conversion "&" sign

mg12345
Explorer

Hi,

I need to get pictures into the dashboard based on key value (id in the URL below) which differs for each case. The picture is located on server having the following kind of URL

http://server.abc.com/script.py/get_image?id=123456789&png=on

The problem is that Splunk dashboard XML doesn't allow to use the "&" sign. I've converted it to %26. Now the problem is that the server (server.abc.com) doesn't understand the converted version of &

Has someone solution for this?

Thank you very much in advance

Labels (1)
0 Karma
1 Solution

manjunathmeti
Champion

hi @mg12345,

You can escape character & with HTML character &.

Try this:

http://server.abc.com/script.py/get_image?id=123456789&png=on

 

If this reply helps you, an upvote/like would be appreciated. 

View solution in original post

mg12345
Explorer

Hi,

Thank you so much. It works. I'm so happy. Wish you well.

0 Karma

manjunathmeti
Champion

You are welcome! An upvote will be appreciated!

0 Karma

manjunathmeti
Champion

hi @mg12345,

You can escape character & with HTML character &.

Try this:

http://server.abc.com/script.py/get_image?id=123456789&png=on

 

If this reply helps you, an upvote/like would be appreciated. 

mg12345
Explorer

Hi,

I'm new in this community. Is the upvote same as the thumb up icon on the screen?

0 Karma

manjunathmeti
Champion

yes.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...