<?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 Chart of unique user logins per day in Security</title>
    <link>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495269#M11314</link>
    <description>&lt;P&gt;I feel like an idiot because this should be simple. I'm trying to get a basic graph showing unique user logins per day for our Splunk Cloud environment. This search came from the "Utilization Monitor for Splunk" app and I thought it would be as easy as adding "by day" to the stats segment but that didn't work. &lt;/P&gt;

&lt;P&gt;index=_audit user!="splunk-system-user" user!="N/A" user=* host=*   NOT (action=log* info=fail*) | stats dc(user) as "Splunkers"&lt;/P&gt;

&lt;P&gt;If I were the only user to log in and I only work mon-fri then I would expect the chart to be something like 0,1,1,1,1,1,0. &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8285iA4E6896CC8C47FE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Can someone please point out what I'm missing before I lose the little hair I have left?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 16:55:25 GMT</pubDate>
    <dc:creator>jeck11</dc:creator>
    <dc:date>2020-01-23T16:55:25Z</dc:date>
    <item>
      <title>Chart of unique user logins per day</title>
      <link>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495269#M11314</link>
      <description>&lt;P&gt;I feel like an idiot because this should be simple. I'm trying to get a basic graph showing unique user logins per day for our Splunk Cloud environment. This search came from the "Utilization Monitor for Splunk" app and I thought it would be as easy as adding "by day" to the stats segment but that didn't work. &lt;/P&gt;

&lt;P&gt;index=_audit user!="splunk-system-user" user!="N/A" user=* host=*   NOT (action=log* info=fail*) | stats dc(user) as "Splunkers"&lt;/P&gt;

&lt;P&gt;If I were the only user to log in and I only work mon-fri then I would expect the chart to be something like 0,1,1,1,1,1,0. &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8285iA4E6896CC8C47FE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Can someone please point out what I'm missing before I lose the little hair I have left?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 16:55:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495269#M11314</guid>
      <dc:creator>jeck11</dc:creator>
      <dc:date>2020-01-23T16:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Chart of unique user logins per day</title>
      <link>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495270#M11315</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_audit user!="splunk-system-user" user!="N/A" user=* host=* NOT (action=log* info=fail*) | chart dc(user) as "Splunkers" by user , date_wday&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Thanks &lt;BR /&gt;
Anantha&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 17:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495270#M11315</guid>
      <dc:creator>Anantha123</dc:creator>
      <dc:date>2020-01-23T17:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Chart of unique user logins per day</title>
      <link>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495271#M11316</link>
      <description>&lt;P&gt;That broke it down more granularly than I was looking for. I updated the question with an example chart.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 18:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495271#M11316</guid>
      <dc:creator>jeck11</dc:creator>
      <dc:date>2020-01-23T18:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Chart of unique user logins per day</title>
      <link>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495272#M11317</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=_audit user!="splunk-system-user" user!="N/A" user=* host=* NOT (action=log* info=fail*)
| eval date_wday=strftime(_time,"%F")
| chart dc(user) as "Splunkers" by  date_wday,user
| eval date_wday=strftime(strptime(date_wday,"%F"),"%A")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jan 2020 19:16:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495272#M11317</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-23T19:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Chart of unique user logins per day</title>
      <link>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495273#M11318</link>
      <description>&lt;P&gt;index=_audit user!="splunk-system-user" user!="N/A" user=* host=* NOT (action=log* info=fail*)&lt;BR /&gt;
 | eval date_wday=strftime(_time,"%F")&lt;BR /&gt;
 | chart dc(user) as "Splunkers" by  date_wday&lt;/P&gt;

&lt;P&gt;Thank you! The strftime is the key for getting the data I needed. &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:51:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Chart-of-unique-user-logins-per-day/m-p/495273#M11318</guid>
      <dc:creator>jeck11</dc:creator>
      <dc:date>2020-09-30T03:51:58Z</dc:date>
    </item>
  </channel>
</rss>

