Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.8.0
Describe the issue :
Hello. Could you please share your ISM templates so that I can use them to understand my mistakes in the settings and improve my configurations. I would be grateful for any examples, but it is better if they are aimed at long-term storage of indexes, transfer to different states, or shrinking.
Here is an example:
{
"id": "test",
"seqNo": 96512,
"primaryTerm": 46,
"policy": {
"policy_id": "test",
"description": "A sample description of the policy",
"last_updated_time": 1691052297616,
"schema_version": 18,
"error_notification": null,
"default_state": "init",
"states": [
{
"name": "init",
"actions": [],
"transitions": [
{
"state_name": "warm",
"conditions": {
"min_rollover_age": "30d"
}
}
]
},
{
"name": "warm",
"actions": [
{
"retry": {
"count": 3,
"backoff": "exponential",
"delay": "1m"
},
"allocation": {
"require": {
"node.attrs.temperature": "warm"
},
"include": {},
"exclude": {},
"wait_for": false
}
}
],
"transitions": [
{
"state_name": "delete",
"conditions": {
"min_rollover_age": "60d"
}
}
]
},
{
"name": "delete",
"actions": [
{
"retry": {
"count": 3,
"backoff": "exponential",
"delay": "1m"
},
"delete": {}
}
],
"transitions": []
}
],
"ism_template": [
{
"index_patterns": [
"nginx-logs-*"
],
"priority": 1,
"last_updated_time": 1691052297616
}
]
}
}
1 Like
system
Closed
October 2, 2023, 8:46am
3
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.