I have ES 2.0 and latest Shield that I downloaded today (12/01/15) - not sure how to tell which version I have.
My curl tool version is as follows:
curl 7.40.0 (x86_64-pc-win32) libcurl/7.40.0 OpenSSL/1.0.1g zlib/1.2.8 WinIDN libssh2/1.4.3_DEV
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz
I have just added es_admin admin user per instructions and I can run the basic commands against the ES engine using curl, but I have to specify the userid:password in the command, if I don't the command just hangs there waiting and no matter what I put in there it just sits there waiting.... what am I missing?!
jjdepaul@myhost /cygdrive/c/elasticsearch-2.0.0/bin/shield $ curl -u es_admin -XGET localhost:9200/_shield
The cursor sits just below the cmd on an empty line and takes input characters that I type, but entering a pwd in there doesn't seem to make it work...
Only this version of the cmd will work for me:
$ curl -u es_admin:pa$$word -XGET localhost:9200/_shield