> ## 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.

# Gigalixir 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 ingest logs via [Gigalixir Log Drain](https://gigalixir.readthedocs.io/en/latest/log.html#). Gigalixir logs use the `Plaintext` format, you can find more information on formatting in our [Log Formatting Documentation](/logging/formatting).

## 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}
  gigalixir drains
  ```
</CodeGroup>

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

<CodeGroup>
  ```shell Shell theme={null}
  gigalixir drains:remove LOG_DRAIN_ID
  ```
</CodeGroup>

*Replace LOG\_DRAIN\_ID the log drain ID 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}
  gigalixir drains:add "https://appsignal-endpoint.net/gigalixir?api_key=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.
