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

已提問 2 年前檢視次數 799 次
1 個回答
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
支援工程師
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南