This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/elasticsearchexporter.md.

Elasticsearch Exporter

OpenTelemetry Collector exporter · contrib distribution

  • Component ID: contrib-elasticsearchexporter
  • Name: elasticsearchexporter
  • Type: exporter
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
betalogs, traces
developmentmetrics, profiles

Internal telemetry

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
elasticsearch.bulk_requests.countsum (monotonic)int1alphayeshttp.response.status_code (int), outcome (string)Count of the completed bulk requests.
elasticsearch.bulk_requests.latencyhistogramdoublesalphayeshttp.response.status_code (int), outcome (string)Latency of Elasticsearch bulk operations in seconds.
elasticsearch.docs.processedsum (monotonic)int1alphayeserror.type (string), failure_store (string), http.response.status_code (int), outcome (string)Count of documents flushed to Elasticsearch.
elasticsearch.docs.receivedsum (monotonic)int1alphayesCount of Elasticsearch documents successfully received to be buffered.
elasticsearch.docs.retriedsum (monotonic)int1alphayesCount of document retries. Only document level retries are captured, whole bulk request retries are not captured.
elasticsearch.docs.retried_http_requestsum (monotonic)int1alphayeshttp.response.status_code (int), outcome (string)Count of documents retried due to HTTP request-level failures. Counts documents that are retried because an entire bulk HTTP request failed with a retryable status code (as configured in retry_on_status) and was retried by the Elasticsearch client, up to the max_retries limit. In contrast, elasticsearch.docs.retried counts documents retried individually within otherwise successful bulk requests due to document-specific failures such as mapping conflicts.
elasticsearch.flushed.bytessum (monotonic)intByalphayesNumber of bytes flushed by the indexer.
elasticsearch.flushed.uncompressed_bytessum (monotonic)intByalphayesNumber of uncompressed bytes flushed by the indexer.

Attributes

AttributeTypeDescription
error.typestringThe type of error that occurred when processing the documents.
failure_storestringThe status of the failure store.
http.response.status_codeintHTTP status code.
outcomestringThe operation outcome.

Data

  • JSON (latest): /data/collector/components/contrib-elasticsearchexporter/latest.json
  • JSON (pinned): /data/collector/components/contrib-elasticsearchexporter/contrib-elasticsearchexporter-d820c3476624.json
  • Explore: /collector/components/contrib/elasticsearchexporter