Type to search.

Missing documents on get

ECH

Elastic Cloud Hosted lets you manage and configure one or more deployments of the versioned Elastic Stack, hosted on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

ECK

Elastic Cloud on Kubernetes extends Kubernetes orchestration capabilities to allow you to deploy and manage components of the Elastic Stack.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

ECE

Elastic Cloud Enterprise is a self-managed orchestration platform for deploying and managing the Elastic Stack at scale.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Self-managed

Self-managed deployments are Elastic Stack deployments managed without the assistance of an orchestrator.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

A high number of get-by-id requests are returning document-not-found results on one or more nodes. This often happens when applications update or fetch IDs that do not exist, or when upserts create new documents.

Note

For a complete list of insights, refer to AutoOps insights.

Field Value
Component Elasticsearch
Severity High
Scope Cluster
Domains indexing

You can customize these settings to adjust when AutoOps detects this event and presents the insight. Refer to AutoOps event settings for details.

The default customization settings are:

Setting Type Default
Maximum number of get doc requests for which the doc is not found Integer 100

The following is an example of what you might see when this insight is triggered. Real insights use live data and links from your deployment or cluster.

12 get-by-id requests returned a missing document.

Affected nodes: es-data-01 and es-data-02

Note

AutoOps shows different recommendations depending on how their conditions match your deployment or cluster.

Check indexing operations for errors

Condition: Always shown for this insight.

High index.get.missing counts are expected during upserts: Elasticsearch tries to fetch the document first, then creates it if missing. If updates should always target existing documents, check clients and indexing pipelines for failed or skipped index operations.

A typical cause is updating or fetching a document by ID that does not exist. Upsert-heavy workloads routinely generate missing-document responses when a document is created on first write. A sustained spike above your threshold can indicate incorrect IDs, replication lag, or application logic that repeatedly requests documents that were never indexed.

Get a document by its ID