--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/MqL_r1t7XP8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/3ad70e56-cd0f-43f2-a9ac-46342af0c14bn%40googlegroups.com.
Enter host password for user 'admin':
1
curl -s -k -u admin https://localhost:9200/_opendistro/_ism/policies/wazuh-alert-retention-policy | jq '._primary_term'
Enter host password for user 'admin':
1
The values are the same -> 1 it's correct?
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/63a3cfb7-4436-42b6-bb13-8440661ef36fn%40googlegroups.com.
Enter host password for user 'admin':
{"error":"Incorrect HTTP method for uri [/_opendistro/_ism/policies/wazuh-alert-retention-policy?if_seq_no=1&if_primary_term=1] and method [POST], allowed: [PUT, HEAD, DELETE, GET]","status":405}
Thanks.To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/ee8268ed-98cd-45c9-bb47-b8b946439588n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/11486c47-b14d-4fcc-8acb-ee9147bb0847n%40googlegroups.com.
curl -s -k -u admin -X PUT "https://localhost:9200/_opendistro/_ism/policies/wazuh-alert-retention-policy?if_seq_no=1&if_primary_term=1" -H 'Content-Type: application/json' -d '
> {
> "policy_id": "wazuh-alert-retention-policy",
> "description": "Wazuh index state management for OpenDistro to delete after a 30d.",
> "schema_version": 1,
Question(?)- It's possible to add the "ism_template" at Kibana UI (Screenshot attached)
"ism_template": {
"index_patterns": ["wazuh-alerts-4.x*"],
"priority": "50"
}
Thanks.
Nuno Campos
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/a26ebb32-d4ed-463b-a726-c36cf5f8c737n%40googlegroups.com.