Skip to main content

List Logs

List alert logs for the given alert identifier.

External Documentation

To learn more, visit the Opsgenie documentation.

Parameters

ParameterDescription
DirectionPage direction to apply for the given offset with 'next' and 'prev'.
IDIdentifier of alert which could be alert id, tiny id or alert alias.
ID TypeType of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'.
LimitMaximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100.
OffsetStarting value of the offset property.
OrderSorting order of the result set.

Example Output

{
"data": [
{
"createdAt": "date-time",
"log": "string",
"offset": "string",
"owner": "string",
"type": "string"
}
],
"paging": {
"first": "string",
"next": "string"
},
"requestId": "string",
"took": 0
}

Automation Library Example

List Logs with Opsgenie and Send Results Via Email

Automation LibraryPreview this Automation on desktop