<?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 are certain events not showing in '| stats count' output? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-certain-events-not-showing-in-stats-count-output/m-p/154723#M43510</link>
    <description>&lt;P&gt;Do you mean in parenthesis?  &lt;/P&gt;

&lt;P&gt;I tried your example and get the same results.  &lt;/P&gt;

&lt;P&gt;Any other ideas?  &lt;/P&gt;

&lt;P&gt;Thanks! &lt;/P&gt;</description>
    <pubDate>Wed, 18 Feb 2015 23:32:16 GMT</pubDate>
    <dc:creator>agoktas</dc:creator>
    <dc:date>2015-02-18T23:32:16Z</dc:date>
    <item>
      <title>Why are certain events not showing in '| stats count' output?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-certain-events-not-showing-in-stats-count-output/m-p/154721#M43508</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;The following search:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=app_win source=service State=Stopped StartMode (Auto OR Manual) Name=*IBM* OR Description=*IBM* OR DisplayName=*IBM* | stats count by DisplayName StartMode host Description | rename DisplayName as "Service Name"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;does not show some events.  &lt;/P&gt;

&lt;P&gt;Here is an example of one that shows up just fine:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Type=Service 
Name="IBMWAS70Service - TOS_Server_Server01" 
DisplayName="IBM WebSphere Application Server V7.0 - TOS_Server_Server01" 
Description="Controls the running of an IBM WebSphere Application Server V7.0 server named: TOS_Server_Server01" 
Path=""C:\vol\data\IBM\WebSphere\AppServer-V70\bin\wasservice.exe" "IBMWAS70Service - TOS_Server_Server01"" 
ServiceType="Own Process" 
StartMode="Manual" 
Started=false 
State="Stopped" 
Status="OK" 
ProcessId=0
host = server01
source = service
sourcetype = WinHostMon
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is an example of one that does NOT show up in the | stats output:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Type=Service 
Name="MailService" 
DisplayName="IBM Rational ClearQuest Mail Service" 
Description= 
Path=""C:\Program Files (x86)\IBM\RationalSDLC\ClearQuest\mailservice.exe"" 
ServiceType="Own Process" 
StartMode="Auto" 
Started=false 
State="Stopped" 
Status="OK" 
ProcessId=0
host = server02
source = service
sourcetype = WinHostMon
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas?  &lt;/P&gt;

&lt;P&gt;Perhaps something to do with the description being blank?  Why would that matter (especially when using an OR operator)? &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 21:33:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-certain-events-not-showing-in-stats-count-output/m-p/154721#M43508</guid>
      <dc:creator>agoktas</dc:creator>
      <dc:date>2015-02-18T21:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why are certain events not showing in '| stats count' output?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-certain-events-not-showing-in-stats-count-output/m-p/154722#M43509</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=app_win source=service State=Stopped StartMode (Auto OR Manual) (Name="*IBM*" OR Description="*IBM*" OR DisplayName="*IBM*") | stats count by DisplayName StartMode host Description | rename DisplayName as "Service Name"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try with the or's bracketed.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:25:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-certain-events-not-showing-in-stats-count-output/m-p/154722#M43509</guid>
      <dc:creator>ramdaspr</dc:creator>
      <dc:date>2015-02-18T22:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why are certain events not showing in '| stats count' output?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-certain-events-not-showing-in-stats-count-output/m-p/154723#M43510</link>
      <description>&lt;P&gt;Do you mean in parenthesis?  &lt;/P&gt;

&lt;P&gt;I tried your example and get the same results.  &lt;/P&gt;

&lt;P&gt;Any other ideas?  &lt;/P&gt;

&lt;P&gt;Thanks! &lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 23:32:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-certain-events-not-showing-in-stats-count-output/m-p/154723#M43510</guid>
      <dc:creator>agoktas</dc:creator>
      <dc:date>2015-02-18T23:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why are certain events not showing in '| stats count' output?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-certain-events-not-showing-in-stats-count-output/m-p/154724#M43511</link>
      <description>&lt;P&gt;I found the answer (Thanks to Splunk Support staff):  &lt;/P&gt;

&lt;P&gt;When the stats is used  for multiple column, it will only consider the rows that values for all of the fields listed in "by" part of stats &lt;/P&gt;

&lt;P&gt;To pull all rows you need to use fillnull option as covered in &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.3/SearchReference/Fillnull"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.3/SearchReference/Fillnull&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;All you need to do with add&lt;BR /&gt;
| fillnull value=NULL&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 21:24:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-certain-events-not-showing-in-stats-count-output/m-p/154724#M43511</guid>
      <dc:creator>agoktas</dc:creator>
      <dc:date>2015-02-24T21:24:09Z</dc:date>
    </item>
  </channel>
</rss>

