doctl apps adds autoscaling event commands and logs
Introduced 2026-03-18 · score 0.95
HOW TO USE IT
For an App Platform app, use `list-events` to inspect events; use `cancel-event` with the app and event IDs to cancel an in-progress autoscaling event. To retrieve event logs, pass the event ID to `apps logs` and set the type to `autoscale_event`.
doctl apps list-events <app-id>doctl apps cancel-event <app-id> <event-id>doctl apps logs <app-id> <component-name> --event-id <event-id> --type autoscale_eventWHY THIS HELPS
Inspect an App Platform app's autoscaling events, cancel one, or retrieve its event logs.
REQUIREMENTS AND LIMITATIONS
- Version: v1.152.0
- <app-id> (required): App ID; required by the list-events and cancel-event command syntax.
- <event-id> (required): Event ID used by cancel-event; with logs, supplied as the value of `--event-id`.
- <component-name>: Component whose logs to retrieve; defaults to all components.
- --event-id: Selects logs for a specific autoscaling event ID.
- --type: Selects the log type; defaults to `run`. `autoscale_event` is a supported type.
- Docs conflict: The current official CLI reference pages are generated from doctl v1.178.0, v1.173.0, and v2.0.0, later than the card’s v1.152.0; exact v1.152.0 command details could not be verified from those pages.
FIRST-PARTY EVIDENCE
- https://github.com/digitalocean/doctl/releases/tag/v1.152.0
- https://github.com/digitalocean/doctl/pull/1810
- https://docs.digitalocean.com/reference/doctl/reference/apps/list-events/
- https://docs.digitalocean.com/reference/doctl/reference/apps/cancel-event/
- https://docs.digitalocean.com/reference/doctl/reference/apps/logs/
Check the installed version and the source before using it. Entry JSON