Cannot delete watchers when using basic license

Hi,

I got same issue with this link which happened from trial license to basic license. Cannot delete watchers when using basic license · Issue #23490 · elastic/elasticsearch · GitHub, but I can not find answer at here. So I ask again. Thanks.

Blockquote
curl -XPOST 'http://xxx:9200/_xpack/watcher/_stop'
{"error":{"root_cause":[{"type":"security_exception","reason":"current license is non-compliant for [watcher]","license.expired.feature":"watcher"}],"type":"security_exception","reason":"current license is non-compliant for [watcher]","license.expired.feature":"watcher"},"status":403}%

Blockquote
curl -XGET 'xxx:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason' | grep UNASSIGNED
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7409 100 7409 0 0 7409 0 0:00:01 --:--:-- 0:00:01 22657
.watches 0 p UNASSIGNED CLUSTER_RECOVERED

Blockquote
curl -XDELETE 'http://xxx:9200/.watches/?pretty'
{"error":"This endpoint is not supported for DELETE on .watches index.","status":400}%

see How to delete UNASSIGNED .watches?

hi @spinscale

Thanks a lot. It worked. The cluster is green now.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.