/monitor-service/api/v1/auditevents/search
Search for audit events
keywords
string
user_id
string
connection_id
string
host_id
string
source_id
string
session_id
string
access_group_id
string
start_time
string
end_time
string
{
"keywords": "privx,service",
"user_id": "21ca9e5d-617c-4c9b-8a1c-8a49d9998f93",
"connection_id": "21ca9e5d-617c-4c9b-8a1c-8a49d9998f93",
"host_id": "21ca9e5d-617c-4c9b-8a1c-8a49d9998f93",
"source_id": "21ca9e5d-617c-4c9b-8a1c-8a49d9998f93",
"session_id": "21ca9e5d-617c-4c9b-8a1c-8a49d9998f93",
"access_group_id": "21ca9e5d-617c-4c9b-8a1c-8a49d9998f93",
"start_time": "2017-01-01T15:05:05Z",
"end_time": "2017-01-01T15:05:05Z"
}
Successful request, respond with a list of event details
{
"count": 123,
"items": [
{
"service_id": "21ca9e5d-617c-4c9b-8a1c-8a49d9998f93",
"service_name": "MONITOR-SERVICE",
"event_id": "123",
"event_name": "Service-starting",
"message": {},
"created": "string"
}
]
}
/monitor-service/api/v1/auditevents
Get all audit events
offset
int
Offset from which to start fetching objects
limit
int
Maximum number of objects to return
sortkey
string
Sort by specific object property
sortdir
string
Sort direction, asc or desc
fuzzycount
boolean
If keyword is present the queries will return a fuzzy total count instead of exact total count
Successful request, respond with a list of event details
{
"count": 123,
"items": [
{
"service_id": "21ca9e5d-617c-4c9b-8a1c-8a49d9998f93",
"service_name": "MONITOR-SERVICE",
"event_id": "123",
"event_name": "Service-starting",
"message": {},
"created": "string"
}
]
}
/monitor-service/api/v1/auditevents/codes
Get audit event codes.
Authorization
string
required
OAuth2 token
Successful request, respond with event codes
{
"key": 123,
"value": {
"event_id": "string",
"event_name": "string",
"event_desc": "string"
}
}
Was this page helpful?