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

Can I add log files to be monitored even though it is not related to any processes detected?

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


3 REPLIES 3

david_n
Inactive

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


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.


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