Runbook

High time spent on Elasticsearch queries

Back to Runbooks

Overview

This incident type refers to an elevated time spent on processing queries in an Elasticsearch cluster. It could be an indication of potential resource bottlenecks or a need to optimize the queries. This incident requires investigation and resolution to prevent further issues and ensure a smooth functioning Elasticsearch cluster.

Parameters

Debug

Check Elasticsearch cluster health

Check Elasticsearch indices

Check Elasticsearch node stats

Check Elasticsearch search and query latency

Check Elasticsearch search and query throughput

Check Elasticsearch query performance

Check Elasticsearch query time

Insufficient resources allocated to Elasticsearch cluster.

Repair

Enable query caching for frequently executed queries

Fine-tune the Elasticsearch cluster configuration settings.