<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with space character in simple xml for dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179516#M11092</link>
    <description>&lt;P&gt;updated, way to think outside the box and build upon my idea!&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2014 20:22:19 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2014-06-05T20:22:19Z</dc:date>
    <item>
      <title>Problem with space character in simple xml for dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179511#M11087</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;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:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="multiselect" token="group" searchWhenChanged="true"&amp;gt;
  &amp;lt;label&amp;gt;group by...&amp;lt;/label&amp;gt;
  &amp;lt;choice value="ChangeDay"&amp;gt;Day&amp;lt;/choice&amp;gt;
  &amp;lt;prefix&amp;gt;by &amp;lt;/prefix&amp;gt;
  &amp;lt;delimiter&amp;gt; &amp;lt;/delimiter&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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?&lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2014 15:24:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179511#M11087</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-05-27T15:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space character in simple xml for dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179512#M11088</link>
      <description>&lt;P&gt;What happens if you use &lt;CODE&gt;&amp;amp;#32;&lt;/CODE&gt; instead of spaces?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;prefix&amp;gt;by&amp;amp;#32;&amp;lt;/prefix&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 May 2014 15:30:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179512#M11088</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2014-05-27T15:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space character in simple xml for dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179513#M11089</link>
      <description>&lt;P&gt;Space for &lt;DELIMITER&gt; is not trimmed, just leave as &lt;DELIMITER&gt; &lt;/DELIMITER&gt;&lt;BR /&gt;
Try &lt;PREFIX&gt;by &lt;/PREFIX&gt;&lt;/DELIMITER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2014 16:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179513#M11089</guid>
      <dc:creator>afishkin_splunk</dc:creator>
      <dc:date>2014-05-27T16:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space character in simple xml for dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179514#M11090</link>
      <description>&lt;P&gt;The space between delimiter is saved permanently, so there is no problem, but the space after &lt;PREFIX&gt;by is deleted after reopening/reloading the dashboard.&lt;/PREFIX&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2014 06:31:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179514#M11090</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-05-28T06:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space character in simple xml for dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179515#M11091</link>
      <description>&lt;P&gt;Nice idea with using &amp;nbsp; but that is not accepted by splunk. But I also tried &amp;amp;#32 and this is working now!&lt;BR /&gt;
Thanks for the help. Can you cahnge your answer to &amp;amp;#32  (don't forget the ; after 32) that I can vote for it?&lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2014 06:36:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179515#M11091</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-05-28T06:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space character in simple xml for dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179516#M11092</link>
      <description>&lt;P&gt;updated, way to think outside the box and build upon my idea!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2014 20:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179516#M11092</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2014-06-05T20:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with space character in simple xml for dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179517#M11093</link>
      <description>&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;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).&lt;/P&gt;

&lt;P&gt;More here:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &lt;A href="https://en.m.wikipedia.org/wiki/Percent-encoding" target="test_blank"&gt;https://en.m.wikipedia.org/wiki/Percent-encoding&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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).&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/3420/"&gt;https://splunkbase.splunk.com/app/3420/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2019 12:25:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Problem-with-space-character-in-simple-xml-for-dashboard/m-p/179517#M11093</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-05-26T12:25:27Z</dc:date>
    </item>
  </channel>
</rss>

