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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...