Relative Content

Tag Archive for javascriptjson

Converting JSON data into JS array [duplicate]

This question already has answers here: Using Fetch API to Access JSON (3 answers) How do I return the response from an asynchronous call? (42 answers) Closed 3 mins ago. I’ve searched JSON guides for a while and all I find is always those that “explain” this like so: let jsonString = {Item: “Text”}; let […]

Data lifecycle policy for Amazon Open Search Service: 24-hours data deletion

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”
}