<?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: why this group by is not returning results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/why-this-group-by-is-not-returning-results/m-p/28026#M5493</link>
    <description>&lt;P&gt;got it.&lt;/P&gt;

&lt;P&gt;| stats count(errorId) BY errorId&lt;/P&gt;</description>
    <pubDate>Tue, 17 Apr 2012 02:02:14 GMT</pubDate>
    <dc:creator>sou128</dc:creator>
    <dc:date>2012-04-17T02:02:14Z</dc:date>
    <item>
      <title>why this group by is not returning results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-this-group-by-is-not-returning-results/m-p/28024#M5491</link>
      <description>&lt;P&gt;I've this simple search that uses BY but it's not returning any results.  Without the BY clause, it's returning the correct results.  &lt;/P&gt;

&lt;P&gt;source="C:\tmp\log4j2.log" bam error  errorId  BY errorId &lt;/P&gt;

&lt;P&gt;any help is appreciated, thx.  I already checked the sql ref&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SQLtoSplunk"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SQLtoSplunk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2012 01:39:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-this-group-by-is-not-returning-results/m-p/28024#M5491</guid>
      <dc:creator>sou128</dc:creator>
      <dc:date>2012-04-17T01:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: why this group by is not returning results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-this-group-by-is-not-returning-results/m-p/28025#M5492</link>
      <description>&lt;P&gt;You will need to use the BY operator with a stats, chart  or timechart commmand.&lt;/P&gt;

&lt;P&gt;Example only :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="C:\tmp\log4j2.log" error bam | stats count BY errorId
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Apr 2012 01:47:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-this-group-by-is-not-returning-results/m-p/28025#M5492</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-04-17T01:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: why this group by is not returning results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-this-group-by-is-not-returning-results/m-p/28026#M5493</link>
      <description>&lt;P&gt;got it.&lt;/P&gt;

&lt;P&gt;| stats count(errorId) BY errorId&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2012 02:02:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-this-group-by-is-not-returning-results/m-p/28026#M5493</guid>
      <dc:creator>sou128</dc:creator>
      <dc:date>2012-04-17T02:02:14Z</dc:date>
    </item>
  </channel>
</rss>

