<?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>question Re: rest api to fetch the details uses who did not log in in ambari since last n days in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/rest-api-to-fetch-the-details-uses-who-did-not-log-in-in/m-p/225981#M79788</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19322/mishraanurag643.html" nodeid="19322"&gt;@Anurag Mishra&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ambari does not maintain this information. Which means thewre is no database/table/column where we can see the information about last logged in Time for a user.  Hence there is no API available for the same.&lt;/P&gt;&lt;P&gt;However you can parse the "ambari-audit.log" to extract similar kind of info&lt;/P&gt;&lt;PRE&gt;# grep 'User login' /var/log/ambari-server/ambari-audit.log &lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19322/mishraanurag643.html" nodeid="19322"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Fri, 22 Jun 2018 12:58:47 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-06-22T12:58:47Z</dc:date>
    <item>
      <title>rest api to fetch the details uses who did not log in in ambari since last n days</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/rest-api-to-fetch-the-details-uses-who-did-not-log-in-in/m-p/225980#M79787</link>
      <description>&lt;P&gt;Is there some rest api by using that I can fetch list of users who has not logged in ambari since some days let's say n number of days ?&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 12:40:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/rest-api-to-fetch-the-details-uses-who-did-not-log-in-in/m-p/225980#M79787</guid>
      <dc:creator>amol_08</dc:creator>
      <dc:date>2018-06-22T12:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: rest api to fetch the details uses who did not log in in ambari since last n days</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/rest-api-to-fetch-the-details-uses-who-did-not-log-in-in/m-p/225981#M79788</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19322/mishraanurag643.html" nodeid="19322"&gt;@Anurag Mishra&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ambari does not maintain this information. Which means thewre is no database/table/column where we can see the information about last logged in Time for a user.  Hence there is no API available for the same.&lt;/P&gt;&lt;P&gt;However you can parse the "ambari-audit.log" to extract similar kind of info&lt;/P&gt;&lt;PRE&gt;# grep 'User login' /var/log/ambari-server/ambari-audit.log &lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19322/mishraanurag643.html" nodeid="19322"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 12:58:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/rest-api-to-fetch-the-details-uses-who-did-not-log-in-in/m-p/225981#M79788</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-06-22T12:58:47Z</dc:date>
    </item>
  </channel>
</rss>

