I installed Elasticsearch 8.16 successfully
❯ curl localhost:9200
{
"name" : "debian",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "8bKtWy_zTImqaRYnzC453g",
"version" : {
"number" : "8.16.0",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "12ff76a92922609df4aba61a368e7adf65589749",
"build_date" : "2024-11-08T10:05:56.292914697Z",
"build_snapshot" : false,
"lucene_version" : "9.12.0",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
# with secureity disabled in elasticsearch.yml
xpack.security.enabled: false
xpack.security.enrollment.enabled: false
However, I can't seem to connec to Kibana at all. It started successfull but I couldn't get a response from it.
❯ curl localhost:5601
# keep waiting and nothing happened
❯ sudo service kibana status
● kibana.service - Kibana
Loaded: loaded (/lib/systemd/system/kibana.service; disabled; preset: enabled)
Active: active (running) since Fri 2024-11-15 11:22:50 AEDT; 20min ago
Docs: https://www.elastic.co
Main PID: 4081935 (node)
Tasks: 11 (limit: 18991)
Memory: 418.4M
CPU: 24.376s
CGroup: /system.slice/kibana.service
└─4081935 /usr/share/kibana/bin/../node/glibc-217/bin/node /usr/share/kibana/bin/../src/cli/dist
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.203+11:00][INFO ][elasticsearch-service] Successfully connected to Elasticsearch after waiting for 1193856 milliseconds
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.296+11:00][INFO ][savedobjects-service] Waiting until all Elasticsearch nodes are compatible with Kibana before starting s>
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.297+11:00][INFO ][savedobjects-service] Starting saved objects migrations
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.340+11:00][INFO ][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 21ms.
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.343+11:00][INFO ][savedobjects-service] [.kibana_alerting_cases] INIT -> CREATE_NEW_TARGET. took: 18ms.
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.344+11:00][INFO ][savedobjects-service] [.kibana_ingest] INIT -> CREATE_NEW_TARGET. took: 17ms.
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.344+11:00][INFO ][savedobjects-service] [.kibana] INIT -> CREATE_NEW_TARGET. took: 28ms.
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.347+11:00][INFO ][savedobjects-service] [.kibana_security_solution] INIT -> CREATE_NEW_TARGET. took: 24ms.
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.348+11:00][INFO ][savedobjects-service] [.kibana_analytics] INIT -> CREATE_NEW_TARGET. took: 28ms.
Nov 15 11:42:55 debian kibana[4081935]: [2024-11-15T11:42:55.349+11:00][INFO ][savedobjects-service] [.kibana_usage_counters] INIT -> CREATE_NEW_TARGET. took: 32ms.
Here is the log from /var/log/kibana/kibana.log
❯ sudo tail /var/log/kibana/kibana.log
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.967+11:00","message":"[.kibana_analytics] Action failed with '[index_not_green_timeout] Timeout waiting for the status of the [.kibana_analytics_8.16.0_001] index to become 'green' Refer to https://www.elastic.co/guide/en/kibana/8.16/resolve-migrations-failures.html#_repeated_time_out_requests_that_eventually_fail for information on how to resolve the issue.'. Retrying attempt 1 in 2 seconds.","log":{"level":"ERROR","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.504607684},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.967+11:00","message":"[.kibana_analytics] CREATE_NEW_TARGET -> CREATE_NEW_TARGET. took: 600619ms.","log":{"level":"INFO","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.505666319},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.969+11:00","message":"[.kibana_task_manager] Action failed with '[index_not_green_timeout] Timeout waiting for the status of the [.kibana_task_manager_8.16.0_001] index to become 'green' Refer to https://www.elastic.co/guide/en/kibana/8.16/resolve-migrations-failures.html#_repeated_time_out_requests_that_eventually_fail for information on how to resolve the issue.'. Retrying attempt 1 in 2 seconds.","log":{"level":"ERROR","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.506383457},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.969+11:00","message":"[.kibana_task_manager] CREATE_NEW_TARGET -> CREATE_NEW_TARGET. took: 600629ms.","log":{"level":"INFO","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.506484616},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.970+11:00","message":"[.kibana_ingest] Action failed with '[index_not_green_timeout] Timeout waiting for the status of the [.kibana_ingest_8.16.0_001] index to become 'green' Refer to https://www.elastic.co/guide/en/kibana/8.16/resolve-migrations-failures.html#_repeated_time_out_requests_that_eventually_fail for information on how to resolve the issue.'. Retrying attempt 1 in 2 seconds.","log":{"level":"ERROR","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.507199469},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.970+11:00","message":"[.kibana_ingest] CREATE_NEW_TARGET -> CREATE_NEW_TARGET. took: 600626ms.","log":{"level":"INFO","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.50879695},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.972+11:00","message":"[.kibana] Action failed with '[index_not_green_timeout] Timeout waiting for the status of the [.kibana_8.16.0_001] index to become 'green' Refer to https://www.elastic.co/guide/en/kibana/8.16/resolve-migrations-failures.html#_repeated_time_out_requests_that_eventually_fail for information on how to resolve the issue.'. Retrying attempt 1 in 2 seconds.","log":{"level":"ERROR","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.509178782},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.972+11:00","message":"[.kibana] CREATE_NEW_TARGET -> CREATE_NEW_TARGET. took: 600628ms.","log":{"level":"INFO","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.509279941},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.972+11:00","message":"[.kibana_usage_counters] Action failed with '[index_not_green_timeout] Timeout waiting for the status of the [.kibana_usage_counters_8.16.0_001] index to become 'green' Refer to https://www.elastic.co/guide/en/kibana/8.16/resolve-migrations-failures.html#_repeated_time_out_requests_that_eventually_fail for information on how to resolve the issue.'. Retrying attempt 1 in 2 seconds.","log":{"level":"ERROR","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.510135246},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-11-15T11:52:55.973+11:00","message":"[.kibana_usage_counters] CREATE_NEW_TARGET -> CREATE_NEW_TARGET. took: 600623ms.","log":{"level":"INFO","logger":"savedobjects-service"},"process":{"pid":4081935,"uptime":1805.510243087},"trace":{"id":"5312a1e9627913e39de360d7c9d86ab6"},"transaction":{"id":"aa84d5e48d84a657"}}