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

# Coralogix

> Configuring the Coralogix backend (Managed)

### Getting Started

<img src="https://d15jtxgb40qetw.cloudfront.net/coralogix.svg" alt="coralogix" className="not-prose h-20" />

1. Get an [API Key](https://coralogix.com/docs/send-your-data-api-key/).
2. Obtain the [Domain](https://coralogix.com/docs/coralogix-domain/) determined by your Coralogix Account URL.
3. Follow the [Application and Subsystem Names guide](https://coralogix.com/docs/application-and-subsystem-names/) to learn how configure the application and subsystem names for your Coralogix account.

### Configuring Destination Fields

<Accordion title="Supported Signals:">
  ✅ Traces
  ✅ Metrics
  ✅ Logs
  ❌ Profiles
</Accordion>

* **CORALOGIX\_PRIVATE\_KEY** `string` : Send-Your-Data API Key. The Send-Your-Data API Key is used to authenticate the data sent to Coralogix.
  * This field is required
* **CORALOGIX\_DOMAIN** `string` : Domain. The Coralogix domain to which you want to send the data.
  * This field is required
* **CORALOGIX\_APPLICATION\_NAME** `string` : Application Name. The name of the application that sends the data to Coralogix.
  * This field is required
* **CORALOGIX\_SUBSYSTEM\_NAME** `string` : Subsystem Name. The name of the subsystem that sends the data to Coralogix.
  * This field is required

### Adding Destination to Odigos

There are two primary methods for configuring destinations in Odigos:

##### **Using the UI**

<Steps>
  <Step>
    Use the [Odigos CLI](https://docs.odigos.io/cli/odigos_ui) to access the UI

    ```bash theme={null}
    odigos ui
    ```
  </Step>

  <Step>
    Click on `Add Destination`, select `Coralogix` and follow the on-screen instructions
  </Step>
</Steps>

##### **Using Kubernetes manifests**

<Steps>
  <Step>
    Save the YAML below to a file (e.g. `coralogix.yaml`)

    ```yaml theme={null}
    apiVersion: odigos.io/v1alpha1
    kind: Destination
    metadata:
      name: coralogix-example
      namespace: odigos-system
    spec:
      data:
        CORALOGIX_APPLICATION_NAME: <Application Name>
        CORALOGIX_DOMAIN: '<Domain (options: [coralogix.com, eu2.coralogix.com, coralogix.us,
          cx498.coralogix.com, coralogix.in, coralogixsg.com])>'
        CORALOGIX_SUBSYSTEM_NAME: <Subsystem Name>
      destinationName: coralogix
      secretRef:
        name: coralogix-secret
      signals:
      - TRACES
      - METRICS
      - LOGS
      type: coralogix

    ---

    apiVersion: v1
    data:
      CORALOGIX_PRIVATE_KEY: <Base64 Send-Your-Data API Key>
    kind: Secret
    metadata:
      name: coralogix-secret
      namespace: odigos-system
    type: Opaque
    ```
  </Step>

  <Step>
    Apply the YAML using `kubectl`

    ```bash theme={null}
    kubectl apply -f coralogix.yaml
    ```
  </Step>
</Steps>
