> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squasher.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DigitalOcean

> Forward DigitalOcean App Platform, Droplet, and Kubernetes logs to Squasher.

## App Platform Log Forwarding

DigitalOcean App Platform supports forwarding logs to external HTTP endpoints.

## Setup

<Steps>
  <Step title="Get your drain URL">
    Your Squasher drain URL:

    ```
    https://ingest.squasher.ai/v1/drain/digitalocean/YOUR_PROJECT_ID
    ```
  </Step>

  <Step title="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
  </Step>

  <Step title="Verify">
    Trigger an error in your app. Check your Squasher dashboard for the event.
  </Step>
</Steps>

## Droplets & Kubernetes

For DigitalOcean Droplets or Managed Kubernetes (DOKS), use the OpenTelemetry Collector:

* **Droplets:** See the [Docker integration](/integrations/docker) guide
* **DOKS:** See the [Kubernetes integration](/integrations/kubernetes) 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

## Agent handoff

```text theme={null}
Set up DigitalOcean log forwarding into Squasher for project <project_id>. Prefer managed connector details where available, verify with one App Platform error, and use Docker or Kubernetes collector docs for Droplets or DOKS.
```
