Skip to main content

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

  1. Go to your DigitalOcean App Platform dashboard
  2. Navigate to Settings > Log Forwarding
  3. Add a new log destination
  4. Select Custom HTTP as the destination type
  5. Enter your drain URL
  6. Add custom headers: x-squasher-key: sq_pk_your_api_key
  7. 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:

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

Agent handoff