Deleting Elastic search index from the Google Kubernetes Engine (GKE) pod

Job ID: 31949662

Budget: ₹600 – ₹1,500 INR

I have elastic search pod in my GKE where I want to delete few indexes but when I tried to access the indices I am getting the following error

{"error":{"root_cause":[{"type":"security_exception","reason":"no permissions for indices:monitor/stats"}],"type":"security_exception","reason":"no permissions for indices:monitor/stats"},"status":403}root@elasticsearch-tekstack-0:/usr/share/elasticsearch
Related categories: Elasticsearch DevOps