<?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: User last login date in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21774#M3622</link>
    <description>&lt;P&gt;Should be like this:&lt;BR /&gt;
i&lt;CODE&gt;index=_audit action="login attempt" | stats latest(user) by user&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;It should actually not matter what you put inside the latest()...&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2017 10:58:11 GMT</pubDate>
    <dc:creator>bjoernhansen</dc:creator>
    <dc:date>2017-11-07T10:58:11Z</dc:date>
    <item>
      <title>User last login date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21766#M3614</link>
      <description>&lt;P&gt;I have a about 250 users and I would like to to know when was the last time each of them have logged in. Is there a query that I can use.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2010 21:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21766#M3614</guid>
      <dc:creator>sanju005ind</dc:creator>
      <dc:date>2010-07-28T21:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: User last login date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21767#M3615</link>
      <description>&lt;P&gt;Can you elaborate a bit please? Are they splunk users and you want to look at splunk's audit logs or are they users in a different system? If they are a different system, what system, how do you get the logs, can you provide sample data?&lt;/P&gt;

&lt;P&gt;You'll get a better answer the more detail you provide.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2010 21:47:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21767#M3615</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-07-28T21:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: User last login date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21768#M3616</link>
      <description>&lt;P&gt;They are splunk users. I would like to know when each user last logged in Splunk.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2010 21:48:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21768#M3616</guid>
      <dc:creator>sanju005ind</dc:creator>
      <dc:date>2010-07-28T21:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: User last login date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21769#M3617</link>
      <description>&lt;P&gt;Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action="login attempt" | stats max(timestamp) by user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Jul 2010 22:36:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21769#M3617</guid>
      <dc:creator>wollinet</dc:creator>
      <dc:date>2010-07-28T22:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: User last login date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21770#M3618</link>
      <description>&lt;P&gt;That works! Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2010 22:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21770#M3618</guid>
      <dc:creator>sanju005ind</dc:creator>
      <dc:date>2010-07-28T22:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: User last login date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21771#M3619</link>
      <description>&lt;P&gt;action="login attempt"  is not logged for 6.2.2 it seems.. &lt;/P&gt;

&lt;P&gt;works for 6.1.4  Build 233537&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21771#M3619</guid>
      <dc:creator>stanwin</dc:creator>
      <dc:date>2015-07-14T10:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: User last login date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21772#M3620</link>
      <description>&lt;P&gt;It works ok for 6.3.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 19:54:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21772#M3620</guid>
      <dc:creator>marcospmr</dc:creator>
      <dc:date>2016-03-11T19:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: User last login date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21773#M3621</link>
      <description>&lt;P&gt;The answer of wollinet works only for the current year, because the timestamp is mm-dd-yy.&lt;BR /&gt;
So if you did login in December 2016 and January 2017, the last login will be December 2016.&lt;/P&gt;

&lt;P&gt;Is it possible to modify the query that the order is yy-mm-dd?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 06:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21773#M3621</guid>
      <dc:creator>chrisitanmoleck</dc:creator>
      <dc:date>2017-08-21T06:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: User last login date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21774#M3622</link>
      <description>&lt;P&gt;Should be like this:&lt;BR /&gt;
i&lt;CODE&gt;index=_audit action="login attempt" | stats latest(user) by user&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;It should actually not matter what you put inside the latest()...&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 10:58:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/User-last-login-date/m-p/21774#M3622</guid>
      <dc:creator>bjoernhansen</dc:creator>
      <dc:date>2017-11-07T10:58:11Z</dc:date>
    </item>
  </channel>
</rss>

