<?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: Error in 'eval' command: The expression is malformed. An unexpected character is reached in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-in-eval-command-The-expression-is-malformed-An-unexpected/m-p/391939#M114096</link>
    <description>&lt;P&gt;@MuS, it was only yesterday that @xpac and I spoke of the devil &lt;CODE&gt;“&lt;/CODE&gt; &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/659050/unicode-characters-in-dashboardssearches.html#answer-659052"&gt;https://answers.splunk.com/answers/659050/unicode-characters-in-dashboardssearches.html#answer-659052&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 May 2018 05:35:34 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-05-16T05:35:34Z</dc:date>
    <item>
      <title>Error in 'eval' command: The expression is malformed. An unexpected character is reached</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-eval-command-The-expression-is-malformed-An-unexpected/m-p/391937#M114094</link>
      <description>&lt;P&gt;I was getting when I run the below query, can someone give me the solution pls,&lt;/P&gt;

&lt;P&gt;below is my query:&lt;/P&gt;

&lt;P&gt;| convert num(actualTimeExtract) as actualTime&lt;BR /&gt;
|eval buckt=case (&lt;BR /&gt;
actualTime&amp;lt;1001, “time &amp;lt; 1 sec”, &lt;BR /&gt;
actualTime&amp;gt;1000 AND actualTime&amp;lt;5001, “1 &amp;lt; time &amp;lt; 5”, &lt;BR /&gt;
1=1, “time &amp;gt; 15”)&lt;BR /&gt;
|stats dc(hdr.macaddress) by buckt&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 23:17:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-eval-command-The-expression-is-malformed-An-unexpected/m-p/391937#M114094</guid>
      <dc:creator>sarathipattam</dc:creator>
      <dc:date>2018-05-15T23:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'eval' command: The expression is malformed. An unexpected character is reached</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-eval-command-The-expression-is-malformed-An-unexpected/m-p/391938#M114095</link>
      <description>&lt;P&gt;Hi sarathipattam,&lt;/P&gt;

&lt;P&gt;this is most likely a copy/paste problem, you have &lt;CODE&gt;“&lt;/CODE&gt; instead of &lt;CODE&gt;"&lt;/CODE&gt;. Try the run everywhere search below to see how it works:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval actualTime="1000" 
| eval buckt=case (
    actualTime&amp;lt;1001, "time &amp;lt; 1 sec", 
    actualTime&amp;gt;1000 AND actualTime&amp;lt;5001, "1 &amp;lt; time &amp;lt; 5", 
    1=1, "time &amp;gt; 15")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 00:19:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-eval-command-The-expression-is-malformed-An-unexpected/m-p/391938#M114095</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-05-16T00:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'eval' command: The expression is malformed. An unexpected character is reached</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-eval-command-The-expression-is-malformed-An-unexpected/m-p/391939#M114096</link>
      <description>&lt;P&gt;@MuS, it was only yesterday that @xpac and I spoke of the devil &lt;CODE&gt;“&lt;/CODE&gt; &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/659050/unicode-characters-in-dashboardssearches.html#answer-659052"&gt;https://answers.splunk.com/answers/659050/unicode-characters-in-dashboardssearches.html#answer-659052&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 05:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-eval-command-The-expression-is-malformed-An-unexpected/m-p/391939#M114096</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-16T05:35:34Z</dc:date>
    </item>
  </channel>
</rss>

