Skip to content

Search with Elasticsearch and OpenSearch

Running a search cluster: checking health, indices and shards over the REST API, resetting passwords, storing secrets in the keystore and managing plugins.

Basics: Elasticsearch or OpenSearch, installation and paths, the REST API with curl, green, yellow and red, memory and system settings

Elasticsearch

From other chapters

  • curl


    Talk to the REST API. Covered in the chapter Network.

  • jq


    Filter the JSON answers. Covered in the chapter Text processing.

  • sysctl


    Set vm.max_map_count. Covered in the chapter Performance.

  • ufw


    Open port 9200 only for application servers. Covered in the chapter Network.