# Log file not being detected.

**URL:** <https://community.dynatrace.com/t/log-file-not-being-detected/48790>\
**Category:** Logs\
**Tags:** log-configuration, logs\
**Created:** [November 7, 2024, 4:13pm UTC](https://community.dynatrace.com/t/log-file-not-being-detected/48790 "2024-11-07T16:13:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maheedhar\_T](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/maheedhar_t/32/155_2.png) [@Maheedhar\_T](https://community.dynatrace.com/u/Maheedhar_T)\
**Post date:** [November 7, 2024, 4:13pm UTC](https://community.dynatrace.com/t/log-file-not-being-detected/48790/1 "2024-11-07T16:13:22Z")

</div>

We are having a strange issue. We have two log files in same path /tmp/tmp\_Voice.log and /tmp/tmp\_Data.log we configured log ingestion rules and custom log sources for both the files but only the log from /tmp/tmp\_Voice.log is being ingested where as no log record from tmp\_Data.log is monitored just to verify we renamed the tmp\_Voice.log to tmp\_XYZ.log and tmp\_Data.log to tmp\_Voice.log and then tried ingesting some log record. It is working as expected I mean we are seeing original tmp\_Data.log related log when it is renamed to tmp\_Voice.log so the issue is not with log format either. Not sure where to debug this issue. Is the file name a problem ?

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [November 7, 2024, 11:07pm UTC](https://community.dynatrace.com/t/log-file-not-being-detected/48790/2 "2024-11-07T23:07:45Z")

</div>

[@Maheedhar\_T](https://community.dynatrace.com/user/76275)&nbsp;- Start by looking at the&nbsp;Log Ingest Rules and&nbsp;Custom Log Source Configuration, can you share a snap of how you have set it up?

Are you using any wildcards , if yes make sure they are matching correctly and check if the rule that you have created is not merging both the log files into single source file

---

<div class="post-metadata">

**Author:** ![Maheedhar\_T](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/maheedhar_t/32/155_2.png) [@Maheedhar\_T](https://community.dynatrace.com/u/Maheedhar_T)\
**Post date:** [November 8, 2024, 5:50am UTC](https://community.dynatrace.com/t/log-file-not-being-detected/48790/3 "2024-11-08T05:50:10Z")

</div>

No&nbsp;[@p\_devulapalli](https://community.dynatrace.com/user/21657)&nbsp;,  
We are not using any wildcards.

 ![Maheedhar_T_0-1731044985700.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/2/f244f6c545d39f288ba3a91e10a3de2971328bff.png)

This is what we configured. We tried changing the file name from tmp\_Data.log to tmpData.log and that isn’t working either.

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [November 8, 2024, 6:06am UTC](https://community.dynatrace.com/t/log-file-not-being-detected/48790/4 "2024-11-08T06:06:29Z")

</div>

Hello&nbsp;[@Maheedhar\_T](https://community.dynatrace.com/user/76275)

Kindly review the log monitoring related docs against the raised inquiry and current configurations:

1. Make sure that the&nbsp;[the latest version of Dynatrace log monitoring](https://docs.dynatrace.com/docs/observe-and-explore/logs/logs-upgrade/lma-upgrade)&nbsp;is enabled for the environment.
2. For auto Discovery scenarios :&nbsp;[log-content-auto-discovery-v2](https://docs.dynatrace.com/docs/observe-and-explore/log-monitoring/acquire-log-data/log-content-auto-discovery-v2)
3. Custom Log sources:&nbsp;[log-custom-source](https://docs.dynatrace.com/docs/observe-and-explore/log-monitoring/acquire-log-data/log-custom-source)
4. On the CMC check&nbsp;If you find logs have been trimmed \> It’s recommendned to increase the allocated storage.
5. Make sure&nbsp; **Maximum ingest of Log Events** &nbsp;is properly configured to the maximum as per the cluster sizing.

Hoping it helps.

KR,

Peter
