Skip to main content
Request logs provide detailed information about every HTTP request made to your Pangolin resources. These logs capture both successful and denied requests along with comprehensive request metadata.

What are Request Logs?

Request logs capture every HTTP request that passes through Pangolin’s reverse proxy, including the request details, the decision made (allow or deny), and the reason for that decision. These logs are useful for:
  • Monitoring traffic patterns and request volumes
  • Debugging access issues and rule configurations
  • Analyzing API usage and endpoint popularity
  • Understanding geographic distribution of requests
  • Identifying potential security threats or unusual traffic patterns
  • Troubleshooting connectivity and routing issues

Request Log Fields

Each request log entry contains the following fields:
FieldTypeDescription
timestampnumberUnix timestamp (in seconds) when the request was made
actionbooleanWhether the request was allowed (true) or denied (false)
reasonnumberNumeric code indicating the reason for the decision
actorTypestringThe type of actor making the request (“user”, “apiKey”, or null for anonymous)
actorstringThe display name of the authenticated actor (username or API key name)
actorIdstringThe unique identifier for the authenticated actor
resourceIdnumberThe ID of the resource that received the request
ipstringThe IP address of the client making the request
locationstringThe geographic location (country code) based on IP address
userAgentstringThe user agent string of the client browser or application
metadatastringAdditional contextual information in JSON format
headersstringHTTP request headers in JSON format
querystringURL query parameters in JSON format
originalRequestURLstringThe full original URL of the request
schemestringThe protocol scheme (http or https)
hoststringThe hostname from the request
pathstringThe URL path of the request
methodstringThe HTTP method (GET, POST, PUT, DELETE, etc.)
tlsbooleanWhether the connection used TLS/SSL

Log Retention

Request log retention is controlled by the organization setting. By default, request logs are retained for 7 days.
Request logs can generate significant data volume depending on your traffic. Consider your storage capacity when configuring retention periods.

Exporting

Logs can be exported into CSV format for external analysis and archival. Logs can be exported from the table view in the Pangolin dashboard or via the Pangolin API. When exporting, you can specify date ranges and filters to narrow down the logs you need.