From b94bb5ca43155fcea4faf9a17b3a530f737ff432 Mon Sep 17 00:00:00 2001 From: amandilaras Date: Mon, 20 May 2024 13:57:50 +0300 Subject: [PATCH] give monitor cluster priveledge to the elastic role for the deploment --- deployment/elk/elasticsearch/index_init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/elk/elasticsearch/index_init.sh b/deployment/elk/elasticsearch/index_init.sh index 51cc11638..d9a831252 100644 --- a/deployment/elk/elasticsearch/index_init.sh +++ b/deployment/elk/elasticsearch/index_init.sh @@ -36,6 +36,7 @@ curl -XPUT "http://localhost:9200/opencdmp-descriptions-test" -u elastic:elastic # Command to create the role curl -XPOST "localhost:9200/_security/role/opencdmp-api-test" -u elastic:elastic -H 'Content-Type: application/json' -d '{ + "cluster": ["monitor"], "indices": [ { "names": [ "opencdmp-plans-test", "opencdmp-descriptions-test" ],