Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
all
Describe the issue:
I’m wondering if there is an easy way to know if an index is readonly. There is the cat api and it gives me the index status, but if the index became readonly, either because I made it readonly, or because the server reached the watermark level, there isn’t an obvious way to query for that. The index shows yellow whether it is readonly or not.
The only thing I have found so far is to query the cluster settings and it may indicate the status.
Ideally such a state would be available via “cat” APIs, like “cat index” or “cat cluster”. If we run low on disk space now, it shows the state as yellow, but if the index is readonly it still shows yellow.