Closed tomofu74 closed 1 year ago
Please attach the logs as requested. I can't even see whether the setup completed successfully.
Probably a duplicate of https://github.com/deviantony/docker-elk/issues/795#issuecomment-1331918093
Hi, antoineco. Thank you for your comment.
log: log.txt
BTW it has 32GB free disk space, it is enough isn't it?
Thanks for sharing!
32 GB should be enough for quite a lot of data yes, but Elasticsearch doesn't calculate the flood-stage disk watermark based on absolute numbers, rather in terms of percentage. This is visible in the following log entry (prettified with jq
for readability):
{
"@timestamp": "2023-02-19T16:04:12.722Z",
"log.level": "WARN",
"message": "flood stage disk watermark [95%] exceeded on [66hGAvE-SqSjDZvOCd7lkw][elasticsearch][/usr/share/elasticsearch/data] free: 33.5gb[3.8%], all indices on this node will be marked read-only",
"ecs.version": "1.2.0",
"service.name": "ES_ECS",
"event.dataset": "elasticsearch.server",
"process.thread.name": "elasticsearch[elasticsearch][management][T#2]",
"log.logger": "org.elasticsearch.cluster.routing.allocation.DiskThresholdMonitor",
"elasticsearch.node.name": "elasticsearch",
"elasticsearch.cluster.name": "docker-cluster"
}
33.5 GB represents 3.8% of your entire disk, which is below the flood-stage watermark (5%, or rather 95% of disk usage).
The solution, as I suggested above, is to adjust the settings based on your disk size. There is another watermark called "high" at 90% of disk usage, which you'll also need to adjust.
Thank you, antoineco! Finaly I remove some files and get disk space increase, I can acess kibana login screen.
Problem description
I can't login to kibana. When I access to http://localhost:5601 after several minutes from docker comose up, it shows "kibana server is not ready yet."
Extra information
I just clone main branch and change elasticsearch/config/elasticsearch.yml. xpack.license.self_generated.type: basic.
Stack configuration
Docker setup
Ubuntu 22.04.1
Container logs