Audit File Details
Couchbase Server captures audit details in specified audit fields.
The table shows audit details with their descriptions.
Field | Type | Description |
---|---|---|
|
string |
This is the type of the audit. For example: Login, Startup, Shutdown, Password, AuditStart, AuditStop, AuditTruncate, and so on. |
|
document |
Contains the date and UTC time of the event in the ISO 8601 format.
For example, |
|
document {ip: <String>, port: <int>}, |
A JSON document that contains the local IP address and the port number of the running instance. |
|
document {ip: <String>, port: <int>}, |
A JSON document that contains the remote IP address and the port number in addition to the information about the service that was used on the incoming connection associated with the event. Possible services include: |
|
string |
A string that identifies the userID. |
|
document |
Depends on the event type. For example, for a bucket operation, it will capture the bucket name. |
|
integer or string |
This is the error code or a message of the operation that was tried. |
The audit capture for different administrator events may have different fields depending on the event type. However, every audit event will register who does what, when, and how. |