我是否可以使用ilm模板作为我的自定义索引。如果是的话会滚到什么价值?我的索引是用logstash创建的。我的索引是索引名-团队。它会使用模板滚动吗?名字叫什么?
发布于 2022-04-11 08:02:12
滚动是根据您在策略中配置的条件进行的。滚动索引的名称将以整数作为索引名称的前缀递增。
例如,如果您的索引名是sample-team,那么下面是滚动索引。
sample-team-000001 // This is the initial index that you have created manually
sample-team-000002 // after first all other will be created automatic by policy
sample-team-000003
sample-team-000004参考资料:https://www.elastic.co/guide/en/elasticsearch/reference/current/set-up-lifecycle-policy.html
https://stackoverflow.com/questions/68910326
复制相似问题