Run Elastic Agent as an OTel Collector

Elastic Agent is an open-source agent that can receive, process, and export telemetry data. Elastic Agent includes an embedded OTel Collector that allows you to instrument your applications and infrastructure once, and send data to multiple vendors and backends.

When you configure Elastic Agent as an OTel Collector, it supports the standard OpenTelemetry Collector configuration format that defines a set of receivers, processors, exporters, and connectors. Logs, metrics, and traces can be collected and exported using OpenTelemetry data formats.

For a full overview and configuration steps, including a guided onboarding, refer to Elastic Agent configured as an OTel Collector. You can also check the elastic-agent otel command in the Fleet and Elastic Agent Command reference.

If you have a currently running Elastic Agent you can transform it to run as an OTel Collector.