The _cat APIs available on the cluster are extremely useful in inspecting the “state” of the cluster: nodes, indices, shards, tasks, etc.These APIs will be used in any troubleshooting or information gathering exercise. I’m pointing out a few useful endpoints here to get started.
export ESHOST="http://localhost:9200"