Quickstart on Elastic Cloud Serverless

The Elastic Cloud Managed OTLP Endpoint simplifies OpenTelemetry data ingestion. It provides an endpoint for OpenTelemetry SDKs and Collectors to send telemetry data, with Elastic handling scaling, data processing, and storage.

The Elastic Cloud Managed OTLP Endpoint is designed for the following use cases:

  • Logs and Infrastructure Monitoring: Logs forwarded in OTLP format and host and Kubernetes metrics in OTLP format.
  • APM: Application telemetry in OTLP format.
  • An Elastic Observability Serverless project.
  • An Elastic OpenTelemetry or any system that can forward logs, metrics, or traces in OTLP format.

You also need to retrieve your OTLP endpoint address and an API key.

Follow these steps to retrieve the Elastic Cloud Managed OTLP Endpoint URL and the API key for your Serverless project:

  1. In Elastic Cloud Serverless, open your Observability project.
  2. Go to Add data and select OpenTelemetry under Applications. If you can't find Add data in the navigation menu, search for Observability Onboarding in the global search field.
  3. In Configure the OpenTelemetry SDK, copy the OTEL_EXPORTER_OTLP_ENDPOINT value. This is your endpoint.
  4. In the same step, find the OTEL_EXPORTER_OTLP_HEADERS value. It has the form Authorization=ApiKey <key>, where <key> is an API key that Elastic generated for you. Copy only the <key> part, without the ApiKey prefix. The Elastic Agent configurations in these guides add the prefix for you.

Select the quickstart guide for your environment from the following list:

The Elastic Cloud Managed OTLP Endpoint stores OpenTelemetry data without schema translation, preserving OpenTelemetry semantic conventions and resource attributes in OTel-native format. Custom attributes are stored under attributes.* with dots preserved. It supports ingesting OTLP logs, metrics, and traces.

The APM Server or managed inputs OTLP intake (the .apm endpoint) is a legacy path that translates OTLP data to ECS format before storage. Custom attributes land in labels.* with dots replaced by underscores. This path is not recommended for new users, and EDOT SDKs are not supported here.

For a full comparison of ingest paths and their data format implications, refer to How your ingest path determines the data format.

Help improve the Elastic Cloud Managed OTLP Endpoint by sending us feedback in our discussion forum or community Slack.

For Elastic Agent feedback, open an issue in the elastic-agent repository.