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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...