Query Audit Logs for Tenant (v2.1)
Query the audit logs for a given tenant as per specified query filters.
Path Parameters
The tenant ID.
Request Body
Query fields
- Array [
- ]
aggregate Aggregate
The aggregate number of queries.
data AggregateData[] required
The details of the aggregate data.
Value of the aggregate data.
View the aggregate date.
Field
The name of the query response.
Possible values: [max
, count
, min
, avg
, sum
]
Operator
QoS application aggregate statistics.
The unit.
The destination page.
The number of queried deleted for a time frame.
Group the queries.
List the query by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Retrieve information from a field.
List the fields to query.
The total number of query parameters.
- 200
- 400
Successful Operation
Schema
- Array [
- ]
The number of responses.
The ID of the response.
The ID of the tenant.
items AuditLogV2N1[]
The audit log MSP tenant ID. Supported characters; = ^[a-z0-9]{1,50}$).
The audit log ID.
The audit log operator ID. Supported characters; = ^[a-z0-9]{1,50}$).
The audit log tenant ID. Supported characters; = ^[a-z0-9]{1,50}$).
The audit log request body.
The request content length.
The audit log request ID.
Request Ts
The audit log request type (GET|POST|PUT|DELETE|PATCH)$).
The audit log request URL.
The audit log request Etag.
The audit log resource ID. Max length = 50.
The audit log resource key. Max length = 128.
The audit log resource version.
The audit log response body.
Response Code
The audit log response content length.
Response Ts
The SD-WAN app ID. Max length = 128.
The audit log session key C. Max length = 128.
The audit log source IP address. Max length = 128.
The tenant ID.
Time Ms
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"esp_tenant_id": "string",
"id": "string",
"operator_id": "string",
"operator_tenant_id": "string",
"request_body": "string",
"request_content_length": 0,
"request_id": "string",
"request_ts": 0,
"request_type": "string",
"request_uri": "string",
"resource_etag": 0,
"resource_id": "string",
"resource_key": "string",
"resource_version": "string",
"response_body": "string",
"response_code": 0,
"response_content_length": 0,
"response_ts": 0,
"sdwanapp_id": "string",
"session_key_c": "string",
"source_ip": "string",
"tenant_id": "string",
"time_ms": 0
}
]
}
Bad Request
Schema
- Array [
- ]
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_REQUEST_ERROR_0001"
},
{
"code": "INVALID_REQUEST_DUPLICATE_KEY"
},
{
"code": "AUDITLOG_INVALID_TENANT_ID"
},
{
"code": "AUDITLOG_MESSAGE_ID_EMPTY"
},
{
"code": "AUDITLOG_MESSAGE_ID_INVALID"
}
]
}
}