How can i disable the automatic index creation in elasticsearch? -


i need disable automatic index creation index need permit one. how can disable automatic index creation elasticsearch particular index only? tried

action.auto_create_index: false 

in elasticsearch.yml file,but seems disable automatic indexing all. can me on this?

"action.auto_create_index" bit complex beyond true/false values. can use patterns occuring in index names identified , can specify whether can created automatically if not existing.

an example

action.auto_create_index: -b*,+a*,-* 

here index starting "a" created automatically,but others starting "b" not allowed. -* indicates other indices not allowed , if want need create them manually.

also order of values matters. details,you can visit documentation here


Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -