<?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 How can I create a barchart comparing active unique users vs. total users by month? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-create-a-barchart-comparing-active-unique-users-vs/m-p/357009#M65191</link>
    <description>&lt;P&gt;How do I create a comparison bar chart of active unique user vs total user by month on Splunk search head? &lt;BR /&gt;
Both are coming from separate data sources.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Sep 2017 16:45:54 GMT</pubDate>
    <dc:creator>svemurilv</dc:creator>
    <dc:date>2017-09-25T16:45:54Z</dc:date>
    <item>
      <title>How can I create a barchart comparing active unique users vs. total users by month?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-create-a-barchart-comparing-active-unique-users-vs/m-p/357009#M65191</link>
      <description>&lt;P&gt;How do I create a comparison bar chart of active unique user vs total user by month on Splunk search head? &lt;BR /&gt;
Both are coming from separate data sources.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 16:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-create-a-barchart-comparing-active-unique-users-vs/m-p/357009#M65191</guid>
      <dc:creator>svemurilv</dc:creator>
      <dc:date>2017-09-25T16:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a barchart comparing active unique users vs. total users by month?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-create-a-barchart-comparing-active-unique-users-vs/m-p/357010#M65192</link>
      <description>&lt;P&gt;You need to write something like this...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; your search that gets the active users with _time and user 
   | bin _time as Day span=1d
   | stats count as visits by user Day
   | bin Day as Month span=1mon 
   | stats dc(user) as userCount sum(visits) as visitCount  count(visits) as userDayCount by Month 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now you have one record for each month, with the total unique visitors that month (userCount) and the total number of user-days (userDayCount)  and the total number of visits (visitCount).  If a particular user visited 50 times across 7 days in a particular month, then he will be counted 1, 7, and 50 times, respectively.   &lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 17:08:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-create-a-barchart-comparing-active-unique-users-vs/m-p/357010#M65192</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-09-25T17:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a barchart comparing active unique users vs. total users by month?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-create-a-barchart-comparing-active-unique-users-vs/m-p/357011#M65193</link>
      <description>&lt;P&gt;okay thanks for the reply but am asking to create the Active users Vs Total users on splunk.&lt;/P&gt;

&lt;P&gt;index=_audit action="login attempt" "info=succeeded"  | dedup user |rename user as "ActiveUsers"&lt;BR /&gt;
      |stats  count(ActiveUsers) AS Active &lt;BR /&gt;
       |join ActiveUsers [ |rest /services/authentication/users splunk_server=local &lt;BR /&gt;
 |fields title roles realname|rename title as ALLuserName  |stats   count(ALLuserName) AS Total  ] &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-create-a-barchart-comparing-active-unique-users-vs/m-p/357011#M65193</guid>
      <dc:creator>svemurilv</dc:creator>
      <dc:date>2020-09-29T15:52:11Z</dc:date>
    </item>
  </channel>
</rss>

