我在亚马逊网络服务上有ElasticSearch,它使用开放发行版而不是弹性信息生命周期管理。
当您对索引应用状态管理时,它会导致创建大量的审计索引。我想完全禁用它。
https://opendistro.github.io/for-elasticsearch-docs/docs/ism/settings/
显然,它只是完成了将opendistro.index_state_management.history.enabled设置为false,但是如果我将其应用于_cluster/settings,它似乎不起作用。
PUT _cluster/settings
{
"opendistro.index_state_management.history.enabled": false
}结果如下:
{
"Message": "Your request: '/_cluster/settings' payload is not allowed."
}该设置在索引模板上也是无效的,因此我无法在那里设置它。
如何禁用此审核历史记录?
发布于 2020-10-31 11:56:51
我在GitHub上问了一下,得到的答案是:
PUT _cluster/settings
{
"persistent" : {
"opendistro.index_state_management.history.enabled": false
}
}需要使用persistent操作对其进行包装。
https://opendistro.github.io/for-elasticsearch-docs/docs/elasticsearch/configuration/
https://stackoverflow.com/questions/64605001
复制相似问题