<?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 Can the ranger audit records that are stored in HDFS be viewed through Ranger Audit UI? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-records-that-are-stored-in-HDFS-be/m-p/157166#M24468</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have Ranger 0.5.0.2.3 and HDP 2.3.4. In the Ranger configuration, there is option to store the Ranger audit records to HDFS. Is it possible to view the audit records that are stored in HDFS through the Ranger UI? &lt;/P&gt;&lt;P&gt;Is it possible to store the audit records to just in HDFS (No Solr, or DB), if so how to view them and what should I be setting the &lt;STRONG&gt;ranger.&lt;/STRONG&gt;&lt;STRONG&gt;audit.&lt;/STRONG&gt;&lt;STRONG&gt;source.&lt;/STRONG&gt;&lt;STRONG&gt;type &lt;/STRONG&gt;property be set to? &lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Madhavi. &lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2016 02:45:50 GMT</pubDate>
    <dc:creator>mamirne</dc:creator>
    <dc:date>2016-04-06T02:45:50Z</dc:date>
    <item>
      <title>Can the ranger audit records that are stored in HDFS be viewed through Ranger Audit UI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-records-that-are-stored-in-HDFS-be/m-p/157166#M24468</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have Ranger 0.5.0.2.3 and HDP 2.3.4. In the Ranger configuration, there is option to store the Ranger audit records to HDFS. Is it possible to view the audit records that are stored in HDFS through the Ranger UI? &lt;/P&gt;&lt;P&gt;Is it possible to store the audit records to just in HDFS (No Solr, or DB), if so how to view them and what should I be setting the &lt;STRONG&gt;ranger.&lt;/STRONG&gt;&lt;STRONG&gt;audit.&lt;/STRONG&gt;&lt;STRONG&gt;source.&lt;/STRONG&gt;&lt;STRONG&gt;type &lt;/STRONG&gt;property be set to? &lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Madhavi. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 02:45:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-records-that-are-stored-in-HDFS-be/m-p/157166#M24468</guid>
      <dc:creator>mamirne</dc:creator>
      <dc:date>2016-04-06T02:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can the ranger audit records that are stored in HDFS be viewed through Ranger Audit UI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-records-that-are-stored-in-HDFS-be/m-p/157167#M24469</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/2669/mamirne.html" nodeid="2669"&gt;@Madhavi Amirneni&lt;/A&gt;, Yes, it is possible to store audit records only in HDFS but they cannot be viewed through Ranger UI. The main reason is that search is not supported. To view records in UI, a DB or Solr have to be  configured and ranger.audit.source.type set to either db or solr. By the way, audit records in HDFS are stored in text files, as Json objects, see a sample below (audit for HDFS),  and can be explored using another tool. The directories are organized by day, for example: /ranger/audit/hdfs/20160404.&lt;/P&gt;&lt;PRE&gt;{"repoType":1,"repo":"Sandbox_hadoop","reqUser":"oozie","evtTime":"2016-04-04 01:27:05.123","access":"READ_EXECUTE","resource":"/user/oozie/share/lib","resType":"path","result":1,"policy":7,"reason":"/user/oozie/share/lib","enforcer":"ranger-acl","cliIP":"10.0.2.15","agentHost":"sandbox.hortonworks.com","logType":"RangerAudit","id":"49abe678-ffa7-46cd-ba1f-de85368dd88c","seq_num":81811,"event_count":1,"event_dur_ms":0}&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Apr 2016 04:13:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-records-that-are-stored-in-HDFS-be/m-p/157167#M24469</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-04-06T04:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can the ranger audit records that are stored in HDFS be viewed through Ranger Audit UI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-records-that-are-stored-in-HDFS-be/m-p/157168#M24470</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt;, Thank you for the clarification. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 05:18:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-records-that-are-stored-in-HDFS-be/m-p/157168#M24470</guid>
      <dc:creator>mamirne</dc:creator>
      <dc:date>2016-04-06T05:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can the ranger audit records that are stored in HDFS be viewed through Ranger Audit UI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-records-that-are-stored-in-HDFS-be/m-p/157169#M24471</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2669/mamirne.html" nodeid="2669"&gt;@Madhavi Amirneni&lt;/A&gt;, if you like the answer please consider to accept and/or upvote it. This is how HCC works: users who ask questions are "awarded" by right answers, users who provide right answers are "awarded" by this upvotes/accepts. Tnx!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 05:46:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-records-that-are-stored-in-HDFS-be/m-p/157169#M24471</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-04-06T05:46:07Z</dc:date>
    </item>
  </channel>
</rss>

