Is there any configuration that can maintain the green status for .security-7 index always?

Is there any configuration that can maintain the green status for .security-7 index always?

Welcome to our community! :smiley:

What state is it changing into to make you ask that question?

Thank you!
The elastic cluster consists of 5 primary nodes and 1 DR node.
When the data storage of the cluster exceeds 85%, the .security-7 index also becomes yellow state. Then I was unable to log in to the elastic cluster using basic authentication.
Therefore I want to know how to keep the green status for .security-7 index.

A yellow state should not stop you from logging in.

Can you share the response you are getting from Elasticsearch when that happens? Can you also check the logs in the master node for mentions of the .security index around that time?

Take a look at https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-cluster.html#disk-based-shard-allocation

Sorry, something missed that unable to login with basic authentication when the DR node was isolated from the cluster and the data storage of the cluster exceeds 85% disk in use.

If the DR node is isolated from the rest of the cluster it will be in red state as no master is available. This would cause problems for Kibana.

1 Like

But, unable to authenticate the elastic user using curl -XGET -u elastic:password 'http://localhost:9200/_cluster/health?pretty'

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.