hi! im running curator for opensearch with ssl enabled
I dont get any errors/warnings in my logs
but at the end I’m not seeing the indices deleting
my configuration:
client:
hosts:
- https://opensearch-data-1
port: 9200
url_prefix:
use_ssl: True
certificate:
client_cert: certs/node.pem
client_key: certs/node-key.pem
aws_key:
aws_secret_key:
aws_region:
ssl_no_validate: False
http_auth: admin:admin
username: admin
password: admin
timeout: 30
master_only: False
logging:
loglevel: DEBUG
logfile: /var/log/curator/curator.log
logformat: default
blacklist: [‘elasticsearch’, ‘urllib3’]
Hi. I’m not sure Curator will work for OpenSearch, but did you try ISM instead?
yes, I created a deleting policy and it was succeeded but didn’t really delete the index
{
“policy_id”: “delete_policy_specific”,
“description”: “Delete Indices after 15 days.”,
“last_updated_time”: 1678137953974,
“schema_version”: 17,
“error_notification”: null,
“default_state”: “default”,
“states”: [
{
“name”: “default”,
“actions”: ,
“transitions”: [
{
“state_name”: “delete”,
“conditions”: {
“min_index_age”: “15d”
}
}
]
},
{
“name”: “delete”,
“actions”: [
{
“retry”: {
“count”: 3,
“backoff”: “exponential”,
“delay”: “1m”
},
“delete”: {}
}
],
“transitions”:
}
],
“ism_template”: [
{
“index_patterns”: [
“reports-230228”
],
“priority”: 1,
“last_updated_time”: 1678137723087
}
]
}