Hi ruflin,
you are right. It's a on prem installation. I upgraded the rpm of elastic-agent with linux package manager (apt).
In Fleet UI die Agent is pending between Healthy and Offline. No Host Metrics are transfered to elasticsearch.
The Fleet-Server logfiles looks like this:
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","@timestamp":"2021-08-04T07:05:36.812Z","message":"received initial configuration starting Fleet Server"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","cfg":{"NumCounters":500000,"MaxCost":52428800,"ActionTTL":300000000000,"ApiKeyTTL":900000000000,"EnrollKeyTTL":60000000000,"ArtifactTTL":86400000000000,"ApiKeyJitter":300000000000},"@timestamp":"2021-08-04T07:05:36.812Z","message":"makeCache"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","status":"STARTING","@timestamp":"2021-08-04T07:05:36.813Z","message":"Starting"}
{"service.name":"fleet-server","service.name":"fleet-server","message":"Starting stats endpoint","log.level":"info","log.logger":"fleet-metrics.api","@timestamp":"2021-08-04T07:05:36.814Z"}
{"service.name":"fleet-server","service.name":"fleet-server","log.level":"info","log.logger":"fleet-metrics.api","message":"Metrics endpoint listening on: /var/lib/elastic-agent/data/tmp/default/fleet-server/fleet-server.sock (configured: unix:///var/lib/elastic-agent/data/tmp/default/fleet-server/fleet-server.sock)","@timestamp":"2021-08-04T07:05:36.814Z"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","name":"elasticsearch","uuid":"87La0hWBRe-rL1FsHB5qrw","vers":"7.14.0","@timestamp":"2021-08-04T07:05:36.826Z","message":"Cluster Info"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","opts":{"flushInterval":250,"flushThresholdCnt":2048,"flushThresholdSz":1048576,"maxPending":8,"blockQueueSz":32,"apikeyMaxParallel":120},"@timestamp":"2021-08-04T07:05:36.826Z","message":"Run bulker with options"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","fleet_version":"7.14.0","elasticsearch_version":"7.14.0","@timestamp":"2021-08-04T07:05:36.827Z","message":"versions are compatible"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","name":"elasticsearch","uuid":"87La0hWBRe-rL1FsHB5qrw","vers":"7.14.0","@timestamp":"2021-08-04T07:05:36.832Z","message":"Cluster Info"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","limits":{"Interval":1000000,"Burst":1000,"Max":0,"MaxBody":1048576},"long_poll_timeout":300000,"long_poll_timestamp":30000,"long_poll_jitter":30000,"@timestamp":"2021-08-04T07:05:36.832Z","message":"Checkin install limits"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","limits":{"Interval":10000000,"Burst":100,"Max":50,"MaxBody":524288},"@timestamp":"2021-08-04T07:05:36.832Z","message":"Enroller install limits"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","limits":{"Interval":5000000,"Burst":25,"Max":50,"MaxBody":0},"maxParallel":8,"@timestamp":"2021-08-04T07:05:36.832Z","message":"Artifact install limits"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","limits":{"Interval":10000000,"Burst":100,"Max":50,"MaxBody":2097152},"@timestamp":"2021-08-04T07:05:36.832Z","message":"Ack install limits"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","method":"GET","path":"/api/status","@timestamp":"2021-08-04T07:05:36.832Z","message":"Server install route"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","method":"POST","path":"/api/fleet/agents/:id","@timestamp":"2021-08-04T07:05:36.832Z","message":"Server install route"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","method":"POST","path":"/api/fleet/agents/:id/checkin","@timestamp":"2021-08-04T07:05:36.832Z","message":"Server install route"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","method":"POST","path":"/api/fleet/agents/:id/acks","@timestamp":"2021-08-04T07:05:36.832Z","message":"Server install route"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","method":"GET","path":"/api/fleet/artifacts/:id/:sha2","@timestamp":"2021-08-04T07:05:36.832Z","message":"Server install route"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","bind":"0.0.0.0:8220","rdTimeout":60000,"wrTimeout":600000,"@timestamp":"2021-08-04T07:05:36.832Z","message":"server listening"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","@timestamp":"2021-08-04T07:05:36.832Z","message":"server hard connection limiter disabled"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","index":".fleet-policies","ctx":"index monitor","@timestamp":"2021-08-04T07:05:36.833Z","message":"start"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy agent monitor","throttle":5,"@timestamp":"2021-08-04T07:05:36.833Z","message":"run policy monitor"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","index":".fleet-actions","ctx":"index monitor","@timestamp":"2021-08-04T07:05:36.833Z","message":"start"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","status":"HEALTHY","@timestamp":"2021-08-04T07:05:37.11Z","message":"Running on default policy with Fleet Server integration"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy leader manager","policy_id":"4b1288a0-f122-11eb-b092-4bd59be5dafa","coordinator":"v0","@timestamp":"2021-08-04T07:05:38.416Z","message":"starting coordinator for policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy leader manager","policy_id":"a3efe3e0-77ac-11eb-b2f5-cbacb66767fb","coordinator":"v0","@timestamp":"2021-08-04T07:05:38.416Z","message":"starting coordinator for policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy leader manager","policy_id":"742cae30-c438-11eb-9ca7-a7ee6e2b28e6","coordinator":"v0","@timestamp":"2021-08-04T07:05:38.416Z","message":"starting coordinator for policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy leader manager","policy_id":"5b5b6f40-7aaa-11eb-b2f5-cbacb66767fb","coordinator":"v0","@timestamp":"2021-08-04T07:05:38.416Z","message":"starting coordinator for policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy leader manager","policy_id":"e577bb40-8d63-11eb-8832-232d30289a82","coordinator":"v0","@timestamp":"2021-08-04T07:05:38.416Z","message":"starting coordinator for policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy agent monitor","policyId":"a3efe3e0-77ac-11eb-b2f5-cbacb66767fb","rev":19,"coord":1,"@timestamp":"2021-08-04T07:05:40.435Z","message":"new policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy agent monitor","policyId":"742cae30-c438-11eb-9ca7-a7ee6e2b28e6","orev":0,"nrev":11,"ocoord":0,"ncoord":1,"@timestamp":"2021-08-04T07:05:40.436Z","message":"policy revised"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy agent monitor","policyId":"742cae30-c438-11eb-9ca7-a7ee6e2b28e6","revisionIdx":11,"coordinatorIdx":1,"@timestamp":"2021-08-04T07:05:40.436Z","message":"no pending subscriptions to revised policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy agent monitor","policyId":"5b5b6f40-7aaa-11eb-b2f5-cbacb66767fb","rev":15,"coord":1,"@timestamp":"2021-08-04T07:05:40.437Z","message":"new policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy agent monitor","policyId":"e577bb40-8d63-11eb-8832-232d30289a82","rev":16,"coord":1,"@timestamp":"2021-08-04T07:05:40.438Z","message":"new policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","ctx":"policy agent monitor","policyId":"4b1288a0-f122-11eb-b092-4bd59be5dafa","rev":2,"coord":1,"@timestamp":"2021-08-04T07:05:40.438Z","message":"new policy"}
{"log.level":"info","service.name":"fleet-server","service.name":"fleet-server","status":"HEALTHY","@timestamp":"2021-08-04T07:05:42.384Z","message":"Running on default policy with Fleet Server integration"}