3 Respostas
- Mais recentes
- Mais votos
- Mais comentários
0
Figured it out.
Need to us opendistro in the key for the template as follows:
{
"index_patterns": ["test-*"],
"settings": {
"opendistro.index_state_management.policy_id": "zero_replica_and_delete_index"
}
}
respondido há 4 anos
0
Did this work for you? If I do the same, then the templates seems to accept the "opendistro.index_state_management.policy_id" setting, but after a while - if I get the template again through the API - it was removed from the settings.
Is there another way to apply policies automatically to new indices that match a certain pattern?
Regards,
MdB
respondido há 4 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 5 meses
- AWS OFICIALAtualizada há 2 anos