1

我在 AWS 上有 ElasticSearch,它使用 Open Distro 而不是 Elastics ilm。

当您对索引应用状态管理时,会导致创建大量的审计索引。我想完全禁用它。

https://opendistro.github.io/for-elasticsearch-docs/docs/ism/settings/

显然它刚刚完成设置opendistro.index_state_management.history.enabledfalse但如果我将它应用到_cluster/settings它似乎不起作用。

PUT _cluster/settings
{
  "opendistro.index_state_management.history.enabled": false
}

结果是:

{
  "Message": "Your request: '/_cluster/settings' payload is not allowed."
}

该设置在索引模板上也无效,因此我无法在此处设置。

如何禁用此审核历史记录?

4

1 回答 1

1

我在 GitHub 上提问,得到了答案:

PUT _cluster/settings
{
  "persistent" : {
    "opendistro.index_state_management.history.enabled": false
  }
}

需要用persistent.

https://opendistro.github.io/for-elasticsearch-docs/docs/elasticsearch/configuration/

于 2020-10-31T03:56:50.753 回答