<?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: stats average function suddenly blank in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/stats-average-function-suddenly-blank/m-p/75955#M19176</link>
    <description>&lt;P&gt;Using Verbose mode in Splunk 5.0, or with Field Discovery ON in earlier versions, do you see the fields &lt;CODE&gt;example_time&lt;/CODE&gt; and &lt;CODE&gt;example_method&lt;/CODE&gt; in the gray fields box? What is the letter next to the name of the fields - "a" or "#"? If it is an "a", then Splunk thinks the field is alphanumeric. You might check the values, perhaps your new extraction is picking up non-numeric characters.&lt;/P&gt;

&lt;P&gt;Other ideas:&lt;BR /&gt;&lt;BR /&gt;
Are you sure the name is exactly the same? Field names are case sensitive.&lt;BR /&gt;&lt;BR /&gt;
Also, are the permissions on the new field extractions the same as the old field extractions?&lt;BR /&gt;&lt;BR /&gt;
Are the new field extractions in the same app as the old field extractions?&lt;BR /&gt;&lt;BR /&gt;
Apologies if you have checked these things already...&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jan 2013 20:58:37 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2013-01-02T20:58:37Z</dc:date>
    <item>
      <title>stats average function suddenly blank</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-average-function-suddenly-blank/m-p/75954#M19175</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have been running a stats query for months on a very basic search to great success. I recently had to change how the field extractions that I pull from the logs look. To do this I used the manager and deleted the old extraction and created a new one with the exact same name. Since then&lt;BR /&gt;
all the other stats functions work fine, but average comes up blank. Average works fine for other event types and searches. I have tried restarting the box and clearing my browser cache. Did i irrevocably destroy averages for this sourcetype?&lt;/P&gt;

&lt;P&gt;This is the search i use &lt;BR /&gt;
sourcetype="Example" | stats min(example_time), max(example_time), count(example_method), avg(example_time) by example_method &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:02:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-average-function-suddenly-blank/m-p/75954#M19175</guid>
      <dc:creator>jericksonpf</dc:creator>
      <dc:date>2020-09-28T13:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: stats average function suddenly blank</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-average-function-suddenly-blank/m-p/75955#M19176</link>
      <description>&lt;P&gt;Using Verbose mode in Splunk 5.0, or with Field Discovery ON in earlier versions, do you see the fields &lt;CODE&gt;example_time&lt;/CODE&gt; and &lt;CODE&gt;example_method&lt;/CODE&gt; in the gray fields box? What is the letter next to the name of the fields - "a" or "#"? If it is an "a", then Splunk thinks the field is alphanumeric. You might check the values, perhaps your new extraction is picking up non-numeric characters.&lt;/P&gt;

&lt;P&gt;Other ideas:&lt;BR /&gt;&lt;BR /&gt;
Are you sure the name is exactly the same? Field names are case sensitive.&lt;BR /&gt;&lt;BR /&gt;
Also, are the permissions on the new field extractions the same as the old field extractions?&lt;BR /&gt;&lt;BR /&gt;
Are the new field extractions in the same app as the old field extractions?&lt;BR /&gt;&lt;BR /&gt;
Apologies if you have checked these things already...&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2013 20:58:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-average-function-suddenly-blank/m-p/75955#M19176</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-01-02T20:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: stats average function suddenly blank</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-average-function-suddenly-blank/m-p/75956#M19177</link>
      <description>&lt;P&gt;There is a # next to the name of the fields. The permissions and names are all the same.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2013 21:57:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-average-function-suddenly-blank/m-p/75956#M19177</guid>
      <dc:creator>jericksonpf</dc:creator>
      <dc:date>2013-01-02T21:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: stats average function suddenly blank</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-average-function-suddenly-blank/m-p/75957#M19178</link>
      <description>&lt;P&gt;i just re created the example_time field and realized that it was grabbing the ms at the end of the values that are included in the logs now it is working again. &lt;/P&gt;

&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2013 22:02:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-average-function-suddenly-blank/m-p/75957#M19178</guid>
      <dc:creator>jericksonpf</dc:creator>
      <dc:date>2013-01-02T22:02:42Z</dc:date>
    </item>
  </channel>
</rss>

