Warning
This document has not been updated for a while now. It may be out of date.
Last updated:
23 May 2022
Search API app healthcheck not ok
See also: how healthcheck alerts work on GOV.UK
Elasticsearch connectivity is not OK
The Search API uses elasticsearch as an underlying data store and search engine.
If the application cannot connect to the elasticsearch cluster, this will prevent end users performing searches. Search API has a custom healthcheck to check for this scenario.
Note: We use a managed elasticsearch, Amazon Elasticsearch Service, rather than running our own.
How do I investigate this?
Find out why the Search API can’t connect to elasticsearch.
- Look at the Search API logs
- Look at the elasticsearch cluster health
- Check the status of the Elasticsearch cluster in the AWS console