How can i disable the automatic index creation in elasticsearch?

前端 未结 3 916
情书的邮戳
情书的邮戳 2021-02-20 06:28

I need to disable automatic index creation for an index but need to permit for another one. How can I disable the automatic index creation by elasticsearch for a particular inde

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-20 07:06

    You can provide an index name pattern to specify whitelist/blacklist. See this for more information.

    Automatic index creation can include a pattern based white/black list, for example, set action.auto_create_index to +aaa*,-bbb*,+ccc*,-* (+ meaning allowed, and - meaning disallowed).

提交回复
热议问题