Chapter 10. Managing Clusters and Nodes

In this chapter, we will cover the following recipes:

  • Controlling cluster health via API
  • Controlling cluster state via API
  • Getting cluster nodes information via API
  • Getting node statistics via API
  • Using the task management API
  • Hot thread API
  • Managing the shard allocation
  • Monitoring segments with segment API
  • Cleaning the cache

Introduction

In the Elasticsearch ecosystem, it's important to monitor nodes and clusters to manage and improve their performance and state. There are several issues that can arise at cluster level, such as:

  • Node overheads : Some nodes can have too many shards allocated and become a bottleneck for the entire cluster
  • Node shutdown : This can happen for many ...

Get Elasticsearch 5.x Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.