Search the logs of many deployments at once
edgegap_search_deployment_logsSearch container and crash logs of running deployments for a pattern, grouped by error with counts and source deployments. Finds exceptions, fatal signals, and OOM kills across up to 100 deployments.
Instructions
Search the container and crash logs of running deployments of an application (and version) for a pattern, and group the matching lines by error, with counts and which deployments printed them: "every crash in version 1.4.2 since yesterday, grouped by error". Without a pattern it looks for errors, exceptions, fatal signals and out-of-memory kills. Also counts crash exit codes. Logs only exist while a deployment runs (or in Endpoint Storage), so stopped deployments are not searched. Searches up to 100 deployments per call, newest first. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "edgegap_search_deployment_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regex | No | Treat pattern as a regular expression. Default false. | |
| pattern | No | Text to find, case-insensitive. Default: common error and crash words. | |
| version | No | Only this version (needs application). | |
| max_groups | No | Most error groups to return, 1-50. Default 15. | |
| application | No | Only this application. Default: all. | |
| started_after | No | Only deployments started after this ISO 8601 time, e.g. "2026-11-12T00:00:00Z" for the last day. | |
| max_deployments | No | How many to search, 1-100. Default 30. |