# Ingesting a .txt file and using it as a log source

**URL:** <https://community.dynatrace.com/t/ingesting-a-txt-file-and-using-it-as-a-log-source/51322>\
**Category:** Logs\
**Tags:** log-processing, log-configuration, log-monitoring-class, logs\
**Created:** [April 22, 2025, 11:49am UTC](https://community.dynatrace.com/t/ingesting-a-txt-file-and-using-it-as-a-log-source/51322 "2025-04-22T11:49:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![badgerfifteen](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Post date:** [April 22, 2025, 11:49am UTC](https://community.dynatrace.com/t/ingesting-a-txt-file-and-using-it-as-a-log-source/51322/1 "2025-04-22T11:49:08Z")

</div>

Hi,

I currently have an Oracle Database that writes to a file called listener.txt within the following directory:

C:\app\admin\product\23ai\diag\tnslsnr\redacted\_server\listener\alert\log.xml

I’ve added it as a custom log source and to ingest it within the Dynatrace Host Settings. I’ve also added to the securityRulesLogAnalytics.JSON from a suggestion on this forum, too.

However, when I go to the host, I still get the file does not exist. Any ideas?

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 22, 2025, 1:22pm UTC](https://community.dynatrace.com/t/ingesting-a-txt-file-and-using-it-as-a-log-source/51322/2 "2025-04-22T13:22:06Z")

</div>

Hi,

Not sure if txt format is a extension available.

I would suggest you checking [this thread](https://community.dynatrace.com/topic/242716). And opening a support ticket.

Best regards

---

<div class="post-metadata">

**Author:** ![Joachim\_Erdei](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joachim_erdei/32/32437_2.png) [@Joachim\_Erdei](https://community.dynatrace.com/u/Joachim_Erdei)\
**Post date:** [April 22, 2025, 1:41pm UTC](https://community.dynatrace.com/t/ingesting-a-txt-file-and-using-it-as-a-log-source/51322/3 "2025-04-22T13:41:47Z")

</div>

Hi,

There might be various causes. If you have OneAgent older than 1.303, the most probable is some type or mistake in security rules config file (which was indeed necessary for such a file in older agent versions). What you can do by yourself is to check again the following docs:&nbsp;[Security rules — Dynatrace Docs](https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-ingestion/lma-log-ingestion-via-oa/lma-security-rules)&nbsp;, use a tool&nbsp;[GitHub - Dynatrace/Dynatrace-Log-Security-Rules-Checker · GitHub](https://github.com/Dynatrace/Dynatrace-Log-Security-Rules-Checker/tree/main)&nbsp;to validate your security rules config file, or check One Agent’s Log Module internal logs - search over you config file name and log source (log file) name. Otherwise, support ticket is also a good idea.

---

<div class="post-metadata">

**Author:** ![badgerfifteen](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Post date:** [April 24, 2025, 8:32am UTC](https://community.dynatrace.com/t/ingesting-a-txt-file-and-using-it-as-a-log-source/51322/4 "2025-04-24T08:32:13Z")

</div>

Thanks all, currently speaking Support now who are looking into this.
