mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-19 06:38:04 +00:00
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:
parent
fb40c769d3
commit
4778a8cd99
@ -3,7 +3,7 @@
|
|||||||
"policy_id": "PREFIXdatahub_usage_event_policy",
|
"policy_id": "PREFIXdatahub_usage_event_policy",
|
||||||
"description": "Datahub Usage Event Policy",
|
"description": "Datahub Usage Event Policy",
|
||||||
"default_state": "Rollover",
|
"default_state": "Rollover",
|
||||||
"schema_version": 2,
|
"schema_version": 3,
|
||||||
"states": [
|
"states": [
|
||||||
{
|
{
|
||||||
"name": "Rollover",
|
"name": "Rollover",
|
||||||
@ -31,22 +31,6 @@
|
|||||||
"read_only": {}
|
"read_only": {}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"transitions": [
|
|
||||||
{
|
|
||||||
"state_name": "Delete",
|
|
||||||
"conditions": {
|
|
||||||
"min_index_age": "60d"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Delete",
|
|
||||||
"actions": [
|
|
||||||
{
|
|
||||||
"delete": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"transitions": []
|
"transitions": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -7,12 +7,6 @@
|
|||||||
"max_age": "7d"
|
"max_age": "7d"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"delete": {
|
|
||||||
"min_age": "60d",
|
|
||||||
"actions": {
|
|
||||||
"delete": {}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user