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

gefragt vor 2 Jahren799 Aufrufe
1 Antwort
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-TECHNIKER
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen