Hello community, first of all many many congrats on elastic 8.0 release.
I have setup Elasticsearch and kibana 8.0, Elasticsearch is running perfectly fine, below is the output of curl -X GET https://localhost:9200 -u elastic:my-password-here -k
{ "name" : "ip-172-31-72-165.ec2.internal", "cluster_name" : "elasticsearch", "cluster_uuid" : "ZFx6oZ4oQq-Xn8yPKDwTOA", "version" : { "number" : "8.0.0", "build_flavor" : "default", "build_type" : "rpm", "build_hash" : "1b6a7ece17463df5ff54a3e1302d825889aa1161", "build_date" : "2022-02-03T16:47:57.507843096Z", "build_snapshot" : false, "lucene_version" : "9.0.0", "minimum_wire_compatibility_version" : "7.17.0", "minimum_index_compatibility_version" : "7.0.0" }, "tagline" : "You Know, for Search" }
Now when I start kibana with elastic default password auto generated at the time of Elasticsearch installation, it shows me blank page in browwer, while commenting both the username and password for Elasticsearch in kibana.yml and providing the token, it start loading kibana page with logo but then shows, "Kibana server is not ready yet."
server.host : "0.0.0.0"
Elasticsearch.hosts : ["https://localhost:9200"]
Elasticsearch.serviceAccountToken : "token-here"
Elasticsearch.ssl.verificationMode : 'none'
Kibana logs
set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.","log":{"level":"WARN","logger":"plugins.encryptedSavedObjects"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:33:11.661+00:00","message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.","log":{"level":"WARN","logger":"plugins.actions"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:33:11.698+00:00","message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.","log":{"level":"WARN","logger":"plugins.alerting"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:33:11.728+00:00","message":"Installing common resources shared between all indices","log":{"level":"INFO","logger":"plugins.ruleRegistry"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:33:12.580+00:00","message":"Chromium sandbox provides an additional layer of protection, and is supported for Linux Amazon Linux 2 (Karoo) OS. Automatically enabling Chromium sandbox.","log":{"level":"INFO","logger":"plugins.screenshotting.config"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:33:13.561+00:00","message":"Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: unable to authenticate with provided credentials and anonymous access is not allowed for this request","log":{"level":"ERROR","logger":"Elasticsearch-service"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:33:16.877+00:00","message":"Browser executable: /usr/share/kibana/x-pack/plugins/screenshotting/chromium/headless_shell-linux_x64/headless_shell","log":{"level":"INFO","logger":"plugins.screenshotting.chromium"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:33:18.152+00:00","message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 127.0.0.1:9200","log":{"level":"ERROR","logger":"Elasticsearch-service"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:33:52.900+00:00","message":"Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: unable to authenticate with provided credentials and anonymous access is not allowed for this request","log":{"level":"ERROR","logger":"Elasticsearch-service"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:53:11.729+00:00","message":"Timeout: it took more than 1200000ms","error":{"message":"Timeout: it took more than 1200000ms","type":"Error","stack_trace":"Error: Timeout: it took more than 1200000ms\n at Timeout._onTimeout (/usr/share/kibana/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.js:54:20)\n at listOnTimeout (node:internal/timers:557:17)\n at processTimers (node:internal/timers:500:7)"},"log":{"level":"ERROR","logger":"plugins.ruleRegistry"},"process":{"pid":5730}}
{"ecs":{"version":"8.0.0"},"@timestamp":"2022-02-16T21:53:11.732+00:00","message":"Failure installing common resources shared between all indices. Timeout: it took more than 1200000ms","error":{"message":"Failure installing common resources shared between all indices. Timeout: it took more than 1200000ms","type":"Error","stack_trace":"Error: Failure installing common resources shared between all indices. Timeout: it took more than 1200000ms\n at ResourceInstaller.installWithTimeout (/usr/share/kibana/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.js:63:13)\n at ResourceInstaller.installCommonResources (/usr/share/kibana/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.js:77:5)"},"log":{"level":"ERROR","logger":"plugins.ruleRegistry"},"process":{"pid":5730}}
Elasticsearch logs
[2022-02-16T21:33:45,029][INFO ][o.e.t.n.NettyAllocator ] [ip-172-31-72-165.ec2.internal] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
[2022-02-16T21:33:45,240][INFO ][o.e.d.DiscoveryModule ] [ip-172-31-72-165.ec2.internal] using discovery type [zen] and seed hosts providers [settings]
[2022-02-16T21:33:47,384][INFO ][o.e.n.Node ] [ip-172-31-72-165.ec2.internal] initialized
[2022-02-16T21:33:47,385][INFO ][o.e.n.Node ] [ip-172-31-72-165.ec2.internal] starting ...
[2022-02-16T21:33:47,407][INFO ][o.e.x.s.c.f.PersistentCache] [ip-172-31-72-165.ec2.internal] persistent cache index loaded
[2022-02-16T21:33:47,408][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [ip-172-31-72-165.ec2.internal] deprecation component started
[2022-02-16T21:33:47,584][INFO ][o.e.t.TransportService ] [ip-172-31-72-165.ec2.internal] publish_address {172.31.72.165:9300}, bound_addresses {[::]:9300}
[2022-02-16T21:33:48,067][INFO ][o.e.b.BootstrapChecks ] [ip-172-31-72-165.ec2.internal] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2022-02-16T21:33:48,106][INFO ][o.e.c.c.Coordinator ] [ip-172-31-72-165.ec2.internal] cluster UUID [ZFx6oZ4oQq-Xn8yPKDwTOA]
[2022-02-16T21:33:48,356][INFO ][o.e.c.s.MasterService ] [ip-172-31-72-165.ec2.internal] elected-as-master ([1] nodes joined)[{ip-172-31-72-165.ec2.internal}{7-QJqFl9SIKGHrGrAeCk1Q}{0wR7CZu5R22gVJ8GLP-MVA}{172.31.72.165}{172.31.72.165:9300}{cdfhilmrstw} elect leader, BECOME_MASTER_TASK, FINISH_ELECTION], term: 10, version: 129, delta: master node changed {previous , current [{ip-172-31-72-165.ec2.internal}{7-QJqFl9SIKGHrGrAeCk1Q}{0wR7CZu5R22gVJ8GLP-MVA}{172.31.72.165}{172.31.72.165:9300}{cdfhilmrstw}]}
[2022-02-16T21:33:48,684][INFO ][o.e.c.s.ClusterApplierService] [ip-172-31-72-165.ec2.internal] master node changed {previous , current [{ip-172-31-72-165.ec2.internal}{7-QJqFl9SIKGHrGrAeCk1Q}{0wR7CZu5R22gVJ8GLP-MVA}{172.31.72.165}{172.31.72.165:9300}{cdfhilmrstw}]}, term: 10, version: 129, reason: Publication{term=10, version=129}
[2022-02-16T21:33:49,243][INFO ][o.e.h.AbstractHttpServerTransport] [ip-172-31-72-165.ec2.internal] publish_address {172.31.72.165:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}, {172.31.72.165:9200}
[2022-02-16T21:33:49,244][INFO ][o.e.n.Node ] [ip-172-31-72-165.ec2.internal] started
[2022-02-16T21:33:49,287][INFO ][o.e.l.LicenseService ] [ip-172-31-72-165.ec2.internal] license [adc6bd23-ba65-4fd2-8650-4d244b60e4ed] mode [basic] - valid
[2022-02-16T21:33:49,289][INFO ][o.e.x.s.a.Realms ] [ip-172-31-72-165.ec2.internal] license mode is [basic], currently licensed security realms are [reserved/reserved,file/default_file,native/default_native]
[2022-02-16T21:33:49,311][INFO ][o.e.g.GatewayService ] [ip-172-31-72-165.ec2.internal] recovered [2] indices into cluster_state
[2022-02-16T21:33:50,131][INFO ][o.e.c.r.a.AllocationService] [ip-172-31-72-165.ec2.internal] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.security-7][0], [.geoip_databases][0]]])." previous.health="RED" reason="shards started [[.security-7][0], [.geoip_databases][0]]"
[2022-02-16T21:33:50,934][INFO ][o.e.i.g.DatabaseNodeService] [ip-172-31-72-165.ec2.internal] successfully loaded geoip database file [GeoLite2-Country.mmdb]
[2022-02-16T21:33:51,066][INFO ][o.e.i.g.DatabaseNodeService] [ip-172-31-72-165.ec2.internal] successfully loaded geoip database file [GeoLite2-ASN.mmdb]
[2022-02-16T21:33:52,436][INFO ][o.e.i.g.DatabaseNodeService] [ip-172-31-72-165.ec2.internal] successfully loaded geoip database file [GeoLite2-City.mmdb]