Audit Events
An audit event is an event that describes an action of accessing a service.
Audit events are recorded by the Cloudera Navigator Audit Server.
Viewing Audit Events
- Start and log into the Cloudera Navigator data management component UI.
- Click the Audits tab. The Audit Events report displays all audit events that occurred during the last hour.
Filtering Audit Events
You filter audit events by specifying a time range or adding one or more filters containing an audit event field,
operator, and value.
Specifying a Time Range
- Click the date-time range at the top right of the Audits tab.
- Do one of the following:
- Click a Last n hours link.
- Specify a custom range:
- Click Custom range.
- In the Selected Range endpoints, click each endpoint and specify a date and time in the date control fields.
- Date - Click the down arrow to display a calendar and select a date, or click a field and click the spinner arrows or up and down arrow keys.
- Time - Click the hour, minute, and AM/PM fields and click the spinner arrows or up and down arrow keys to specify the value.
- Move between fields using the right and left arrow keys.
- Click Apply.
Adding a Filter
- Do one of the following:
- Click the icon that displays next to a field when you hover in one of the event entries.
- Click the Filters link. The Filters pane displays.
- Click Add New Filter to add a filter.
- Choose a field in the Select Property... drop-down list. You can search by fields such as username, service name, or operation. The fields vary depending on the service or role. The service name of the Navigator Metadata Server is Navigator.
- Choose an operator in the operator drop-down list.
- Type a field value in the value text field. To match a substring, use the like operator. For example, to see all the audit events for files created in the folder /user/joe/out, specify Source like /user/joe/out.
- Click Apply. A field, operation, and value breadcrumb is added above the list of audit events and the list of events displays all events that match the filter criteria.
Removing a Filter
- Do one of the following:
- Click the x next to the filter above the list of events. The list of events displays all events that match the filter criteria.
- Click the Filters link. The Filters pane displays.
- Click the at the right of the filter.
- Click Apply. The filter is removed from above the list of audit event and the list of events displays all events that match the filter criteria.
Audit Event Fields
The following fields can appear in an audit event:
Display Name | Field | Description |
---|---|---|
Additional Info | additional_info | JSON text that contains more details about operation performed on entities in Navigator Metadata Server. |
Allowed | allowed | Indicates whether the request to perform an operation failed or succeeded. A failure occurs if the user is not authorized to perform the action. |
Collection Name | collection_name | The name of affected Solr collection. |
Database Name | database_name | For Sentry, Hive, and Impala, the name of the database on which the operation was performed. |
Delegation Token ID | delegation_token_id | Delegation token identifier generated by HDFS NameNode that is then used by clients when submitting a job to JobTracker. |
Destination | dest | Path of the final location of an HDFS file in a rename or move operation. |
Entity ID | entity_id | Identifier representing a Navigator Metadata Server entity. The identity of an entity can be retrieved using the Navigator Metadata Server API. |
Event Time | timestamp | Date and time the action was performed. The server stores the timestamp in the timezone of the Navigator Audit Server. The Navigator UI displays the timestamp converted to the local timezone. Exported audit events contain the stored server timestamp. |
Family | family | HBase column family. |
Impersonator | impersonator | If an action was requested by another service, the name of the user that invoked the action on behalf of the user.
|
IP Address | ipAddress | The IP address of the host where the action occurred. |
Object Type | object_type | For Sentry, Hive, and Impala, the type of the object (TABLE, VIEW, DATABASE) on which operation was performed. |
Operation | command | The action performed.
|
Operation Params | operation_params | Solr query or update parameters used when performing the action. |
Operation Text | operation_text | For Sentry, Hive, and Impala, the SQL query that was executed by user. |
Permissions | permissions | HDFS permission of the file or directory on which the HDFS operation was performed. |
Privilege | privilege | Privilege needed to perform an Impala operation. |
Qualifier | qualifier | HBase column qualifier. |
Query ID | query_id | The query ID for an Impala operation. |
Resource | resource | A service-dependent combination of multiple fields generated during fetch. This field is not supported for filtering as it is not persisted. |
Resource Path | resource_path | HDFS URL of Hive objects (TABLE, VIEW, DATABASE, and so on) |
Service Name | service | The name of the service that performed the action. |
Session ID | session_id | Impala session ID. |
Solr Version | solr_version | Solr version number. |
Source | src | Path of the HDFS file or directory present in an HDFS operation. |
Status | status | Status of an Impala operation providing more information on success or failure. |
Stored Object Name | stored_object_name | Name of a policy, saved search, or audit report in Navigator Metadata Server. |
Sub Operation | sub_operation | Subtype of operation performed in Navigator Metadata Server. Valid values are:
|
Table Name | table_name | For Sentry, HBase, Hive and Impala, the name of the table on which action was performed. |
Username | username | The name of the user that performed the action. |