To add a data connector, open your log repository and open the menu at the top right corner. Click "Set up data connectors" to view and manage your connectors.
Setting up data connectors
Data connectors enable you to export your logs to external observability platforms, allowing you to analyze and monitor your application's behavior in your preferred tools. Currently, we support exporting logs to:
- New Relic
- Any OpenTelemetry (OTLP) collector
Setting up a New Relic connector
To send your logs to New Relic:
From the data connectors setup dialog, select "New Relic" as your platform
Enter a name for your connector (e.g., "Production connector")
Provide your New Relic API key, you can find your API key in your New Relic account settings (https://one.newrelic.com/api-keys)
Setting up an OTLP collector
To send your logs to an OpenTelemetry collector:
From the data connectors setup dialog, select "Other OTel collector"
Enter a name for your connector
Configure the endpoint:
- Protocol: HTTP or gRPC
- URL: Your OTLP collector endpoint (e.g., https://otel-collector.acme.com)
Add required headers:
- Add your authentication headers (e.g., x-api-key)
- You can add additional headers as needed using the "Add" button
Security considerations
- API keys and authentication credentials are encrypted and stored securely
- All log data is transmitted over HTTPS to ensure security
- We recommend using dedicated API keys with minimal required permissions