# Elastic Agent 8.5.3 Logging

**URL:** <https://discuss.elastic.co/t/elastic-agent-8-5-3-logging/321732>\
**Category:** Elastic Agent\
**Created:** [December 21, 2022, 8:24am UTC](https://discuss.elastic.co/t/elastic-agent-8-5-3-logging/321732 "2022-12-21T08:24:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zirota](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zirota/32/109876_2.png) [@zirota](https://discuss.elastic.co/u/zirota)\
**Post date:** [December 21, 2022, 8:24am UTC](https://discuss.elastic.co/t/elastic-agent-8-5-3-logging/321732/1 "2022-12-21T08:24:42Z")

</div>

Hello, I am facing some difficulties in configuring the agent log path when running in standalone mode.

Agent Version: 8.5.3  
Distribution: linux\_x86-64  
Config:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/2/8286f4d43d31654b509980f7ecc765b3860b3655.png)  
Startup command: ./elastic-agent -run -c \<path\_to\_config\>

Based on the [elastic agent logging documentation](https://www.elastic.co/guide/en/fleet/current/elastic-agent-standalone-logging-config.html), my understanding is that agent logs should be logged onto the log path specified in the the config.

However I can seem to get it to work. All agent logs seem to be logged to `data/elastic-agent-0e1a73/logs` in `ndjson` files.  
Input logs are found in `data/elastic-agent-0e1a73/logs/logstash/metrics` (I assume the folder path here is controlled by the input name as specified in the config)

Any idea how to get it to work?

I happened to have an installation of 8.3.0 and tested it, which is working as intended.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 18, 2023, 8:24am UTC](https://discuss.elastic.co/t/elastic-agent-8-5-3-logging/321732/2 "2023-01-18T08:24:55Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
