Get Log Entry
Get details for a specific incident log entry. This method provides additional information you can use to get at raw event data.
A log of all the events that happen to an Incident, and these are exposed as Log Entries.
For more information see the .
Parameters
Parameter | Description |
---|---|
ID | The id of the log to retrieve. |
Include | Array of additional Models to include in response. |
Time Zone | Time zone in which dates in the result will be rendered. |
Example Output
{
"summary": "Response Example",
"value": {
"log_entry": {
"agent": {
"html_url": "https://subdomain.pagerduty.com/services/PIJ90N7",
"id": "PIJ90N7",
"self": "https://api.pagerduty.com/services/PIJ90N7",
"summary": "My Mail Service",
"type": "service_reference"
},
"channel": {
"type": "api"
},
"contexts": [],
"created_at": "2015-11-07T00:14:20Z",
"event_details": {
"description": "Tasks::SFDCValidator - PD_Data__c - duplicates"
},
"html_url": "https://subdomain.pagerduty.com/incidents/PT4KHLK/log_entries/Q02JTSNZWHSEKV",
"id": "Q02JTSNZWHSEKV",
"incident": {
"html_url": "https://subdomain.pagerduty.com/incidents/PT4KHLK",
"id": "PT4KHLK",
"self": "https://api.pagerduty.com/incidents/PT4KHLK",
"summary": "[#1234] The server is on fire.",
"type": "incident_reference"
},
"self": "https://api.pagerduty.com/log_entries/Q02JTSNZWHSEKV?incident_id=PT4KHLK",
"summary": "Triggered through the API",
"teams": [
{
"html_url": "https://subdomain.pagerduty.com/teams/PQ9K7I8",
"id": "PQ9K7I8",
"self": "https://api.pagerduty.com/teams/PQ9K7I8",
"summary": "Engineering",
"type": "team_reference"
}
],
"type": "trigger_log_entry"
}
}
}
Workflow Library Example
Get Log Entry with Pagerduty and Send Results Via Email
Preview this Workflow on desktop