Track cluster health, shard state and indexing rate for Elasticsearch or OpenSearch.
Scope the key to the built-in monitor cluster privilege rather than using an admin credential.
POST /_security/api_key
{
"name": "zynty-monitor",
"role_descriptors": {
"zynty_monitor": {
"cluster": ["monitor"],
"indices": [{"names": ["*"], "privileges": ["monitor"]}]
}
}
}
Use the REST API protocol and paste the generated API key rather than a username and password.
A cluster status of yellow means some replicas are unassigned, usually fine short-term; red means primary shards are missing and needs immediate attention.