> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://mezmo.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mezmo.ferndocs.com/_mcp/server.

# OpenTelemetry Logs

## Description

You can send your logs to a Mezmo Pipeline via any OTLP compliant sender.

> Mezmo currently requires that you use the HTTP transport for your payload, not the standard gRPC transport mechanism, to send in data via OTLP

## Configuration

The OTLP Logs source provides a unique endpoint URL that uses **Bearer Token** authentication. You can obtain the unique endpoint and Bearer Token from the Mezmo pipeline app when you create a new OTLP Logs source.

### Configuration Options

| Option         | Description                                       |
| -------------- | ------------------------------------------------- |
| url / endpoint | unique URL for your OTLP source                   |
| token          | token used for authorization for your OTLP source |

### OpenTelemetry Collector Configuration

To configure an OTel collector to export to Mezmo, you can add the following to your exporters section of your OTel Collector config file:

```yaml
exporters:
  otlphttp//mezmo-logs:
    endpoint: "https://pipeline.mezmo.com/v1/<YOUR ROUTE ID>"
    headers:
      Authorization: "<YOUR_PIPELINE_INGEST_KEY>"
```

> The endpoint in the exporters configuration must exactly match the URL provided by the OpenTelemetry Logs. You don't need to specify the `/v1/logs` path, which will otherwise by ignored by the Source.