fix(usage): Update index lifecycle policy to not delete old datahub usage events (#8565)

Co-authored-by: Indy Prentice <indy@ip-192-168-3-10.us-west-2.compute.internal>
This commit is contained in:
Indy Prentice 2023-08-03 18:02:59 -03:00 committed by GitHub
parent fb40c769d3
commit 4778a8cd99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 24 deletions

View File

@ -3,7 +3,7 @@
"policy_id": "PREFIXdatahub_usage_event_policy",
"description": "Datahub Usage Event Policy",
"default_state": "Rollover",
"schema_version": 2,
"schema_version": 3,
"states": [
{
"name": "Rollover",
@ -31,22 +31,6 @@
"read_only": {}
}
],
"transitions": [
{
"state_name": "Delete",
"conditions": {
"min_index_age": "60d"
}
}
]
},
{
"name": "Delete",
"actions": [
{
"delete": {}
}
],
"transitions": []
}
],

View File

@ -7,13 +7,7 @@
"max_age": "7d"
}
}
},
"delete": {
"min_age": "60d",
"actions": {
"delete": {}
}
}
}
}
}
}