You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by Lune Silver <lu...@gmail.com> on 2016/08/30 16:26:33 UTC

About the audit Summarization

Hello everyone.

I enabled the audit for kafka with Ranger with an HDP 2.3.4.7.

I set to true the following property :
xasecure.audit.provider.summary.enabled.

During one minute, I launch a producer adding one message into a specific
topic every second.

The default agregation time is 5 seconds normally :
###
xasecure.audit.provider.summary.interval.ms


   1.

   The max time interval at which messages would be summarized.
   2.

   If unspecified it defaults to 5000, i.e. 5 seconds.

###

Source :
https://cwiki.apache.org/confluence/display/RANGER/Ranger+0.5+Audit+Configuration

When I check the Ranger UI, in the audit part, in the "Event Count" column,
I can see that there is always only the value "1".

So I tried to increase the property
xasecure.audit.provider.summary.interval.ms from 5 seconds to 5 minuts.

And I still have the same thing. The agregation is done because I see less
lines in the audit table in the UI, but the event count is false ans is
always equal to 1.

Is it normal ?
Did I forget another property to enable agregation ?

BR.

Lune.

Re: About the audit Summarization

Posted by Abhay Kulkarni <ak...@hortonworks.com>.
Lune,

This is addressed by RANGER-1022<https://issues.apache.org/jira/browse/RANGER-1022>. It is, AFAIK, not part of HDP 2.3.4.7.

Thanks,
Abhay

From: Lune Silver <lu...@gmail.com>>
Reply-To: "user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>" <us...@ranger.incubator.apache.org>>
Date: Tuesday, August 30, 2016 at 9:26 AM
To: "user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>" <us...@ranger.incubator.apache.org>>
Subject: About the audit Summarization

Hello everyone.

I enabled the audit for kafka with Ranger with an HDP 2.3.4.7.

I set to true the following property :
xasecure.audit.provider.summary.enabled.

During one minute, I launch a producer adding one message into a specific topic every second.

The default agregation time is 5 seconds normally :
###
xasecure.audit.provider.summary.interval.ms<http://xasecure.audit.provider.summary.interval.ms>


  1.  The max time interval at which messages would be summarized.

  2.  If unspecified it defaults to 5000, i.e. 5 seconds.

###

Source :
https://cwiki.apache.org/confluence/display/RANGER/Ranger+0.5+Audit+Configuration

When I check the Ranger UI, in the audit part, in the "Event Count" column, I can see that there is always only the value "1".

So I tried to increase the property xasecure.audit.provider.summary.interval.ms<http://xasecure.audit.provider.summary.interval.ms> from 5 seconds to 5 minuts.

And I still have the same thing. The agregation is done because I see less lines in the audit table in the UI, but the event count is false ans is always equal to 1.

Is it normal ?
Did I forget another property to enable agregation ?

BR.

Lune.