<?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: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&amp;lt;‘. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101248#M26163</link>
    <description>&lt;P&gt;What is the JIRA (SPL-#)?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2017 16:35:26 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-09-04T16:35:26Z</dc:date>
    <item>
      <title>Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101225#M26140</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;So I'm inheriting some splunk code that I'm going through and cleaning up. It contains:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex field=source "/data/splunk/(?&amp;lt;key&amp;gt;.*)/"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The search runs fine, when I navigate to it in the browser, (bread crumbs: splunk &amp;gt; manager &amp;gt;&amp;gt; Searches and reports &amp;gt;&amp;gt; [the search name] ) and modify a completely unrelated part of the search and go to save it it kicks the error &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your entry was not saved. The following error was reported: SyntaxError: Unexpected token &amp;lt;.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm fairly sure it's not escaping &amp;lt;&amp;gt; inside of quotes properly, so I can't save my search. I can however create a new search that has the exact same text in it.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Tristan&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 03:39:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101225#M26140</guid>
      <dc:creator>tristanmatthews</dc:creator>
      <dc:date>2013-10-16T03:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101226#M26141</link>
      <description>&lt;P&gt;Hello, I am having the same issue. Did you solve it? &lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2015 12:52:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101226#M26141</guid>
      <dc:creator>had1980</dc:creator>
      <dc:date>2015-08-14T12:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101227#M26142</link>
      <description>&lt;P&gt;whats the full search string?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2015 01:07:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101227#M26142</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2015-10-10T01:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101228#M26143</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;See (end of the article)&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.w3schools.com/xml/xml_syntax.asp"&gt;http://www.w3schools.com/xml/xml_syntax.asp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Replace special characters by xml entities:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt; by &amp;amp;lt;
&amp;gt; by &amp;amp;gt;
&amp;amp; by &amp;amp;amp;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And so on.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2015 02:56:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101228#M26143</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2015-10-10T02:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101229#M26144</link>
      <description>&lt;P&gt;I'm also seeing several reports of this issue and in reviewing the query I see nothing wrong with it nor anything that was set unexpectedly. &lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 17:01:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101229#M26144</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2016-07-01T17:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101230#M26145</link>
      <description>&lt;P&gt;This is a bug in all of the latest versions of Splunk and I do not know what causes it.  I do not have an entitlement to open a case on it but hopefully you do so please DO open a case.  You can tell that this is a bug because you will get the same error even if you change NOTHING and just try to resave your search.&lt;/P&gt;

&lt;P&gt;I have a workaround:  Copy down the details of the Search and save it fresh.  It will ALWAYS save OK, but, it will NEVER be re-editable.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 18:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101230#M26145</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-01T18:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101231#M26146</link>
      <description>&lt;P&gt;This is not the problem; this is a bug.  See my answer.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 18:44:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101231#M26146</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-01T18:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101232#M26147</link>
      <description>&lt;P&gt;Bug filed. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 16:49:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101232#M26147</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2016-07-13T16:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101233#M26148</link>
      <description>&lt;P&gt;You are THE MAN!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 17:04:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101233#M26148</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-13T17:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101234#M26149</link>
      <description>&lt;P&gt;I am not able to reproduce. Is there something out of the ordinary in the savedsearches.conf? Maybe this has been fixed. I'm using version 6.3.4&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 17:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101234#M26149</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2016-07-13T17:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101235#M26150</link>
      <description>&lt;P&gt;It doesn't happen in most cases.  Only small percentage of searches produce the error when modified.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 17:09:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101235#M26150</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2016-07-13T17:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101236#M26151</link>
      <description>&lt;P&gt;Had the same mistake on all my dashboards, just restarted and everythings worked fine but I still don't understand why...&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 09:18:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101236#M26151</guid>
      <dc:creator>wandrilleD</dc:creator>
      <dc:date>2016-07-18T09:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101237#M26152</link>
      <description>&lt;P&gt;Actually, @the_wolverine is THE LADY! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 18:49:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101237#M26152</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2016-08-02T18:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101238#M26153</link>
      <description>&lt;P&gt;Do you happen to have a reliable way to reproduce the issue?  Splunk support claims to have no idea about this bug.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 19:30:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101238#M26153</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2016-08-24T19:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101239#M26154</link>
      <description>&lt;P&gt;I just tested this search on v6.3.4, build cae2458faef.  The following search is syntactically valid and will save just fine on creation but when re-editing it, any attempt to save will generate this error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your entry was not saved.  The following error was reported: SyntaxError: Unexpected token &amp;lt; in JSON at position 0.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is the problematic search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|dbxquery connection=xxx query="SELECT%20TOP%20100%0ACONVERT(NVARCHAR(4000)%2C%5BNotes%5D)%0Afrom%20xyz%22"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please update your support ticket with these details.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101239#M26154</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-08-25T15:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101240#M26155</link>
      <description>&lt;P&gt;So you do &lt;CODE&gt;New&lt;/CODE&gt;, give it a name like &lt;CODE&gt;JSON BUG&lt;/CODE&gt;, use &lt;CODE&gt;|dbxquery connection=xxx query="SELECT%20TOP%20100%0ACONVERT(NVARCHAR(4000)%2C%5BNotes%5D)%0Afrom%20xyz%22"&lt;/CODE&gt; as the search string and click &lt;CODE&gt;Save&lt;/CODE&gt;.  It will save just fine.  Then click &lt;CODE&gt;Edit&lt;/CODE&gt;, then &lt;CODE&gt;Save&lt;/CODE&gt; (do not change anything) and you will get the error.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:57:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101240#M26155</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-08-25T15:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101241#M26156</link>
      <description>&lt;P&gt;I just wanted to point out that I just ran across this issue on my DMC. I was trying to edit the "Near Critical Disk Usage" alert to change it from 80% to 90%. I am currently running 6.4.3. Below is the current search string that is causing the error (even just saving it as is throws this error as pointed out).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server_group=dmc_group_* /services/server/status/partitions-space 
| eval free = if(isnotnull(available), available, free) 
| eval usage = capacity - free 
| eval pct_usage = floor(usage / capacity * 100) 
| where pct_usage &amp;gt; 80 
| stats first(fs_type) as fs_type first(capacity) AS capacity first(usage) AS usage first(pct_usage) AS pct_usage by splunk_server, mount_point 
| eval usage = round(usage / 1024, 2) 
| eval capacity = round(capacity / 1024, 2) 
| rename splunk_server AS Instance mount_point as "Mount Point", fs_type as "File System Type", usage as "Usage (GB)", capacity as "Capacity (GB)", pct_usage as "Usage (%)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The reason I point this out is your work-around of making a brand new search doesn't actually work. When I make a new report/alert and it still throws the error. The search runs just fine in the search bar. &lt;/P&gt;

&lt;P&gt;It is also great because it is one of &lt;EM&gt;their&lt;/EM&gt; searches, and is set-up to work on anyone's Splunk instances (assuming you have the DMC turned on). So it should be really easy to validate this bug and fix the issue. Not sure why your workaround isn't happening though. I'll get a bug report filed a bit later today with the above issue.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 12:50:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101241#M26156</guid>
      <dc:creator>fairje</dc:creator>
      <dc:date>2016-10-19T12:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101242#M26157</link>
      <description>&lt;P&gt;I faced this issue today. The only way I was able to make a change in the saved search was by cloning it.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 16:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101242#M26157</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2016-11-08T16:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101243#M26158</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;Had this problem - A JSON browser extension for viewing formatted JSON responses was getting in the way. Once I disabled that extension worked like charm.&lt;/P&gt;

&lt;P&gt;Ref: &lt;A href="https://answers.splunk.com/answers/247389/cant-add-input-for-rest-ta-your-entry-was-not-save-1.html"&gt;https://answers.splunk.com/answers/247389/cant-add-input-for-rest-ta-your-entry-was-not-save-1.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 14:37:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101243#M26158</guid>
      <dc:creator>rh0dium</dc:creator>
      <dc:date>2016-11-25T14:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Your entry was not saved. The following error was reported: SyntaxError: JSON Parse error: Unrecognized token '&lt;‘.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101244#M26159</link>
      <description>&lt;P&gt;Exactly.  It is a bug.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 20:08:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Your-entry-was-not-saved-The-following-error-was-reported/m-p/101244#M26159</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-12-05T20:08:16Z</dc:date>
    </item>
  </channel>
</rss>

