ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 530 forks source link

Cannot get indices summary against AWS Elasticsearch 6.7 #486

Open jamiejackson opened 5 years ago

jamiejackson commented 5 years ago

General information

Issue Description

This is my first time using ElasticHQ. I'm running against AWS ES. I get the dashboard just fine image but when I try to get the "Indices Summary", I see no indices and I get errors in the logs.

Linking #371 because of the similar outward behavior.

Source Code / Logs

elastichq_log.txt

royrusso commented 5 years ago

Are the 7 indices on the cluster "open" (ie. you can query from them)?

jamiejackson commented 5 years ago

I actually have on the order of 250 indices (and many more documents than are reported). The nodes count is right, tho ;-).

As far as I know, all indices are open, but I'm too new to ES to answer that with certainty. (Let me know if there's a fairly easy way to answer that more definitively.)

jamiejackson commented 5 years ago

@royrusso, it turns out that I have a lot more indices than I'd thought (2961).

For what it's worth, they're all open.


Note to self:

curl -s "${es_base}/_cluster/state" | jq '.metadata.indices | to_entries | .[] | {index: .key, state: .value.state}'