cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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?

3 REPLIES 3

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Not sure if txt format is a extension available.

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

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Joachim_Erdei
Dynatrace Guide
Dynatrace Guide

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: https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-ingestion/lma-log-ingestion-vi... , use a tool https://github.com/Dynatrace/Dynatrace-Log-Security-Rules-Checker/tree/main 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. 

Featured Posts