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

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?

Hi,

Not sure if txt format is a extension available.

I would suggest you checking this thread. And opening a support ticket.

Best regards

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: Security rules — Dynatrace Docs , use a tool GitHub - Dynatrace/Dynatrace-Log-Security-Rules-Checker · GitHub 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.

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