<?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 Ranger Audit Retention in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Audit-Retention/m-p/141273#M32086</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I've searched around HCC and was unable to come up with an answer to: There doesn't seem to be a way to automatically define a retention policy for the Ranger Audit Data (audit data is kept indefinitely unless we manually remove it).  Is there a plan to add an automatic retention policy for these audit logs in HDFS and/or Solr? &lt;/P&gt;&lt;P&gt;* Falcon can be used for retention in HDFS - but will there be an easy-to-configure option under Ambari&amp;gt;Ranger under Audit?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2016 04:52:43 GMT</pubDate>
    <dc:creator>RyanCicak</dc:creator>
    <dc:date>2016-06-16T04:52:43Z</dc:date>
    <item>
      <title>Ranger Audit Retention</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Audit-Retention/m-p/141273#M32086</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I've searched around HCC and was unable to come up with an answer to: There doesn't seem to be a way to automatically define a retention policy for the Ranger Audit Data (audit data is kept indefinitely unless we manually remove it).  Is there a plan to add an automatic retention policy for these audit logs in HDFS and/or Solr? &lt;/P&gt;&lt;P&gt;* Falcon can be used for retention in HDFS - but will there be an easy-to-configure option under Ambari&amp;gt;Ranger under Audit?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 04:52:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Audit-Retention/m-p/141273#M32086</guid>
      <dc:creator>RyanCicak</dc:creator>
      <dc:date>2016-06-16T04:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Audit Retention</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Audit-Retention/m-p/141274#M32087</link>
      <description>&lt;P&gt;Ranger stores access audit logs in HDFS for long term archival. Retention period depends on compliance requirements of the customer; there is no automatic purging of audit log files in HDFS.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 13:19:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Audit-Retention/m-p/141274#M32087</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-06-16T13:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Audit Retention</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Audit-Retention/m-p/141275#M32088</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3584/rcicak.html" nodeid="3584"&gt;@Ryan Cicak&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The best practice is to configure Ranger audits to both Solr and HDFS. HDFS is used for long term audit storage so you won't want to delete audit data. Solr should be used for short term storage. By using Solr you have data indexed and you can query it quickly from Ranger UI. I am not aware of any setting or property in Ranger to set a TTL and automatically delete data. &lt;/P&gt;&lt;P&gt;You may leverage Solr TTL feature to purge data (&lt;A target="_blank" href="https://lucidworks.com/blog/2014/05/07/document-expiration/"&gt;link&lt;/A&gt;) or schedule a job to issue a delete query periodically. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 22:31:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Audit-Retention/m-p/141275#M32088</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2016-06-17T22:31:28Z</dc:date>
    </item>
  </channel>
</rss>

