<?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: Count Issues in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Count-Issues/m-p/436622#M124422</link>
    <description>&lt;P&gt;try use the &lt;CODE&gt;stats&lt;/CODE&gt; command, understand the attributes and the &lt;CODE&gt;by&lt;/CODE&gt; clause. and also work on your arguments of the &lt;CODE&gt;bin&lt;/CODE&gt; / &lt;CODE&gt;bucket&lt;/CODE&gt; commands&lt;BR /&gt;
read here:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/SearchReference/Bin"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/SearchReference/Bin&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=x sourcetype=x host=*
| bucket _time span=1day
| stats count by host _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2019 23:25:26 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2019-05-01T23:25:26Z</dc:date>
    <item>
      <title>Count Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Count-Issues/m-p/436621#M124421</link>
      <description>&lt;P&gt;I'm trying to count all my data by each day of the week each time a host is hit. &lt;BR /&gt;
EX: machine a has a script run once Monday, and Tuesday and three times on Wednesday. I just wanna track how many times a week it's hit per week. I know I can bucket _time but can't get the count function to properly display the info. &lt;/P&gt;

&lt;P&gt;index=x sourcetype=x host=*&lt;BR /&gt;
| bucket _time span=day&lt;BR /&gt;
| count by host by day&lt;/P&gt;

&lt;P&gt;Any help would be much appreciated&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 21:37:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Count-Issues/m-p/436621#M124421</guid>
      <dc:creator>garrettpelak5</dc:creator>
      <dc:date>2019-05-01T21:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Count-Issues/m-p/436622#M124422</link>
      <description>&lt;P&gt;try use the &lt;CODE&gt;stats&lt;/CODE&gt; command, understand the attributes and the &lt;CODE&gt;by&lt;/CODE&gt; clause. and also work on your arguments of the &lt;CODE&gt;bin&lt;/CODE&gt; / &lt;CODE&gt;bucket&lt;/CODE&gt; commands&lt;BR /&gt;
read here:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/SearchReference/Bin"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/SearchReference/Bin&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=x sourcetype=x host=*
| bucket _time span=1day
| stats count by host _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 23:25:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Count-Issues/m-p/436622#M124422</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-05-01T23:25:26Z</dc:date>
    </item>
  </channel>
</rss>

