elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.22k forks source link

Fleet Dashboard Not Loading or Taking Too Long to Load Fleet #198105

Open prabhuteja2421 opened 2 weeks ago

prabhuteja2421 commented 2 weeks ago

Kibana version: : 8.15.0

Elasticsearch version:: 8.15.0

Server OS version:: Ubuntu 22.04.4 LTS

Browser version:

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.): Docker Compose image: docker.elastic.co/elasticsearch/elasticsearch:8.15.0

Describe the bug:

I am experiencing an issue with my Fleet dashboard in Kibana. It is either not loading or taking an extremely long time to load. Here are the details of my setup:

Elasticsearch is running on svr15 (Ubuntu) in Docker containers. Kibana and Logstash are running on svr16 (Ubuntu) in Docker containers. I have configured svr16 as the Fleet server during installation, and everything worked perfectly. Suddenly Fleet dashboard is stuck in the loading state and never fully loads sometimes I got the fleet dashboard after waiting for almost 15 minutes and if I refresh it's gone. I haven't made any major changes to the setup, and I have tried restarting the services, but the issue persists.

Steps I have taken so far:

Restarted Docker containers on both servers (Elasticsearch, Kibana, Logstash, Fleet). Checked the logs for errors in Kibana, Elasticsearch, and Fleet, but I couldn’t find anything obvious. Verified that Elasticsearch and Kibana are up and running without any other noticeable issues. Verified resource usage (CPU, memory) on both servers, and they seem fine. Fleet Version: Kibana and Fleet: v8.15 (same as Elasticsearch)

Steps to reproduce:

  1. Login to Kibana
  2. From the left side menu select Fleet

Expected behavior: Fully loaded fleet on selecting the fleet from menu

Screenshots (if relevant):

Image Image Image Image Image Image Image Image

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

till now assisted by carly.richmond

elasticmachine commented 1 week ago

Pinging @elastic/fleet (Team:Fleet)

kpollich commented 1 week ago

Would you be able to provide Kibana logs at all here? It looks like Fleet's setup API is spinning forever here, which likely indicates some kind of issue with underlying Fleet data that's throwing unexpected errors during setup. Kibana logs should have some info to help debug here.

prabhuteja2421 commented 5 days ago

Image I'm tailing the Kibana Docker logs, when I go to the Kibana dashboard and click on Fleet, I don’t see any new activity or logs being generated.

prabhuteja2421 commented 5 days ago

Image After some time, although the setup request took around 8 minutes, I received an empty response from the server. The page loaded successfully, but the issue recurred each time I refreshed. Image

kpollich commented 5 days ago

I'm tailing the Kibana Docker logs, when I go to the Kibana dashboard and click on Fleet, I don’t see any new activity or logs being generated.

What is your logging config in kibana.yml for the Kibana container? There should be info logs generated for various Kibana actions even outside of Fleet, so it's unexpected to see absolutely no logs coming through here.