<?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 count for different day in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654211#M226058</link>
    <description>&lt;LI-CODE lang="markup"&gt;your search
| bin _time span=1d
| stats count by _time field1 field2 field3&lt;/LI-CODE&gt;&lt;P&gt;also you will need your time range window to cover the time range you are interested in&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;timechart&amp;nbsp;&lt;/STRONG&gt; command may also be useful&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 02:31:53 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-08-14T02:31:53Z</dc:date>
    <item>
      <title>How to do stats count for different day?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654210#M226057</link>
      <description>&lt;P&gt;| stats count by field1&amp;nbsp;field1 field2 field3 only show yesterday count,&amp;nbsp; how can I&amp;nbsp; show count1 for yesterday, count2 for 2-day ago, count3 for 3-day ago,&lt;/P&gt;
&lt;P&gt;shown as following&lt;/P&gt;
&lt;P&gt;field1&amp;nbsp; &amp;nbsp;field2 field3 count1 count2 coun3&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 17:40:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654210#M226057</guid>
      <dc:creator>rick1168</dc:creator>
      <dc:date>2023-08-14T17:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: stats count for different day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654211#M226058</link>
      <description>&lt;LI-CODE lang="markup"&gt;your search
| bin _time span=1d
| stats count by _time field1 field2 field3&lt;/LI-CODE&gt;&lt;P&gt;also you will need your time range window to cover the time range you are interested in&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;timechart&amp;nbsp;&lt;/STRONG&gt; command may also be useful&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 02:31:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654211#M226058</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-14T02:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: stats count for different day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654212#M226059</link>
      <description>&lt;P&gt;Could timechart multiple fields and time window in column?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 02:58:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654212#M226059</guid>
      <dc:creator>rick1168</dc:creator>
      <dc:date>2023-08-14T02:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: stats count for different day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654214#M226060</link>
      <description>&lt;P&gt;No timechart is only a single split field, but I mentioned it in case it was relevant.&lt;/P&gt;&lt;P&gt;The stats command with _time and the bin command should do the trick for you.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 03:01:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654214#M226060</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-14T03:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: stats count for different day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654227#M226069</link>
      <description>&lt;LI-CODE lang="markup"&gt;| bin _time span=1d
| stats count by _time field1 field2 field3
| eventstats values(_time) as dates
| eval day=mvfind(dates, _time)+1
| eval count{day} = count
| fields - count dates day _time
| stats values(*) as * by field1 field2 field3&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 14 Aug 2023 06:16:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654227#M226069</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-14T06:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: stats count for different day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654619#M226160</link>
      <description>&lt;P&gt;&lt;FONT&gt;它有效&lt;/FONT&gt;. thanks&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 08:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-stats-count-for-different-day/m-p/654619#M226160</guid>
      <dc:creator>rick1168</dc:creator>
      <dc:date>2023-08-17T08:05:09Z</dc:date>
    </item>
  </channel>
</rss>

