<?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 In a query being saved to a dashboard panel, how do I escape the Start of Header (SOH) character? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401952#M26350</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;

&lt;P&gt;I've got a query that i'm trying to save as a Dashboard Panel. I have used the SOH character in my query and this is causing the below errors when saving. Could anyone advise please?&lt;/P&gt;

&lt;P&gt;Argument 'eai:data' contains invalid character : ...&lt;/P&gt;</description>
    <pubDate>Thu, 27 Sep 2018 12:41:30 GMT</pubDate>
    <dc:creator>kechem</dc:creator>
    <dc:date>2018-09-27T12:41:30Z</dc:date>
    <item>
      <title>In a query being saved to a dashboard panel, how do I escape the Start of Header (SOH) character?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401952#M26350</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;

&lt;P&gt;I've got a query that i'm trying to save as a Dashboard Panel. I have used the SOH character in my query and this is causing the below errors when saving. Could anyone advise please?&lt;/P&gt;

&lt;P&gt;Argument 'eai:data' contains invalid character : ...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 12:41:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401952#M26350</guid>
      <dc:creator>kechem</dc:creator>
      <dc:date>2018-09-27T12:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: In a query being saved to a dashboard panel, how do I escape the Start of Header (SOH) character?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401953#M26351</link>
      <description>&lt;P&gt;what is the character, can you try using / ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 14:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401953#M26351</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2018-09-27T14:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: In a query being saved to a dashboard panel, how do I escape the Start of Header (SOH) character?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401954#M26352</link>
      <description>&lt;P&gt;@kechem,&lt;/P&gt;

&lt;P&gt;Try including your search in CDATA&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;query&amp;gt;&amp;lt;![CDATA["your search with SOH"]]&amp;gt;&amp;lt;/query&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Sep 2018 03:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401954#M26352</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-09-28T03:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: In a query being saved to a dashboard panel, how do I escape the Start of Header (SOH) character?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401955#M26353</link>
      <description>&lt;P&gt;Argument 'eai:data' contains invalid character &amp;#1;:  BBG FIX audit per ECN ID     -24h@h now   &lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 07:57:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401955#M26353</guid>
      <dc:creator>kechem</dc:creator>
      <dc:date>2018-09-28T07:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: In a query being saved to a dashboard panel, how do I escape the Start of Header (SOH) character?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401956#M26354</link>
      <description>&lt;P&gt;See attached image, does anybody know? &lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5856iE75D835260C09C15/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401956#M26354</guid>
      <dc:creator>kechem</dc:creator>
      <dc:date>2018-09-28T08:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: In a query being saved to a dashboard panel, how do I escape the Start of Header (SOH) character?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401957#M26355</link>
      <description>&lt;P&gt;It's better to clean the data first;&lt;/P&gt;

&lt;P&gt;Put this in your props.conf for your sourcetype&lt;BR /&gt;
SEDCMD-ccremove=s/\x01/|/g &lt;/P&gt;

&lt;P&gt;or on the search line&lt;/P&gt;

&lt;P&gt;| rex mode="sed" "s/\x01/|/g" &lt;/P&gt;

&lt;P&gt;after that you'll have a pipe delimiter for your kv pairs, you can rex the field or use and extract pairdelim to get your field.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 17:03:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401957#M26355</guid>
      <dc:creator>p3t3rm00r3</dc:creator>
      <dc:date>2020-01-13T17:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: In a query being saved to a dashboard panel, how do I escape the Start of Header (SOH) character?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401958#M26356</link>
      <description>&lt;P&gt;You're better off cleaning the data first;&lt;/P&gt;

&lt;P&gt;you can do this at the sourcetype level in the props.conf by adding;&lt;/P&gt;

&lt;P&gt;SEDCMD-ccremove=s/\x01/|/g &lt;/P&gt;

&lt;P&gt;Or at the search line with&lt;/P&gt;

&lt;P&gt;rex mode="sed" "s/\x01/|/g" &lt;/P&gt;

&lt;P&gt;That will replace your fix SOH with a  pipe delimiter.  You can then use an | extract pairdelim="|" kvdelim="="&lt;/P&gt;

&lt;P&gt;this will automatically extract your kv pairs&lt;/P&gt;

&lt;P&gt;or you can replace the SOH in your rex with \W (rex for not a word character) so.. &lt;BR /&gt;
"\W455=(\w+)"&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 17:12:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-query-being-saved-to-a-dashboard-panel-how-do-I-escape-the/m-p/401958#M26356</guid>
      <dc:creator>p3t3rm00r3</dc:creator>
      <dc:date>2020-01-13T17:12:23Z</dc:date>
    </item>
  </channel>
</rss>

