I might mention this is how I am creating the index template
PUT _index_template/log-history-h00
{
"index_patterns": ["log-history-h00*"],
"priority": 1,
"template": {
"settings": {
"number_of_shards": 1,
"index": {
"lifecycle": {
"name": "my-ilm-policy",
"rollover_alias": "log-history-h00"
}
}
}
}
}