Good morning guys,
Could you please possibly advise on how to achieve index management on a monthly basis ?
For example, if the index alias is configured like
{
"actions": [
{
"add": {
"index": "{{ item }}",
"index_routing": "IXmac:cache",
"search_routing": "IXmac:cache",
"alias": "TheApp"
}
},
{
"add": {
"index": "{{ item }}",
"index_routing": "IXmac:cache",
"search_routing": "IXmac:cache",
"alias": "IXmac"
}
}
]
}
How the index should be configured in order to
[1] automatically create an index every month
[2] when querying from Kibana or via curl, the time filter of the query spans more than 1 month, will elasticsearch automatically query the related indices ?
Nikos