# Elastic-agent log errors

**URL:** <https://discuss.elastic.co/t/elastic-agent-log-errors/370299>\
**Category:** Elastic Agent\
**Created:** [November 11, 2024, 3:06am UTC](https://discuss.elastic.co/t/elastic-agent-log-errors/370299 "2024-11-11T03:06:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dth\_Revan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dth_revan/32/147877_2.png) [@Dth\_Revan](https://discuss.elastic.co/u/Dth_Revan)\
**Post date:** [November 11, 2024, 3:06am UTC](https://discuss.elastic.co/t/elastic-agent-log-errors/370299/1 "2024-11-11T03:06:00Z")

</div>

Hello! some time ago i discovered some strange logs that elastic agent throws. it writes it into

> .ds-logs-elastic\_agent.fleet\_server-default

index and this path on host

> /opt/Elastic/Agent/data/elastic-agent-8.15.3-619758/logs/elastic-agent-20241108-67.ndjson

next is one of logs, they appear every minute

> {"log.level":"error","@timestamp":"2024-11-08T11:17:25.212Z","message":"failed to fetch elasticsearch version","component":{"binary":"fleet-server","dataset":"elastic\_agent.fleet\_server","id":"fleet-server-default","type":"fleet-server"},"log":{"source":"fleet-server-default"},"service.name":"fleet-server","service.type":"fleet-server","error.message":"elastic fail 401: security\_exception: missing authentication credentials for REST request [/]","ecs.version":"1.6.0","ecs.version":"1.6.0"}

agent has a fleet server & heartbeat policy at the same time and also it is ok and send all needed information to cluster, that i can see in dashboards  
please help me find where the problem is

---

<div class="post-metadata">

**Author:** ![Dth\_Revan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dth_revan/32/147877_2.png) [@Dth\_Revan](https://discuss.elastic.co/u/Dth_Revan)\
**Post date:** [May 22, 2025, 12:41pm UTC](https://discuss.elastic.co/t/elastic-agent-log-errors/370299/2 "2025-05-22T12:41:19Z")

</div>

Still didn't find an answer. please tag developers
