kumar1
July 15, 2017, 3:19pm
1
Hi ,
Iam trying to delete index from elastic search in Cygwin tool .But getting this error below.
{"error":{"root_cause":[{"type":"security_exception","reason":"action [indices:admin/delete] requires authentication","header":{"WWW-Authenticate":"Basic realm="shield" charset="UTF-
8""}}],"type":"security_exception","reason":"action [indices:admin/delete] requires authentication","header":{"WWW-Authenticate":"Basic realm="shield" charset="UTF-8""}},"status":4
Can you let me know how to delete index.
Thanks
kumar1:
requires authentication
It appears your Elasticsearch has security enabled. You will need to provide a username and password. If your Cygwin tool does not allow you to provide those, you will need to use a different tool.
kumar1
July 15, 2017, 3:43pm
3
Thanks for the rply.
Iam using this command.
curl https://93ae1796738abc7ae.eu-west-1.aws.found.io:9243/v2_1464081736197 -XDELETE
Iam not added uname,password anywhere in This command.Can you suggest how to do this delete operation.
kumar1
July 15, 2017, 3:50pm
4
oops..I've logged in with Heroku login's not with Elasic Search.Will it be the cause !
And to login to this Elastic search through command prompt, what is the command .Can you help me to login and to delete the index.
curl -u username
-p https://....
It will prompt you for the password
kumar1
July 16, 2017, 1:57pm
6
Thank you soooo much for your support.It work's now.
system
(system)
Closed
August 13, 2017, 1:57pm
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.