1.定义一个数据流满足以下要求:
1)backed indices名称满足data-stream__
2)索引模板名称叫task1
3)数据索引后5分钟内在hot节点,之后立即翻滚至warm节点,3分钟后转换到cold节点,翻滚后6分钟删除
Data streams>Set up a data stream
DELETE _ilm/policy/my_exam8_policy
PUT _ilm/policy/my_exam8_policy
{
"policy"<
1.定义一个数据流满足以下要求:
1)backed indices名称满足data-stream__
2)索引模板名称叫task1
3)数据索引后5分钟内在hot节点,之后立即翻滚至warm节点,3分钟后转换到cold节点,翻滚后6分钟删除
Data streams>Set up a data stream
DELETE _ilm/policy/my_exam8_policy
PUT _ilm/policy/my_exam8_policy
{
"policy"<