I upgraded to 6.2 installed x-pack and i can't seem to find the cause.
I have installed ELK many times-- I must have missed a config parameter.
It is all running on the same machine.
logstash cant connect
:error=>"Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/
curl cant connect
I try and list the indices and i get
curl -XGET 'localhost:9200/_cat/indices?v&pretty'
{
"error" : {
"root_cause" : [
{
"type" : "security_exception",
"reason" : "missing authentication token for REST request [/_cat/indices?v&pretty]",
"header" : {
"WWW-Authenticate" : "Basic realm="security" charset="UTF-8""
}
}
],
"type" : "security_exception",
"reason" : "missing authentication token for REST request [/_cat/indices?v&pretty]",
"header" : {
"WWW-Authenticate" : "Basic realm="security" charset="UTF-8""
}
},
"status" : 401