Loading

Slow search

Search latency on one or more nodes exceeded your configured threshold for multiple consecutive samples. Your users and applications experience sluggish dashboards and API calls even before requests fail.

Note

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

Field Value
Component Elasticsearch
Severity High
Scope Node
Domains performance, search

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
Search latency threshold (ms) Integer 250
Consecutive samples above threshold Integer 5
Tip

Raising these thresholds reduces noise but delays detection. Lowering them triggers the insight sooner but can increase alerts during minor blips.

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.

Search latency on es-data-01 and es-data-02 stayed above your configured threshold for enough consecutive samples. Peak latency in the latest sample was 420 ms. Indices with high search activity: logs-prod-000045 Indices with high indexing activity on the same node: logs-prod-000045 Review query logs or search slow logs on the affected node, tune expensive queries, and check CPU, heap, and indexing load on the same node if latency stays high.

Note

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

When search stays slow on a data node, dashboards and applications feel sluggish even before requests fail. Common causes include expensive or repeated queries, CPU or heap pressure, heavy indexing on the same node, and background work such as segment merges or snapshots. If latency remains high, focus on the indices in the preceding section. Add replicas or data capacity where shard layout limits parallelism. Your log threshold settings control which queries are recorded — tune them to capture the queries most likely driving the latency.