Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1310

Ranger Audit framework enhancement to provide an option to allow audit records to be spooled to local disk first before sending it to destinations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      Ranger Audit framework enhancement to provide an option to allow audit records to be spooled to local disk first before sending it to destinations.
      xasecure.audit.provider.filecache.is.enabled = true ==> This will enable this functionality of AuditFileCacheProivder to log the audits locally in a file.
      xasecure.audit.provider.filecache.filespool.file.rollover.sec = {rollover time - default is 1 day} ==> this provides time to send the audit records from local to destination and flush the pipe.
      xasecure.audit.provider.filecache.filespool.dir=/var/log/hadoop/hdfs/audit/spool ==> provides the directory where the Audit FileSpool cache is present.
      This helps in avoiding missing / partial audit records in the hdfs destination which may happen randomly due to restart of respective plugin components.

      Attachments

        Issue Links

          Activity

            People

              rmani Ramesh Mani
              rmani Ramesh Mani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: