OpenSearch [elasticsearch] elasticsearch/client.go:407 Cannot index event publisher.Event

0

I started to notice there are random error throw at my OpenSearch Log with :

Cannot index event publisher.Event

My cluster, indices are all in health state, with no jvm or cpu above 80%. Not sure what is causing it, and in the index block, i see

`"blocks" : {
          "write" : "false"
        },`

Wondering if because it is missing the setting "read_only_allow_delete" : "false",

feita há 2 anos799 visualizações
1 Resposta
0

By default "read_only_allow_delete" will be false, so if not seeing this setting then it will be the default "false" in AWS Opensearch. Regarding the error "Cannot index event publisher.Event" its looks to be a generic error, hence if you enable debug in the client side then can get descriptive error messages.

Additionally you can enable error logs in the cluster which can help for the troubleshooting.

Enabling error logs - https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createdomain-configure-slow-logs.html Viewing Error logs - https://aws.amazon.com/blogs/big-data/viewing-amazon-opensearch-service-error-logs/

AWS
ENGENHEIRO DE SUPORTE
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas