<?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: Pull list of user accounts with last logon in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Pull-list-of-user-accounts-with-last-logon/m-p/568841#M198254</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226782"&gt;@ctaylor3819&lt;/a&gt;&amp;nbsp;Try using the below query for the date and time:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eventtype=wineventlog_security (EventCode=4776 OR EventCode=4777 OR EventCode=680 OR EventCode=681) 
| stats latest(_time) as Latest_Time by Logon_Account 
| convert ctime(Latest_Time)&lt;/LI-CODE&gt;&lt;P&gt;In order to filter the users you can you a lookup file containing the list of users you want to get or the list of genuine users and use a lookup command to get only those users.&lt;BR /&gt;&lt;BR /&gt;Also, If this reply helps you, an upvote would be appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Sep 2021 20:22:26 GMT</pubDate>
    <dc:creator>ashvinpandey</dc:creator>
    <dc:date>2021-09-28T20:22:26Z</dc:date>
    <item>
      <title>Pull list of user accounts with last logon</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pull-list-of-user-accounts-with-last-logon/m-p/568837#M198251</link>
      <description>&lt;P&gt;How do I pull together a chart of all our user accounts, with the last time that user logged in?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have:&amp;nbsp;&lt;/P&gt;&lt;P&gt;eventtype=wineventlog_security (EventCode=4776 OR EventCode=4777 OR EventCode=680 OR EventCode=681) | stats max(Time) by Logon_Account&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the time but also need to display the date. I am also getting a lot of service accounts, is there an easy way to filter those out?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 19:54:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pull-list-of-user-accounts-with-last-logon/m-p/568837#M198251</guid>
      <dc:creator>ctaylor3819</dc:creator>
      <dc:date>2021-09-28T19:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pull list of user accounts with last logon</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pull-list-of-user-accounts-with-last-logon/m-p/568841#M198254</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226782"&gt;@ctaylor3819&lt;/a&gt;&amp;nbsp;Try using the below query for the date and time:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eventtype=wineventlog_security (EventCode=4776 OR EventCode=4777 OR EventCode=680 OR EventCode=681) 
| stats latest(_time) as Latest_Time by Logon_Account 
| convert ctime(Latest_Time)&lt;/LI-CODE&gt;&lt;P&gt;In order to filter the users you can you a lookup file containing the list of users you want to get or the list of genuine users and use a lookup command to get only those users.&lt;BR /&gt;&lt;BR /&gt;Also, If this reply helps you, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 20:22:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pull-list-of-user-accounts-with-last-logon/m-p/568841#M198254</guid>
      <dc:creator>ashvinpandey</dc:creator>
      <dc:date>2021-09-28T20:22:26Z</dc:date>
    </item>
  </channel>
</rss>

