Summarize Alert Log Counts

GET {{baseUrl}}/managedDatabases/:managedDatabaseId/alertLogCounts?timeGreaterThanOrEqualTo=<dateTime>&timeLessThanOrEqualTo=<dateTime>&levelFilter=ALL&groupBy=TYPE&typeFilter=ALL&logSearchText=<string>&isRegularExpression=false&page=<string>&limit=10

Get the counts of alert logs for the specified Managed Database.

Request Params

KeyDatatypeRequiredDescription
timeGreaterThanOrEqualTostringThe optional greater than or equal to timestamp to filter the logs.
timeLessThanOrEqualTostringThe optional less than or equal to timestamp to filter the logs.
levelFilterstringThe optional parameter to filter the alert logs by log level.
groupBystringThe optional parameter used to group different alert logs.
typeFilterstringThe optional parameter to filter the attention or alert logs by type.
logSearchTextstringThe optional query parameter to filter the attention or alert logs by search text.
isRegularExpressionbooleanThe flag to indicate whether the search text is regular expression or not.
pagestringThe page token representing the page from where the next set of paginated results
are retrieved. This is usually retrieved from a previous list call.
limitnumberThe maximum number of records returned in the paginated response.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
opc-named-credential-idstringThe OCID of the Named Credential.
Acceptstring

RESPONSES

status: OK

{&quot;managedDatabaseId&quot;:&quot;\u003cstring\u003e&quot;,&quot;items&quot;:[{&quot;category&quot;:&quot;NORMAL&quot;,&quot;count&quot;:0},{&quot;category&quot;:&quot;NOTIFICATION&quot;,&quot;count&quot;:0}]}