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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ