Audit to DataBase

Note: Audit to DB will not be available from 0.6 version.

Audit to DB

DescriptionSample ValueData TypeIntroduced in Version
idUnique Id or Row id of audit log event85f0f6d7-2415-44e6-b277-6751d6c86ac7-3Number/String0.4
create_timeAudit insert timestamp2016-10-12 6:11:45datetime0.4
update_timeAudit update timestamp2016-10-12 6:11:45datetime0.4
added_by_iduser id of user whoever added the audit log1Number0.4
upd_by_iduser id of user whoever updated the audit log1Number0.4
audit_typeaudit type Number0.4
access_resultaccess result0(Access) or 1 (Denied)Number0.4
access_typeAccess type of executed eventREAD/WRITE/SELECT etc.String0.4
acl_enforcerAccess enforcerhadoop-acl/ranger-aclString0.4
agent_id  String0.4
client_ipIp address of machine from where event was performed10.0.0.1String0.4
client_type  String0.4
policy_idPolicy id of the resource on which access event was executed1Number0.4
repo_nameRepository NamehadoopdevString0.4
repo_typeRepository TypeHDFS/HIVE/HBaseNumber0.4
result_reason testdb/testtable/column1String0.4
session_idsession ida2468ab5-1da3-4c93-ba4d-d6604a86590fString0.4
event_timeevent request timestamp2016-10-12 6:11:45datetime0.4
request_useruser whoever requested the accessrangerString0.4
actionoperation performedQUERY/writeString0.4
request_datadata on command send for access requestselect * from TestDb.TestTableString0.4
resource_pathresource pathtestdb/testtable/column1String0.4
resource_typeType of accessed resource@columnString0.4
seq_numsequence number of audit log1Number0.5
event_countno of similar event executed in specific interval3Number0.5
event_dur_msevent execution time in ms10Number0.5
  • No labels