12 Mar 2019 03:02 PM
Right now, seems like even if I want to add log files to be monitored, it would have a logs written by some processes? (which is why I can only configure log in 'process' page, not 'host' page?)
Say, for example, if I want monitor a log which the is /var/log/abcd.txt. How can I achieve this?
Best Regards,
Wai Keat
Solved! Go to Solution.
12 Mar 2019 05:00 PM
Hello Wai,
You can define a custom log event on a log file on a host in the Log Analytics settings. This would allow Dynatrace to alert on certain log patterns that you define that it may find in that log file.
Thanks,
David Nicholls
21 Mar 2019 12:28 PM
Hi,
Sorry, but you did not answer the question: can we add a not detected log file / any text file to be monitored by dynatrace?
Kind regards,
Antonio V.
21 Mar 2019 03:50 PM
Woops, you are right. Here is information on how to manually specficy a log file to be captured.
https://www.dynatrace.com/support/help/shortlink/log-analytics#add-log-files-manually
Thanks,
David Nicholls