> ## 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 **Personal Identifiable Information (PII)** to AppSignal. Filter PII (e.g., names, emails) from logs and use an ID, hash, or pseudonymized identifier instead. \
> &#x20;\
> &#x20;For **HIPAA-covered entities**, more information about signing a Business Associate Agreement (BAA) can be found in our [Business Add-Ons documentation](https://docs.appsignal.com/support/business-add-ons.md).

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:

```shell Shell theme={null}
scalingo --app my-app log-drains
```

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

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

*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:

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

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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.