Grep Akamai Edge Logs
grep_edge_logsRetrieve and search Akamai edge logs by IP, time range, and filters like CP codes or status codes to troubleshoot CDN problems.
Instructions
Searches edge server logs by edge IP, time range, and filters (CP codes, hostnames, status codes, client IPs, user agents). This is an async operation that polls until logs are available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ISO 8601 end time for the log search window. | |
| start | Yes | ISO 8601 start time for the log search window (e.g. "2024-01-15T10:00:00Z"). Logs available for past 6-12 hours. | |
| edgeIp | Yes | Edge server IP to get logs from. | |
| cpCodes | No | CP codes to filter by. Provide either this or hostnames. | |
| logType | Yes | Log type: R = client requests to edge, F = forward requests to origin, BOTH = both. | |
| clientIps | No | Filter by client IPs. | |
| hostnames | No | Hostnames to filter by. Provide either this or cpCodes. | |
| userAgents | No | Filter by user agents. | |
| httpStatusCodes | No | Filter by HTTP status codes. |