# Custom log file monitoring.

**URL:** <https://community.dynatrace.com/t/custom-log-file-monitoring/34513>\
**Category:** Logs\
**Tags:** log-monitoring-class\
**Created:** [March 15, 2022, 5:34pm UTC](https://community.dynatrace.com/t/custom-log-file-monitoring/34513 "2022-03-15T17:34:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mackermann2](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mackermann2/32/22041_2.png) [@mackermann2](https://community.dynatrace.com/u/mackermann2)\
**Post date:** [May 16, 2022, 9:07am UTC](https://community.dynatrace.com/t/custom-log-file-monitoring/34513/3 "2022-05-16T09:07:50Z")

</div>

Hi&nbsp;Amit,

Please check the prerequisites to the definition of the path (especially the use of the wildcards which can be a problem) :

> **[Add log files manually (Logs Classic)](https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/acquire-log-data/add-log-files-manually-v2-classic)**
>
> Learn how to manually add log files for analysis.

I suggest also to check the encodage of the log files (ASCII not supported and considered as a binary file):

> **[Log data formats (Logs Classic)](https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/log-monitoring-configuration/log-data-format-classic)**
>
> This topic lists all the log formats supported by Log Monitoring.

Finally, just verify the log monitoring has been enabled in the agent configuration (ruxitagentloganalytics.conf) :

> **[Log ingestion](https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/log-monitoring-configuration)**
>
> Stream log data to Dynatrace.

Regards,

Matthieu

---

_[View the full topic](https://community.dynatrace.com/t/custom-log-file-monitoring/34513)._
