[elastic_agent][error] Cannot checkin in with fleet-server, retrying

I have an elk on-promise cluster on which I have deployed
fleet server and elastic agent nodes
following an upgrade of ELK from 8.12.1 to 8.14.1 then .2 I had a problem with elastic agent managed by fleet

the problem is as follows:
the status of my elastic agent servers changes to offline but the elk continues to collect metrics except that I still get the same error :

15:11:52.395
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
15:19:23.543
elastic_agent
[elastic_agent][info] No event received within 10mos, restart standby call
15:26:35.209
elastic_agent
[elastic_agent][error] Unable to register with fleet server, try again.
15:29:33.537
elastic_agent
[elastic_agent][info] No event received within 10mos, restart standby call.
15:34:58.673
elastic_agent
[elastic_agent][error] Unable to register with fleet server, try again.
15:39:43.545
elastic_agent
[elastic_agent][info] No event received within 10mos, restart standby call.
15:41:57.430
elastic_agent
[elastic_agent][error] Unable to register with fleet server, try again.
  • Agents go offline if they don't check-in for 5 minutes.

I put one of the fleet servers in debug mode: to get more details

16:59:30.170
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
16:59:35.419
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 200 48
16:59:35.480
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
16:59:40.775
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
16:59:40.783
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
16:59:42.168
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 200 48
16:59:43.871
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
16:59:43.871
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
16:59:44.124
elastic_agent.fleet_server
[][access]   "  HTTP/" 500 
16:59:44.124
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 500 129
16:59:46.113
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
16:59:51.237
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
16:59:53.544
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
16:59:53.798
elastic_agent.fleet_server
[][access]   "  HTTP/" 500 
16:59:53.798
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 500 129
16:59:55.191
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
16:59:55.444
elastic_agent.fleet_server
[][access]   "  HTTP/" 500 
16:59:55.444
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 500 129
16:59:56.542
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
16:59:58.017
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 200 48
17:00:01.412
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 200 48

Hello,

Do you have an online Fleet Server, or is this error coming when trying to enroll a Fleet Server?
Do you have any other errors in the logs that would help investigate?
Could you share the config you are using?

Hi,
thank you for your reply Julia.

I do have an online fleet servers. before the update: my servers were working fine.
I had no problems or errors of this kind.
than after the upgrade from 8.12.1 to 8.14.1 and .2 thereafter

this is fleet ui fleet log with the level debug

[elastic_agent.fleet_server][debug] HTTP start
17:56:45.879
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] ApiKey authenticated
17:56:45.896
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] HTTP start
17:56:45.897
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] ApiKey authenticated
17:56:46.133
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
17:56:46.133
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unhealthy reason
17:56:46.133
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] Found token cached
17:56:46.133
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
17:56:46.133
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unhealthy reason
17:56:46.133
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] Found token cached
17:56:46.388
elastic_agent.fleet_server
[][access]   "  HTTP/" 500 
17:56:46.388
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 500 129
17:56:46.388
elastic_agent.fleet_server
[][access]   "  HTTP/" 500 
17:56:46.388
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 500 129
17:56:49.341
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
17:56:49.453
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] HTTP start
17:56:49.456
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] ApiKey authenticated
17:56:49.710
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
17:56:49.710
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unhealthy reason
17:56:49.710
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] Found token cached
17:56:49.710
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] subscribed to policy monitor
17:56:49.710
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] subscription added without new revision
17:56:49.710
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] checkin start long poll
17:56:54.642
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
17:56:58.833
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unsubscribe
17:56:58.833
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 200 48
17:56:59.211
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] HTTP start
17:56:59.212
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] ApiKey authenticated
17:56:59.292
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
17:56:59.292
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unhealthy reason
17:56:59.292
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] Found token cached
17:56:59.292
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] subscribed to policy monitor
17:56:59.292
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] subscription added without new revision
17:56:59.292
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] checkin start long poll
17:56:59.590
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unsubscribe
17:56:59.590
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 200 48
17:56:59.947
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
17:57:02.634
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] ensuring leadership of policies
17:57:03.392
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] HTTP start
17:57:03.395
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] ApiKey authenticated
17:57:03.446
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
17:57:03.446
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unhealthy reason
17:57:03.446
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] Found token cached
17:57:03.700
elastic_agent.fleet_server
[][access]   "  HTTP/" 500 
17:57:03.701
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 500 129
17:57:04.155
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unsubscribe
17:57:04.156
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 200 48
17:57:05.248
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
17:57:09.860
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unsubscribe
17:57:09.860
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 200 48
17:57:10.552
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] Running on policy with Fleet Server integration: fleet-server-policy
17:57:10.993
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] HTTP start
17:57:10.996
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] ApiKey authenticated
17:57:11.249
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
17:57:11.249
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unhealthy reason
17:57:11.249
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] Found token cached
17:57:11.249
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] subscribed to policy monitor
17:57:11.249
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] subscription added without new revision
17:57:11.249
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] checkin start long poll
17:57:12.300
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] HTTP start
17:57:12.302
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] ApiKey authenticated
17:57:12.556
elastic_agent.fleet_server
[elastic_agent.fleet_server][info] applying new components data
17:57:12.556
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unhealthy reason
17:57:12.556
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] Found token cached
17:57:12.556
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] subscribed to policy monitor
17:57:12.556
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] subscription added without new revision
17:57:12.556
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] checkin start long poll
17:57:12.677
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] unsubscribe
17:57:12.677
elastic_agent.fleet_server
[][access]   "POST  HTTP/1.1" 200 48
17:57:15.142
elastic_agent.fleet_server
[elastic_agent.fleet_server][debug] HTTP start

*elastic agent log:

[elastic_agent][debug] No action to dispatch
16:37:36.865
elastic_agent
[elastic_agent][debug] FleetGateway calling Checkin API
16:37:36.865
elastic_agent
[elastic_agent][debug] Checking started
16:37:37.085
elastic_agent
[elastic_agent][debug] using previously saved ack token: *****11-b88a-4412-8eaa-a6f*****
16:37:37.085
elastic_agent
[elastic_agent][debug] Request method: POST, path: /api/fleet/agents/****3-f38c-**41-802e-458c****/checkin, reqID: 01J2KP1JXXBVWMXX0T*******
16:37:37.086
elastic_agent
[elastic_agent][debug] Creating new request to request URL https://localhost:8221/api/fleet/agents/*****23-f38c-**41-802e-458c074****/checkin?
16:40:40.968
elastic_agent
[elastic_agent][debug] Gathered 0 actions from queue, 0 actions expired
16:40:40.968
elastic_agent
[elastic_agent][debug] Expired actions: []
16:40:40.987
elastic_agent
[elastic_agent][debug] save state on disk : {action:0xc000afd830 ackToken:*****1-b88a-4412-8eaa-a6f8***** queue:[]}
16:40:40.987
elastic_agent
[elastic_agent][debug] No action to dispatch
16:42:29.814
elastic_agent
[elastic_agent][debug] FleetGateway calling Checkin API
16:42:29.815
elastic_agent
[elastic_agent][debug] Checking started
16:42:30.034
elastic_agent
[elastic_agent][debug] using previously saved ack token: ****811-b88a-***2-8eaa-a6f890****
16:42:30.034
elastic_agent
[elastic_agent][debug] Request method: POST, path: /api/fleet/agents/*****38c-***1-802e-458c0*****/checkin, reqID: 01J2KPAH0JYGE001MZ*****
16:42:30.034
elastic_agent
[elastic_agent][debug] Creating new request to request URL https://localhost:8221/api/fleet/agents/****c23-f38c***41-802e-458c074*****/checkin?
16:45:40.988
elastic_agent
[elastic_agent][debug] Gathered 0 actions from queue, 0 actions expired
16:45:40.988
elastic_agent
[elastic_agent][debug] Expired actions: []
16:45:41.040
elastic_agent
[elastic_agent][debug] save state on disk : {action:0xc000afd830 ackToken:****11-b8*******2-8eaa-a6f8**** queue:[]}
16:45:41.040
elastic_agent
[elastic_agent][debug] No action to dispatch
16:47:14.822
elastic_agent
[elastic_agent][debug] FleetGateway calling Checkin API
16:47:14.822
elastic_agent
[elastic_agent][debug] Checking started
16:47:15.042
elastic_agent
[elastic_agent][debug] using previously saved ack token: *****1-b88a-***2-8eaa-a6*******
16:47:15.042
elastic_agent
[elastic_agent][debug] Request method: POST, path: /api/fleet/agents/*****23-f38c-4d41-802e-4******/checkin, reqID: 01J2KPK7B2YG3TDDETY07JRS6E
16:47:15.042
elastic_agent
[elastic_agent][debug] Creating new request to request URL https://localhost:8221/api/fleet/agents/****c23-f38c-***1-802e-458c0*****/checkin?
16:50:41.041
elastic_agent
[elastic_agent][debug] Gathered 0 actions from queue, 0 actions expired
16:50:41.041
elastic_agent
[elastic_agent][debug] Expired actions: []
16:50:41.076
elastic_agent
[elastic_agent][debug] save state on disk : {action:0xc000afd830 ackToken:*****1-b88a-4412-8eaa-a6f89*****e queue:[]}
16:50:41.076
elastic_agent
[elastic_agent][debug] No action to dispatch
16:51:56.277
elastic_agent
[elastic_agent][debug] FleetGateway calling Checkin API
16:51:56.278
elastic_agent
[elastic_agent][debug] Checking started
16:51:56.497
elastic_agent
[elastic_agent][debug] using previously saved ack token: *****1-b88a-4412-8eaa-a6f89*****
16:51:56.497
elastic_agent
[elastic_agent][debug] Request method: POST, path: /api/fleet/agents/2******-f38c-4d41-802e-458c074****b/checkin, reqID: 01J2KPVT6HFWRHBVT9WME2ATP1
16:51:56.498
elastic_agent
[elastic_agent][debug] Creating new request to request URL https://localhost:8221/api/fleet/agents/*****fc23-f38c-4d41-**2e-458c*******/checkin?
16:55:41.076
elastic_agent
[elastic_agent][debug] Gathered 0 actions from queue, 0 actions expired
16:55:41.076
elastic_agent
[elastic_agent][debug] Expired actions: []
16:55:41.095
elastic_agent
[elastic_agent][debug] save state on disk : {action:0xc000afd830 ackToken:***a1*1-***8a-4412-8eaa-a********6f8905df64e queue:[]}
16:55:41.095
elastic_agent
[elastic_agent][debug] No action to dispatch
16:56:34.179
elastic_agent
[elastic_agent][debug] FleetGateway calling Checkin API
16:56:34.179
elastic_agent
[elastic_agent][debug] Checking started
16:56:34.401
elastic_agent
[elastic_agent][debug] using previously saved ack token: ****1-b88a-4***2-8eaa-a6f89***df*
16:56:34.401
elastic_agent
[elastic_agent][debug] Request method: POST, path: /api/fleet/agents/******-f38c-4d41-802e-4**c074b097b/checkin, reqID: 01J2KQ49K1B1H33DPN6D4PN1N6
16:56:34.401
elastic_agent
[elastic_agent][debug] Creating new request to request URL https://localhost:8221/api/fleet/agents/******-f38c-4d41-802e-458c074b097b/checkin?
17:00:41.095
elastic_agent
[elastic_agent][debug] Gathered 0 actions from queue, 0 actions expired
17:00:41.096
elastic_agent
[elastic_agent][debug] Expired actions: []
17:00:41.132
elastic_agent
[elastic_agent][debug] save state on disk : {action:0xc000afd830 ackToken:ab***1-b88a-4412-8eaa-***** queue:[]}
17:00:41.132
elastic_agent
[elastic_agent][debug] No action to dispatch
17:01:26.151
elastic_agent
[elastic_agent][debug] FleetGateway calling Checkin API
17:01:26.152
elastic_agent
[elastic_agent][debug] Checking started
17:01:26.372
elastic_agent
[elastic_agent][debug] using previously saved ack token: abca1811-**8a-4412-8eaa-a6*****f64e

I don't see any clues where the problem is.
Are all those configured fleet server hosts accessible?
Are there any other error logs that have more details?

Yes, all servers are accessible.
I have more than 500 servers on which elastic-agent is installed and managed by fleet UI.
these servers disconnect 1 by 1 and after 2 days I only have a hundred or so servers connected: I lose my fleet check from which the status is offline except for the metrics and agent intergrations logs, which are still functional.

when I look at the logs of an offline server on the elastic-agent side, I get this:

[elastic_agent][info] Source URI changed from "https://artifacts.elastic.co/downloads/" to "https://artifacts.elastic.co/downloads/"
11:10:54.312
elastic_agent
[elastic_agent][info] Starting server
11:10:54.312
elastic_agent
[elastic_agent][info] Starting stats endpoint
[elastic_agent][info] Metrics endpoint listening on: 127.0.0.1:6791 (configured: http://localhost:6791)
11:10:54.324
elastic_agent
[elastic_agent][info] Updating running component model
11:10:54.475
elastic_agent
[elastic_agent][info] Spawned new component log-bb67d390-856c-11ee-814c-8124d3bd2dd3: Starting: spawned pid '1946051'
11:10:54.475
elastic_agent
[elastic_agent][info] Spawned new unit log-bb67d390-856c-11ee-814c-8124d3bd2dd3-logfile-system-7e9d3183-2cad-465b-ae62-0105c748c70c: Starting: spawned pid '1946051'
11:10:54.475
elastic_agent
[elastic_agent][info] Spawned new unit log-bb67d390-856c-11ee-814c-8124d3bd2dd3: Starting: spawned pid '1946051'
11:10:54.626
elastic_agent
[elastic_agent][info] Spawned new component system/metrics-bb67d390-856c-11ee-814c-8124d3bd2dd3: Starting: spawned pid '1946063'
11:10:54.627
elastic_agent
[elastic_agent][info] Spawned new unit system/metrics-bb67d390-856c-11ee-814c-8124d3bd2dd3: Starting: spawned pid '1946063'
11:10:54.627
elastic_agent
[elastic_agent][info] Spawned new unit system/metrics-bb67d390-856c-11ee-814c-8124d3bd2dd3-system/metrics-system-7e9d3183-2cad-465b-ae62-0105c748c70c: Starting: spawned pid '1946063'
11:10:54.830
elastic_agent
[elastic_agent][info] component model updated
11:10:54.830
elastic_agent
[elastic_agent][info] Updating running component model
11:10:54.853
elastic_agent
[elastic_agent][info] control checkin v2 protocol has chunking enabled
11:10:54.853
elastic_agent
[elastic_agent][info] Component state changed system/metrics-bb67d390-856c-11ee-814c-8124d3bd2dd3 (STARTING->HEALTHY): Healthy: communicating with pid '1946063'
11:10:54.887
elastic_agent
[elastic_agent][info] control checkin v2 protocol has chunking enabled
11:10:54.887
elastic_agent
[elastic_agent][info] Component state changed log-bb67d390-856c-11ee-814c-8124d3bd2dd3 (STARTING->HEALTHY): Healthy: communicating with pid '1946051'
11:10:55.041
elastic_agent
[elastic_agent][info] control checkin v2 protocol has chunking enabled
11:10:55.149
elastic_agent
[elastic_agent][info] control checkin v2 protocol has chunking enabled
11:10:55.261
elastic_agent
[elastic_agent][info] control checkin v2 protocol has chunking enabled
11:10:55.274
elastic_agent
[elastic_agent][warn] Possible transient error during checkin with fleet-server, retrying
11:10:55.877
elastic_agent
[elastic_agent][info] Unit state changed system/metrics-******0-856c-11ee-814c-8124d3bd2dd3-system/metrics-system-7e9d3183-2cad-465b-ae62-0105c748c70c (STARTING->HEALTHY): Healthy
11:10:55.877
elastic_agent
[elastic_agent][info] Unit state changed system/metrics-b******-856c-11ee-814c-8124d3bd2dd3 (STARTING->HEALTHY): Healthy
11:10:55.892
elastic_agent
[elastic_agent][info] Unit state changed log-bb67d390-856c-11ee-814c-8124d3bd2dd3 (STARTING->HEALTHY): Healthy
11:10:55.893
elastic_agent
[elastic_agent][info] Unit state changed log-bb67d390-856c-11ee-814c-8124d3bd2dd3-logfile-system-*******2cad-465b-ae62-0105c748c70c (STARTING->HEALTHY): Healthy
11:12:48.695
elastic_agent
[elastic_agent][warn] Possible transient error during checkin with fleet-server, retrying
11:16:20.038
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
11:20:47.409
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
11:30:31.553
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
11:38:16.216
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying

when I connect to a server managed by fleet and recently disconnected to check the elastic agent status :

elastic-agent status --output json
{
    "info": {
        "id": "340ec97f-bb76-4e19-bcf5-ff37dce91f62",
        "version": "8.14.2",
        "commit": "1738179d53e747c48af7350a0b8fe68eda1a5b31",
        "build_time": "2024-07-01 16:29:34 +0000 UTC",
        "snapshot": false,
        "pid": 1946034,
        "unprivileged": false
    },
    "state": 2,
    "message": "Running",
    "components": [
        {
            "id": "beat/metrics-monitoring",
            "name": "beat/metrics",
            "state": 2,
            "message": "Healthy: communicating with pid '1946082'",
            "units": [
                {
                    "unit_id": "beat/metrics-monitoring",
                    "unit_type": 1,
                    "state": 2,
                    "message": "Healthy"
                },
                {
                    "unit_id": "beat/metrics-monitoring-metrics-monitoring-beats",
                    "unit_type": 0,
                    "state": 2,
                    "message": "Healthy"
                }
            ],
            "version_info": {
                "name": "beat-v2-client",
                "meta": {
                    "build_time": "2024-07-01 16:59:44 +0000 UTC",
                    "commit": "e9455e203842edf9086f34b3ca2fa2b08bc76081"
                }
            }
        },
        {
            "id": "filestream-monitoring",
            "name": "filestream",
            "state": 2,
            "message": "Healthy: communicating with pid '1946071'",
            "units": [
                {
                    "unit_id": "filestream-monitoring",
                    "unit_type": 1,
                    "state": 2,
                    "message": "Healthy"
                },
                {
                    "unit_id": "filestream-monitoring-filestream-monitoring-agent",
                    "unit_type": 0,
                    "state": 2,
                    "message": "Healthy"
                }
            ],
            "version_info": {
                "name": "beat-v2-client",
                "meta": {
                    "build_time": "2024-07-01 16:59:44 +0000 UTC",
                    "commit": "e9455e203842edf9086f34b3ca2fa2b08bc76081"
                }
            }
        },
        {
            "id": "http/metrics-monitoring",
            "name": "http/metrics",
            "state": 2,
            "message": "Healthy: communicating with pid '1946090'",
            "units": [
                {
                    "unit_id": "http/metrics-monitoring",
                    "unit_type": 1,
                    "state": 2,
                    "message": "Healthy"
                },
                {
                    "unit_id": "http/metrics-monitoring-metrics-monitoring-agent",
                    "unit_type": 0,
                    "state": 2,
                    "message": "Healthy"
                }
            ],
            "version_info": {
                "name": "beat-v2-client",
                "meta": {
                    "build_time": "2024-07-01 16:59:44 +0000 UTC",
                    "commit": "e9455e203842edf9086f34b3ca2fa2b08bc76081"
                }
            }
        },
        {
            "id": "log-bb67d390-856c-11ee-814c-8124d3bd2dd3",
            "name": "log",
            "state": 2,
            "message": "Healthy: communicating with pid '1946051'",
            "units": [
                {
                    "unit_id": "log-bb67d390-856c-11ee-814c-8124d3bd2dd3",
                    "unit_type": 1,
                    "state": 2,
                    "message": "Healthy"
                },
                {
                    "unit_id": "log-bb67d390-856c-11ee-814c-8124d3bd2dd3-logfile-system-7e9d3183-2cad-465b-ae62-0105c748c70c",
                    "unit_type": 0,
                    "state": 2,
                    "message": "Healthy"
                }
            ],
            "version_info": {
                "name": "beat-v2-client",
                "meta": {
                    "build_time": "2024-07-01 16:59:44 +0000 UTC",
                    "commit": "e9455e203842edf9086f34b3ca2fa2b08bc76081"
                }
            }
        },
        {
            "id": "system/metrics-bb67d390-856c-11ee-814c-8124d3bd2dd3",
            "name": "system/metrics",
            "state": 2,
            "message": "Healthy: communicating with pid '1946063'",
            "units": [
                {
                    "unit_id": "system/metrics-bb67d390-856c-11ee-814c-8124d3bd2dd3",
                    "unit_type": 1,
                    "state": 2,
                    "message": "Healthy"
                },
                {
                    "unit_id": "system/metrics-bb67d390-856c-11ee-814c-8124d3bd2dd3-system/metrics-system-7e9d3183-2cad-465b-ae62-0105c748c70c",
                    "unit_type": 0,
                    "state": 2,
                    "message": "Healthy"
                }
            ],
            "version_info": {
                "name": "beat-v2-client",
                "meta": {
                    "build_time": "2024-07-01 16:59:44 +0000 UTC",
                    "commit": "e9455e203842edf9086f34b3ca2fa2b08bc76081"
                }
            }
        }
    ],
    "FleetState": 4,
    "FleetMessage": "status code: 500, fleet-server returned an error: BadRequest, message: failed to update upgrade_details: upgrade_details no action for id \"\" found",
    "upgrade_details": {
        "target_version": "8.14.2",
        "state": "UPG_ROLLBACK",
        "metadata": {}
    }
}