Skip to content

I have create a index roll-over and delete policy but data not deleted #413

@dipenpatel235

Description

@dipenpatel235

Describe the bug
policy has been apply but data not deleted.

please look at policy..

{
"policy": {
"policy_id": "Data-rollover",
"description": "hot warm delete workflow",
"last_updated_time": 1657718012858,
"schema_version": 12,
"error_notification": null,
"default_state": "hot",
"states": [
{
"name": "hot",
"actions": [
{
"rollover": {
"min_index_age": "1d"
}
}
],
"transitions": [
{
"state_name": "warm"
}
]
},
{
"name": "warm",
"actions": [
{
"replica_count": {
"number_of_replicas": 0
}
}
],
"transitions": [
{
"state_name": "delete",
"conditions": {
"min_index_age": "30d"
}
}
]
},
{
"name": "delete",
"actions": [
{
"notification": {
"destination": {
"slack": {
"url": ""
}
},
"message_template": {
"source": "The index {{ctx.index}} is being deleted",
"lang": "mustache"
}
}
},
{
"delete": {}
}
],
"transitions": []
}
],
"ism_template": [
{
"index_patterns": [
"abc",
"xyz"
],
"priority": 100,
"last_updated_time": 1657718012858
}
]
}
}

I also attached screenshort please look at.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions