<?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 summary help?  Only linux systems showing up in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Stats-summary-help-Only-linux-systems-showing-up/m-p/68819#M17274</link>
    <description>&lt;P&gt;Weird. Well, try this:&lt;/P&gt;

&lt;P&gt;splunk_server="SERVERNAME" | &lt;BR /&gt;
eval date_mday = tonumber(strftime(_time,"%d")) |&lt;BR /&gt;
stats count by host source date_mday&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 11:22:31 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2020-09-28T11:22:31Z</dc:date>
    <item>
      <title>Stats summary help?  Only linux systems showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Stats-summary-help-Only-linux-systems-showing-up/m-p/68816#M17271</link>
      <description>&lt;P&gt;I'm using this query right now:&lt;BR /&gt;
stats count by host, source, date_mday&lt;/P&gt;

&lt;P&gt;It only lists Linux hosts but lists the data exactly as I need.  We've got a bunch of Windows boxes and I'm not sure exactly why the filtering is happening.  I'm guessing because of date_ mday.  The reason I'm using date_ mday is because I want to break down the count of log data by host and by source so that I can make sure I'm collecting everything as expected.  Should I be using something based off _time?  Is there a better way to get the summary I'm looking for?&lt;/P&gt;

&lt;P&gt;I'm guessing this is something fairly simple, but I'm pretty new to splunk.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 16:08:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Stats-summary-help-Only-linux-systems-showing-up/m-p/68816#M17271</guid>
      <dc:creator>dave_rook</dc:creator>
      <dc:date>2012-02-09T16:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Stats summary help?  Only linux systems showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Stats-summary-help-Only-linux-systems-showing-up/m-p/68817#M17272</link>
      <description>&lt;P&gt;date_mday is created by Splunk, based on the time. This field exists for all events, regardless of source.&lt;/P&gt;

&lt;P&gt;What you are showing is just the command part of a search string. Can you show the entire search string? &lt;/P&gt;

&lt;P&gt;In the meantime, are any other queries working? When you login to Splunk, do you see any Windows data on the Summary page? Is the Windows data perhaps in a different index?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 16:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Stats-summary-help-Only-linux-systems-showing-up/m-p/68817#M17272</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-02-09T16:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Stats summary help?  Only linux systems showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Stats-summary-help-Only-linux-systems-showing-up/m-p/68818#M17273</link>
      <description>&lt;P&gt;When I use the same search string without date_mday, the Windows sources show up as I'd expect.&lt;/P&gt;

&lt;P&gt;The only other detail is that I'm limiting my search to a specific splunk server to limit the scope of my search:&lt;BR /&gt;
splunk_server="SERVERNAME" | stats count by host, source, date_mday&lt;/P&gt;

&lt;P&gt;I did set a date restriction (2012-02-01 00:00:00 to now).  I'm not aware of any other input I might be excluding, as this is all I'm specifying in splunk.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:22:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Stats-summary-help-Only-linux-systems-showing-up/m-p/68818#M17273</guid>
      <dc:creator>dave_rook</dc:creator>
      <dc:date>2020-09-28T11:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Stats summary help?  Only linux systems showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Stats-summary-help-Only-linux-systems-showing-up/m-p/68819#M17274</link>
      <description>&lt;P&gt;Weird. Well, try this:&lt;/P&gt;

&lt;P&gt;splunk_server="SERVERNAME" | &lt;BR /&gt;
eval date_mday = tonumber(strftime(_time,"%d")) |&lt;BR /&gt;
stats count by host source date_mday&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:22:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Stats-summary-help-Only-linux-systems-showing-up/m-p/68819#M17274</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2020-09-28T11:22:31Z</dc:date>
    </item>
  </channel>
</rss>

