Collect Audit Logs
This API is executed on a manager node to display audit logs from all nodes inside the management plane cluster. An audit log collection will be triggered if the local master audit log is outdated.
Opaque cursor to be used for getting next page of records (supplied by current result page)
Fields to include in query results
Maximum number of results to return in this page (server may return fewer)
{
"log_filter": "string",
"log_age_limit": 0,
"log_filter_type": "string"
}
Audit logs should meet the filter condition
Include logs with timstamps not past the age limit in days
Type of log filter
OK
{
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"cursor": "string",
"sort_ascending": false,
"sort_by": "string",
"result_count": 0,
"last_full_sync_timestamp": "string",
"results": [
{
"priority": 0,
"procid": 0,
"facility": 0,
"full_log": "string",
"msgid": "string",
"appname": "string",
"timestamp": "string",
"message": "string",
"hostname": "string",
"struct_data": {
"audit": "string",
"username": "string",
"ereq_id": "string",
"level": "string",
"comp": "string",
"error_code": "string",
"s2comp": "string",
"req_id": "string",
"ent_id": "string",
"security": "string",
"subcomp": "string"
}
}
]
}
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
Conflict
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code
Bad Gateway
{
"details": "string",
"related_errors": [
"ApiError Object"
],
"module_name": "string",
"error_message": "string",
"error_code": 0
}
Additional data about the error
Further details about the error
The module name where the error occurred
A description of the error
A numeric error code