Home > Blockchain >  How to find on which node is a specific index on elasticsearch
How to find on which node is a specific index on elasticsearch

Time:09-30

I have an ElasticSearch server with thousands of indexes. My question is how can I know on which node is my index saved on

CodePudding user response:

You need to use the cat shards API.

GET /_cat/shards/index-name

It will return where the shards of the index-name is located.

  • Related