<?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: How to generate a graph to show daily unique users? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-graph-to-show-daily-unique-users/m-p/195778#M12242</link>
    <description>&lt;P&gt;Try using distinct count like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; "login *" sourcetype="*prod_logs"  | rex field=_raw "login (?&amp;lt;email&amp;gt;.*)"  | eval month_day=strftime(_time,"%2y/%2m/%2d") | chart dc(email) by month_day
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 19 Jan 2015 22:08:05 GMT</pubDate>
    <dc:creator>chanfoli</dc:creator>
    <dc:date>2015-01-19T22:08:05Z</dc:date>
    <item>
      <title>How to generate a graph to show daily unique users?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-graph-to-show-daily-unique-users/m-p/195777#M12241</link>
      <description>&lt;P&gt;I would like to generate a graph that shows the daily unique visitors login based on their e-mail address.&lt;/P&gt;

&lt;P&gt;If i logged in yesterday and today, my login should show yesterday and today. &lt;BR /&gt;
Currently I am running the following search and that shows my login only once.&lt;/P&gt;

&lt;P&gt;Below is the search string I am using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   "login *" sourcetype="*prod_logs"  | rex field=_raw "login (?&amp;lt;email&amp;gt;.*)"  | | dedup email | eval month_day=strftime(_time,"%2y/%2m/%2d") | chart count by month_day [Date Range: Month to date]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any suggestion on how to graph the unique logins for each day and not unique for "Month to date"?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 21:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-graph-to-show-daily-unique-users/m-p/195777#M12241</guid>
      <dc:creator>greekindian</dc:creator>
      <dc:date>2015-01-19T21:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a graph to show daily unique users?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-graph-to-show-daily-unique-users/m-p/195778#M12242</link>
      <description>&lt;P&gt;Try using distinct count like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; "login *" sourcetype="*prod_logs"  | rex field=_raw "login (?&amp;lt;email&amp;gt;.*)"  | eval month_day=strftime(_time,"%2y/%2m/%2d") | chart dc(email) by month_day
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Jan 2015 22:08:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-graph-to-show-daily-unique-users/m-p/195778#M12242</guid>
      <dc:creator>chanfoli</dc:creator>
      <dc:date>2015-01-19T22:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a graph to show daily unique users?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-graph-to-show-daily-unique-users/m-p/195779#M12243</link>
      <description>&lt;P&gt;Even easier, when you use the _time of the event, then:&lt;/P&gt;

&lt;P&gt;"login &lt;EM&gt;" sourcetype="*prod_logs"  | rex field=_raw "login (?.&lt;/EM&gt;)"&lt;BR /&gt;&lt;BR /&gt;
| timechart dc(email) &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:48:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-graph-to-show-daily-unique-users/m-p/195779#M12243</guid>
      <dc:creator>christoph_puppe</dc:creator>
      <dc:date>2020-09-29T19:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a graph to show daily unique users?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-graph-to-show-daily-unique-users/m-p/195780#M12244</link>
      <description>&lt;P&gt;See the answers below for working alternative solutions. Just wanted to point out why yours doesn’t work as intended:&lt;BR /&gt;
You do a dedup by email, which retains only a single event per user, loosing information on the date. You should have included _time in your dedup command.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jun 2018 01:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-generate-a-graph-to-show-daily-unique-users/m-p/195780#M12244</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-06-02T01:19:23Z</dc:date>
    </item>
  </channel>
</rss>

