<?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 Activity Counts in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Activity-Counts/m-p/526197#M148515</link>
    <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I am looking for a way to list the counts by customer (for example, including 0 activity) for the past hour, among all customers so far that has had activity since the start of the day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Example: John (15), Dave (10) and Maria (8) so far for the day. Within the past hour: Dave (3).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;The result I am looking for is something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;John (0), Dave (3), Maria (0).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I have looked at map, joins and subsearches, but nothing&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;so far works. I need to list the 0 activity as well since they have been active for the day, just not in the last hour. Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 09:10:30 GMT</pubDate>
    <dc:creator>OliverG91</dc:creator>
    <dc:date>2020-10-23T09:10:30Z</dc:date>
    <item>
      <title>Activity Counts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Activity-Counts/m-p/526197#M148515</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I am looking for a way to list the counts by customer (for example, including 0 activity) for the past hour, among all customers so far that has had activity since the start of the day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Example: John (15), Dave (10) and Maria (8) so far for the day. Within the past hour: Dave (3).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;The result I am looking for is something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;John (0), Dave (3), Maria (0).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I have looked at map, joins and subsearches, but nothing&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;so far works. I need to list the 0 activity as well since they have been active for the day, just not in the last hour. Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 09:10:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Activity-Counts/m-p/526197#M148515</guid>
      <dc:creator>OliverG91</dc:creator>
      <dc:date>2020-10-23T09:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Activity Counts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Activity-Counts/m-p/526205#M148519</link>
      <description>&lt;LI-CODE lang="markup"&gt;``` get hourly count by user over period of search ```
| bin span=1h _time
| stats count by user _time
``` reset counts to zero for earlier hours ```
| eval count=if(_time &amp;gt;= relative_time(now(),"@h"), count, 0)
``` sum counts by user ```
| stats sum(count) as count by user&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 23 Oct 2020 10:16:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Activity-Counts/m-p/526205#M148519</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-10-23T10:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Activity Counts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Activity-Counts/m-p/526279#M148540</link>
      <description>&lt;P&gt;It worked perfectly,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 20:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Activity-Counts/m-p/526279#M148540</guid>
      <dc:creator>OliverG91</dc:creator>
      <dc:date>2020-10-23T20:52:17Z</dc:date>
    </item>
  </channel>
</rss>

