Overview
Theget_log_entry tool retrieves detailed information about a specific log entry. Log entries provide a complete audit record of actions taken on incidents, services, and other resources.
This is a read-only tool that does not modify any data in your PagerDuty account.
Parameters
The unique identifier of the log entry to retrieve.Example:
"LOGENTRY123"Response
Returns a detailed log entry object.The unique identifier of the log entry
The type of log entry. Common types include:
trigger_log_entry- Incident was triggeredacknowledge_log_entry- Incident was acknowledgedresolve_log_entry- Incident was resolvedassign_log_entry- Incident was assignedescalate_log_entry- Incident was escalatednotify_log_entry- Notification was sentannotate_log_entry- Note was added
A short, human-readable description of the log entry
The API URL at which this log entry is accessible
The URL at which this log entry is accessible in the PagerDuty web UI
The date and time when this log entry was created
The agent (user, service, or integration) that performed the action
The channel through which the action was performed
Reference to the service associated with this log entry
Reference to the incident associated with this log entry
References to teams associated with this log entry
Example Usage
Use Cases
- Audit investigation - Review the complete details of a specific action
- Incident timeline - Understand who did what and when during an incident
- Compliance - Verify actions for compliance and security reviews
- Troubleshooting - Understand the sequence of automated actions
- User activity - Track specific user actions
Response Example
Important Notes
- Log entries are read-only and cannot be modified
- Log entries use polymorphic types - the fields available depend on the log entry type
- The
agentfield may reference users, services, or integrations depending on who/what performed the action - The
channelfield indicates how the action was performed (web, API, mobile, etc.)
Related Tools
- List Log Entries - Retrieve all log entries with filtering
- Get Incident - View incident details
- List Users - View user information