<?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 Why is my search producing error &amp;quot;The eval expression has no fields: 'round(on/total*100)'&amp;quot;? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-search-producing-error-quot-The-eval-expression-has-no/m-p/264168#M79298</link>
    <description>&lt;P&gt;Hey people,&lt;/P&gt;

&lt;P&gt;I have a simple search I can't get to work. I've tried to look up solutions, but couldn't find anything that worked for me.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="servers"
|timechart count(eval(status="On")) as on count and total eval(round(on/total*100))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I keep getting this error:  &lt;CODE&gt;The eval expression has no fields: 'round(on/total*100)'&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2016 18:14:14 GMT</pubDate>
    <dc:creator>singhh4</dc:creator>
    <dc:date>2016-09-01T18:14:14Z</dc:date>
    <item>
      <title>Why is my search producing error "The eval expression has no fields: 'round(on/total*100)'"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-search-producing-error-quot-The-eval-expression-has-no/m-p/264168#M79298</link>
      <description>&lt;P&gt;Hey people,&lt;/P&gt;

&lt;P&gt;I have a simple search I can't get to work. I've tried to look up solutions, but couldn't find anything that worked for me.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="servers"
|timechart count(eval(status="On")) as on count and total eval(round(on/total*100))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I keep getting this error:  &lt;CODE&gt;The eval expression has no fields: 'round(on/total*100)'&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 18:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-search-producing-error-quot-The-eval-expression-has-no/m-p/264168#M79298</guid>
      <dc:creator>singhh4</dc:creator>
      <dc:date>2016-09-01T18:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my search producing error "The eval expression has no fields: 'round(on/total*100)'"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-search-producing-error-quot-The-eval-expression-has-no/m-p/264169#M79299</link>
      <description>&lt;P&gt;try this, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=servers |timechart count(eval(sourcetype="splunkd")) as on , count as total | eval percent=(round(on/total*100))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Sep 2016 18:30:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-search-producing-error-quot-The-eval-expression-has-no/m-p/264169#M79299</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2016-09-01T18:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my search producing error "The eval expression has no fields: 'round(on/total*100)'"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-search-producing-error-quot-The-eval-expression-has-no/m-p/264170#M79300</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 18:37:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-search-producing-error-quot-The-eval-expression-has-no/m-p/264170#M79300</guid>
      <dc:creator>singhh4</dc:creator>
      <dc:date>2016-09-01T18:37:15Z</dc:date>
    </item>
  </channel>
</rss>

