Hello,
I did the upgrade from ELK 5.6.4 to 6.8.1.
The kibana use to work in the simple way as possible, without authentication.
The ES cluster is already running with xpack.security.enabled: false
in elasticsearch.yml
:
$ curl -s -XGET 'localhost:9200/_xpack' | jq .[].security
{
"description": "Security for the Elastic Stack",
"available": true,
"enabled": false
}
But kibana says "Cannot connect to the Elasticsearch cluster" by default.
If I use the config xpack.security.enabled: false
in kibana.yml
, I got: "This page isn’t working localhost redirected you too many times"
$ curl -I http://localhost:5601/ -L
HTTP/1.1 302 Found
location: /app/kibana
kbn-name: kibana
content-type: text/html; charset=utf-8
cache-control: no-cache
content-length: 0
connection: close
Date: Sat, 29 Jun 2019 21:22:28 GMT
HTTP/1.1 302 Found
location: /
kbn-name: kibana
content-type: text/html; charset=utf-8
cache-control: no-cache
content-length: 0
connection: close
Date: Sat, 29 Jun 2019 21:22:28 GMT
HTTP/1.1 302 Found
location: /app/kibana
kbn-name: kibana
content-type: text/html; charset=utf-8
cache-control: no-cache
content-length: 0
connection: close
Date: Sat, 29 Jun 2019 21:22:28 GMT
....
curl: (47) Maximum (50) redirects followed
This is a new installation, with new machine and new index (.kibana-testing)
Relevant logs:
"Request will be handled by proxy GET:/app/kibana."
"Verifying access to space \"default\""
"Unable to navigate to space \"default\", redirecting to Space Selector. Error: Saved object [space/default] not found"
"GET /app/kibana 302 30ms - 9.0B"
"Event is being forwarded: connection"
"Request will be handled by proxy GET:/."
"GET / 302 30ms - 9.0B"
"Event is being forwarded: connection"
"Request will be handled by proxy GET:/app/kibana."
"Verifying access to space \"default\""
"Unable to navigate to space \"default\", redirecting to Space Selector. Error: Saved object [space/default] not found"
"GET /app/kibana 302 32ms - 9.0B"
"Event is being forwarded: connection"
"Request will be handled by proxy GET:/."
"GET / 302 40ms - 9.0B"
"Event is being forwarded: connection"
"Request will be handled by proxy GET:/app/kibana."
"Verifying access to space \"default\""
"Unable to navigate to space \"default\", redirecting to Space Selector. Error: Saved object [space/default] not found"
"GET /app/kibana 302 37ms - 9.0B"
"Event is being forwarded: connection"
"Request will be handled by proxy GET:/."
What can we do to just use Kibana 6.8.1?
Thanks!