[英]Disable state management history in Elasticsearch with Open Distro
我在 AWS 上有 ElasticSearch,它使用 Open Distro 而不是 Elastics ilm。
當您對索引應用狀態管理時,它會導致創建大量的審計索引。 我想完全禁用它。
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."
}
該設置在索引模板上也無效,因此我無法在那里進行設置。
如何禁用此審核歷史記錄?
我在 GitHub 上問過,得到了答案:
PUT _cluster/settings
{
"persistent" : {
"opendistro.index_state_management.history.enabled": false
}
}
需要用一個persistent
的動作來包裝它。
https://opendistro.github.io/for-elasticsearch-docs/docs/elasticsearch/configuration/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.