danielberkompas/elasticsearch-elixir

Index.starting_with/2 returning unauthorized.

franckstifler opened this issue · 0 comments

The Elasticsearch.get(cluster, "/_cat/indices?format=json") is not allowed for all users. It's problematic to use to get the list of indices on some platform such as Heroku. It needs security features to monitor or manage cluster privilege.
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/cat-indices.html