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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...