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

# Drain Logs

> A guide how to drain logs to third-party applications like Axiom or New Relic.

You can drain logs of your deployed services to a third-party applications like [Axiom](https://axiom.co/) or [New Relic](https://newrelic.com).

> We will support more services in the future, like Signoz, HyperDX, etc.

## How to enable?

<Steps>
  <Step title="Enable on your Server">
    First, you need to enable it on your `Server` settings.

    Go to your `Server` where you want to enable the `Drain Logs` and click on the `Log Drains` tab.
  </Step>

  <Step title="Enable on your Resource">
    Go to your resource, `Advanced` tab and enable the `Drain Logs` for the resource.
  </Step>
</Steps>

<Warning>
  Once you enabled at least one of the `Drain Logs`, you need to `Restart` your
  service to apply the changes.
</Warning>

## How to configure?

### Axiom

You need to have a `Dataset` and an `API key` from Axiom.

More information [here](https://axiom.co/docs).

## New Relic

You need to have an `License key` from New Relic.

More information [here](https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/#ingest-license-key).

## Custom FluentBit configuration

If you know how to configure FluentBit, you can use the `Custom FluentBit configuration` to configure the drain logs.
