You are viewing documentation for Log Monitoring v1. Dynatrace Log Monitoring v1, is considered a legacy solution.
Log Monitoring v1 will reach the end of life and will be switched off in November 2023.
SaaS environments will be automatically upgraded to LMA or LMC.
We strongly encourage you to switch to the latest Dynatrace Log Monitoring version.
If you are currently using Dynatrace SaaS, upgrade to the latest version of Dynatrace log monitoring.
Dynatrace allows you to add specific log files manually in instances where the files aren't discovered automatically. You only need to add one log path at the process-group level to cover all processes within the group across all monitored hosts.
To manually add a log file to a process group
Dynatrace supports log files that are at least 0.5 KBs in size AND were updated (written to) in the last 7 days AND meet at least one of the following criteria:
Files are located in a directory called log
or logs
(limited up to 2 levels) or /var/log/
.
OK:
C:\Program Files\MyApp\logs\aaa.txt
/var/log/app/other/out/bbb.out
NOT OK:
C:\Program Files\MyApp\logs\other\out\ccc.txt
Files have the extension .log or .evt (for example, apache.log).
File names end with [.-_]log
(for example, apache_log.txt
, apache.log.txt
, or apache-log.txt
).
/
.etcbootprocdevbinsbinlibusr.ssh
C:\
).windowswinnt
You can add a set of files in the folder by using a wildcard.
For example, /var/log/apache/access-*.log
will report all files separately.
You can add numbered rotating-log filesets by using the hash character (#).
For example, /var/log/error-#.log
will match error-1.log
, error-2.log
, etc., and report the fileset as a single error-#.log
file.
You can globally disable the option to configure custom log files by setting:
AppLogRemoteConfiguration = false
On Linux:
/var/lib/dynatrace/oneagent/agent/config/ruxitagentloganalytics.conf
On Windows:
%PROGRAMDATA%\dynatrace\oneagent\agent\config\ruxitagentloganalytics.conf