Elisha Sterngold
Elisha Sterngold

Reputation: 2504

How to find on which node is a specific index on elasticsearch

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

Upvotes: 3

Views: 3944

Answers (1)

leandrojmp
leandrojmp

Reputation: 7473

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.

Upvotes: 8

Related Questions