# 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:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amitbsht321](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@amitbsht321](https://community.dynatrace.com/u/amitbsht321)\
**Post date:** [March 15, 2022, 5:34pm UTC](https://community.dynatrace.com/t/custom-log-file-monitoring/34513/1 "2022-03-15T17:34:27Z")

</div>

Hi Team,

We planning to monitor a custom log file that is not part of any process and process group. We have tried to enable the log monitoring using below product article.

[Add log files manually | Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-monitoring/log-monitoring-v2/add-log-files-manually-v2#considerations-for-adding-text-log-files-manually)

But it’s not working out. Is their any configuration needed apart from this.

Regards,

Amit Singh Bisht

---

<div class="post-metadata">

**Author:** ![julien\_duhamel1](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@julien\_duhamel1](https://community.dynatrace.com/u/julien_duhamel1)\
**Post date:** [March 29, 2022, 8:27pm UTC](https://community.dynatrace.com/t/custom-log-file-monitoring/34513/2 "2022-03-29T20:27:46Z")

</div>

Hin

What type of storage your logs files are located?

---

<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
