<?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: The avg function is unsupported or undefined in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666941#M17761</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/80737"&gt;@inventsekar&lt;/a&gt;&amp;nbsp;apparently avg is not an eval function in my version of splunk. It's available with other things like chart and stats, but not eval. Something like this works however:&amp;nbsp;&lt;BR /&gt;... | chart eval(avg(bytes) ...&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 22:47:24 GMT</pubDate>
    <dc:creator>R15</dc:creator>
    <dc:date>2023-10-31T22:47:24Z</dc:date>
    <item>
      <title>The avg function is unsupported or undefined</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666835#M17753</link>
      <description>&lt;P&gt;I was building a new search and started getting this error with various functions. I simplified my search down to something straight out of the documentation to make sure I wasn't missing something silly, but still get the error even with this:&amp;nbsp;&lt;BR /&gt;index=* | eval c=avg(1, 2, 3)&lt;BR /&gt;&lt;BR /&gt;What's going on?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 23:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666835#M17753</guid>
      <dc:creator>R15</dc:creator>
      <dc:date>2023-10-30T23:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: The avg function is unsupported or undefined</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666838#M17754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252191"&gt;@R15&lt;/a&gt;&amp;nbsp;.. this search runs fine actually. may we know your remaining portions of the search(after calculating the avg, how do you have handle the avg values?!?!)&amp;nbsp;&lt;BR /&gt;if you provide a screenshot, that would be of great help, thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="inventsekar_0-1698712888837.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27898i6219E4A7B6080C1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="inventsekar_0-1698712888837.png" alt="inventsekar_0-1698712888837.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 00:42:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666838#M17754</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2023-10-31T00:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: The avg function is unsupported or undefined</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666889#M17756</link>
      <description>&lt;P&gt;There is no other portion, running the same search as in your screenshot I get the error.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 14:13:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666889#M17756</guid>
      <dc:creator>R15</dc:creator>
      <dc:date>2023-10-31T14:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: The avg function is unsupported or undefined</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666941#M17761</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/80737"&gt;@inventsekar&lt;/a&gt;&amp;nbsp;apparently avg is not an eval function in my version of splunk. It's available with other things like chart and stats, but not eval. Something like this works however:&amp;nbsp;&lt;BR /&gt;... | chart eval(avg(bytes) ...&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 22:47:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666941#M17761</guid>
      <dc:creator>R15</dc:creator>
      <dc:date>2023-10-31T22:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: The avg function is unsupported or undefined</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666945#M17762</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252191"&gt;@R15&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;There is no other portion, running the same search as in your screenshot I get the error.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Could you pls take a screenshot and attach for our reference, thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 00:19:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666945#M17762</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2023-11-01T00:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: The avg function is unsupported or undefined</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666958#M17763</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/80737"&gt;@inventsekar&lt;/a&gt;&amp;nbsp;said it should work without issues. Could you try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval c=avg(1, 2, 3)
| table c&lt;/LI-CODE&gt;&lt;P&gt;It should give to 2 to you.&lt;/P&gt;&lt;P&gt;When this is working and your current query didn't work, then you have some other issue in it.&lt;/P&gt;&lt;P&gt;You could check which Splunk version you have by click Help -&amp;gt; About on top bar.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 07:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/666958#M17763</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-11-01T07:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: The avg function is unsupported or undefined</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/667029#M17765</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/80737"&gt;@inventsekar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We'll be upgrading soon but until then I'm stuck.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 15:37:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/667029#M17765</guid>
      <dc:creator>R15</dc:creator>
      <dc:date>2023-11-01T15:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: The avg function is unsupported or undefined</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/667108#M17769</link>
      <description>It seems that avg as an eval function has deployed at 8.1.0 (&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.0/SearchReference/StatisticalFunctions" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.0/SearchReference/StatisticalFunctions&lt;/A&gt;).</description>
      <pubDate>Thu, 02 Nov 2023 09:14:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/The-avg-function-is-unsupported-or-undefined/m-p/667108#M17769</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-11-02T09:14:46Z</dc:date>
    </item>
  </channel>
</rss>

