# Elastic agent log

**URL:** <https://discuss.elastic.co/t/elastic-agent-log/371912>\
**Category:** Elastic Agent\
**Created:** [December 12, 2024, 11:37am UTC](https://discuss.elastic.co/t/elastic-agent-log/371912 "2024-12-12T11:37:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cristina\_Marletta\_Li](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cristina_marletta_li/32/137793_2.png) [@Cristina\_Marletta\_Li](https://discuss.elastic.co/u/Cristina_Marletta_Li)\
**Post date:** [December 12, 2024, 11:37am UTC](https://discuss.elastic.co/t/elastic-agent-log/371912/1 "2024-12-12T11:37:07Z")

</div>

Hi,  
where to find the event log (especially the log of a standalone agent where an integration is behaving abnormally)?

---

<div class="post-metadata">

**Author:** ![strawgate](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/strawgate/32/131008_2.png) [@strawgate](https://discuss.elastic.co/u/strawgate)\
**Post date:** [December 14, 2024, 11:09pm UTC](https://discuss.elastic.co/t/elastic-agent-log/371912/2 "2024-12-14T23:09:08Z")

</div>

The event log is in the data directory on the client which is os-specific [Installation layout | Fleet and Elastic Agent Guide [8.17] | Elastic](https://www.elastic.co/guide/en/fleet/current/installation-layout.html)

The easiest way to get the event log on an elastic agent is to generate an agent diagnostic from fleet [Monitor Elastic Agents | Fleet and Elastic Agent Guide [8.17] | Elastic](https://www.elastic.co/guide/en/fleet/current/monitor-elastic-agent.html#collect-agent-diagnostics)
