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

# Scalingo Log Drain

<Warning>
  🔐 Do not send <strong>Personal Identifiable Information (PII)</strong> to AppSignal. Filter PII (e.g., names, emails) from logs and use an ID, hash, or pseudonymized identifier instead. <br /> <br /> For **HIPAA-covered entities**, more information about signing a Business Associate Agreement (BAA) can be found in our [Business Add-Ons documentation](/support/business-add-ons).
</Warning>

AppSignal can automatically ingest logs via [Scalingo Log Drain](https://doc.scalingo.com/platform/app/log-drain#appsignal).

Scalingo log drains can be managed using Scalingo's [CLI](https://doc.scalingo.com/platform/cli/start).

## Check For Existing Log Drains

Before creating a new log drain for AppSignal, we recommend checking to see if a drain for AppSignal already exists. You can do so using the following command:

<CodeGroup>
  ```shell Shell theme={null}
  scalingo --app my-app log-drains
  ```
</CodeGroup>

You can remove any log drain you wish using the below command:

<CodeGroup>
  ```shell Shell theme={null}
  scalingo --app my-app log-drains-remove LOG_DRAIN_URL
  ```
</CodeGroup>

*Replace LOG\_DRAIN\_URL with the log drain URL you are trying to remove.*

## Add New Log Drain

Use the command below to create a new AppSignal log drain:

<CodeGroup>
  ```shell Shell theme={null}
  scalingo --app my-app log-drains-add --type appsignal --token YOUR_LOG_SOURCE_API_KEY
  ```
</CodeGroup>

Replace `YOUR_LOG_SOURCE_API_KEY` with the key provided when creating a log source.

When connected, logs should appear in AppSignal. If you still cannot see any logs, please [contact us](mailto:support@appsignal.com) for support.
