<?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: Successful dormant user logins in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239615#M46579</link>
    <description>&lt;P&gt;Perhaps this will help.  The idea is to look at the last 30 days of successful logins and find the users that have signed in only once and that login was today.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog EventCode=4624 user!="$" earliest= -30d@d | stats count(_time) as Logins latest(_time) as LastLogin by user | where Logins=1 AND LastLogin&amp;gt;relative_time(now(),"@d") | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 08 Oct 2016 20:03:37 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2016-10-08T20:03:37Z</dc:date>
    <item>
      <title>Successful dormant user logins</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239612#M46576</link>
      <description>&lt;P&gt;hello I am trying to write a query for Successful dormant user logins &lt;BR /&gt;
whereas the user has successfully logged in today but in last 30 days  there was no activity done by this same user.&lt;/P&gt;

&lt;P&gt;Here is my query - (which needs refinement)&lt;/P&gt;

&lt;P&gt;index=wineventlog    EventCode=4624 user!="&lt;EM&gt;$" earliest= @d latest = now()|  transaction user [search EventCode!=4624 user!="&lt;/EM&gt;$" earliest=-2d latest=@d] | table _time, user&lt;/P&gt;

&lt;P&gt;if anyone can help in getting this refined and do what is needed, that would be great help. &lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 15:02:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239612#M46576</guid>
      <dc:creator>saurabh_tek</dc:creator>
      <dc:date>2016-10-08T15:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Successful dormant user logins</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239613#M46577</link>
      <description>&lt;P&gt;okay. I have optimized it a little bit apparently .. &lt;/P&gt;

&lt;P&gt;index=wineventlog    EventCode=4624 user!="&lt;EM&gt;$" earliest= @d latest = now() |  transaction user maxspan=60d search (EventCode!=&lt;/EM&gt;)&lt;/P&gt;

&lt;P&gt;looking for more suggestions.. to get this working what is intended&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 19:09:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239613#M46577</guid>
      <dc:creator>saurabh_tek</dc:creator>
      <dc:date>2016-10-08T19:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Successful dormant user logins</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239614#M46578</link>
      <description>&lt;P&gt;okay. I have optimized it a little bit apparently .. &lt;/P&gt;

&lt;P&gt;index=wineventlog    EventCode=4624 user!=\"&lt;EM&gt;$\" earliest= @d latest = now() |  transaction user maxspan=60d search (EventCode!=&lt;/EM&gt;)   &lt;/P&gt;

&lt;P&gt;looking for more suggestions.. to get this working what is intended&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 19:10:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239614#M46578</guid>
      <dc:creator>saurabh_tek</dc:creator>
      <dc:date>2016-10-08T19:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Successful dormant user logins</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239615#M46579</link>
      <description>&lt;P&gt;Perhaps this will help.  The idea is to look at the last 30 days of successful logins and find the users that have signed in only once and that login was today.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog EventCode=4624 user!="$" earliest= -30d@d | stats count(_time) as Logins latest(_time) as LastLogin by user | where Logins=1 AND LastLogin&amp;gt;relative_time(now(),"@d") | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Oct 2016 20:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239615#M46579</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-10-08T20:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Successful dormant user logins</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239616#M46580</link>
      <description>&lt;P&gt;Thanks for prompt support. &lt;BR /&gt;
With earliest 30 days, it takes way too much time and showing lot of users with 1 logins, i dont think these many users accessing their dormant a/cs in our environment.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 20:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Successful-dormant-user-logins/m-p/239616#M46580</guid>
      <dc:creator>saurabh_tek</dc:creator>
      <dc:date>2016-10-11T20:52:08Z</dc:date>
    </item>
  </channel>
</rss>

