Collection Name:AOS
Index Name : Error-log
How can I configure OpenSearch to automatically delete data from an index after one day?
We generated one data lifecycle policy using the following query, however it is not working.
“Resource”: [
“index/myspm/error-logs”
],
“ResourceType”: “index”,
“MinIndexRetention”: “24h”
}
New contributor
Neela Hareesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.