I can't get the template, may be because we didn't use a specific one while initializing the index.
We are using it for logs, data is being pushed from different system components via POST query. Some new fields have also been added on the go.
Here is the alias info.
============================
GET ebqlogs/_alias
============================
{
"ebqlogs" : {
"aliases" : {
"ebqlogs-" : { }
}
}
}
Here is the lifecycle policy info:
===============================
GET _ilm/policy/ebqlogs-90-days
===============================
{
"ebqlogs-90-days" : {
"version" : 6,
"modified_date" : "2023-03-11T19:07:33.765Z",
"policy" : {
"phases" : {
"warm" : {
"min_age" : "75d",
"actions" : {
"set_priority" : {
"priority" : 50
}
}
},
"cold" : {
"min_age" : "90d",
"actions" : {
"set_priority" : {
"priority" : 0
}
}
},
"hot" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_primary_shard_size" : "100gb",
"max_age" : "60d"
}
}
},
"delete" : {
"min_age" : "120d",
"actions" : {
"delete" : {
"delete_searchable_snapshot" : true
},
"wait_for_snapshot" : {
"policy" : "cloud-snapshot-policy"
}
}
}
}
},
"in_use_by" : {
"indices" : [ ],
"data_streams" : [ ],
"composable_templates" : [ ]
}
}
}
Here is the index settings:
============================
GET ebqlogs/_settings
============================
{
"ebqlogs" : {
"settings" : {
"index" : {
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"number_of_shards" : "1",
"provided_name" : "ebqlogs",
"creation_date" : "1594309231158",
"number_of_replicas" : "1",
"uuid" : "H_t-GgIwQJm53N2U-aGGnA",
"version" : {
"created" : "7060199"
}
}
}
}
}
I just created the alias when trying to attach a lifecycle policy, haven't used that for writing data.
Thanks