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",

asked 2 years ago783 views
1 Answer
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
SUPPORT ENGINEER
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions