App Platform Log Forwarding
DigitalOcean App Platform supports forwarding logs to external HTTP endpoints.Setup
1
Get your drain URL
Your Squasher drain URL:
2
Configure log forwarding
- Go to your DigitalOcean App Platform dashboard
- Navigate to Settings > Log Forwarding
- Add a new log destination
- Select Custom HTTP as the destination type
- Enter your drain URL
- Add custom headers:
x-squasher-key: sq_pk_your_api_key - Save
3
Verify
Trigger an error in your app. Check your Squasher dashboard for the event.
Droplets & Kubernetes
For DigitalOcean Droplets or Managed Kubernetes (DOKS), use the OpenTelemetry Collector:- Droplets: See the Docker integration guide
- DOKS: See the Kubernetes integration guide
What Gets Captured
Squasher detects errors from App Platform logs via:- Severity indicators in structured JSON logs
- Message heuristics for unstructured logs
- HTTP error status codes from web components