<?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: Identifying user activity by day and rolling that up to a month? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Identifying-user-activity-by-day-and-rolling-that-up-to-a-month/m-p/37890#M6960</link>
    <description>&lt;P&gt;perfect! you've saved me hours!!!&lt;/P&gt;</description>
    <pubDate>Fri, 17 Aug 2012 06:40:03 GMT</pubDate>
    <dc:creator>sf-mike</dc:creator>
    <dc:date>2012-08-17T06:40:03Z</dc:date>
    <item>
      <title>Identifying user activity by day and rolling that up to a month?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Identifying-user-activity-by-day-and-rolling-that-up-to-a-month/m-p/37888#M6958</link>
      <description>&lt;P&gt;I need to create a report showing activity over over the entire month. I need a histogram showing distribution of unique users who used the product on 1 day within that period, 2 days, 3 days, etc. , up to 30 days. There's a field for each user called 'u' which I can/need to use.&lt;/P&gt;

&lt;P&gt;Here's what I was given as an example of what I need to create:&lt;/P&gt;

&lt;P&gt;Session_days             unique_users&lt;BR /&gt;
1                         2300323&lt;BR /&gt;
2                         233555&lt;BR /&gt;
3                         1255&lt;BR /&gt;
4                         304&lt;BR /&gt;
5                         233&lt;BR /&gt;
6&lt;BR /&gt;
:&lt;BR /&gt;
:&lt;BR /&gt;
30                        1&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Identifying-user-activity-by-day-and-rolling-that-up-to-a-month/m-p/37888#M6958</guid>
      <dc:creator>sf-mike</dc:creator>
      <dc:date>2020-09-28T12:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying user activity by day and rolling that up to a month?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Identifying-user-activity-by-day-and-rolling-that-up-to-a-month/m-p/37889#M6959</link>
      <description>&lt;P&gt;This depends a little bit on the format of your data. I'm assuming that you have some sort of log where you have multiple entries per user per day, but you only want to count that as a single visit or session.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats dc(date_mday) as Session_days by u | top 30 Session_days | rename count as unique_users | fields - percent
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That should get you what you want i believe.&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2012 06:18:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Identifying-user-activity-by-day-and-rolling-that-up-to-a-month/m-p/37889#M6959</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-08-17T06:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying user activity by day and rolling that up to a month?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Identifying-user-activity-by-day-and-rolling-that-up-to-a-month/m-p/37890#M6960</link>
      <description>&lt;P&gt;perfect! you've saved me hours!!!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2012 06:40:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Identifying-user-activity-by-day-and-rolling-that-up-to-a-month/m-p/37890#M6960</guid>
      <dc:creator>sf-mike</dc:creator>
      <dc:date>2012-08-17T06:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying user activity by day and rolling that up to a month?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Identifying-user-activity-by-day-and-rolling-that-up-to-a-month/m-p/37891#M6961</link>
      <description>&lt;P&gt;Glad to hear that - just make sure to verify that the answers are correct, I haven't had my morning coffee yet, so I'm not really responsible for my actions.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2012 06:43:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Identifying-user-activity-by-day-and-rolling-that-up-to-a-month/m-p/37891#M6961</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-08-17T06:43:14Z</dc:date>
    </item>
  </channel>
</rss>

