Hello,
I have the problem, that space characters are not saved in the simple xml structure of my dashboards. This is a part of one of my dashboards:
<input type="multiselect" token="group" searchWhenChanged="true">
<label>group by...</label>
<choice value="ChangeDay">Day</choice>
<prefix>by </prefix>
<delimiter> </delimiter>
</input>
You can see that I have a space character at delimiter and one after by. That one at deleimiter is saved correctly, but that after by is deleted after a reload. How can I save all space characters permanently?
Greetings
What happens if you use  
instead of spaces?
<prefix>by </prefix>
Space for
Try
The space between delimiter is saved permanently, so there is no problem, but the space after
What happens if you use  
instead of spaces?
<prefix>by </prefix>
updated, way to think outside the box and build upon my idea!
For anyone else showing up here that doesn't understand the solution; I'll explain why this works and how to use the same technique for other characters too.
It works because this is the percent encoded value for what is the spacebar. Percent encoding is used in a variety of ways including urlencoding. It's a way to avoid passing special characters which may be misinterpreted by your web app (in this case the splunk web UI).
More here:
https://en.m.wikipedia.org/wiki/Percent-encoding
There are plenty of urlencoding reference websites if you'd like to encode your own characters. But my favorite method is with TA Web Tools (shameless self promotion).
Nice idea with using but that is not accepted by splunk. But I also tried   and this is working now!
Thanks for the help. Can you cahnge your answer to   (don't forget the ; after 32) that I can vote for it?
Greetings