11 Jul 2023 02:00 PM - last edited on 18 Oct 2024 10:03 AM by MaciejNeumann
Dear Team,
We are facing issue while configuring log monitoring(error part we need to detect inside log), we have enabled single host log monitoring but not able to select the log file path under host perspective and Process group perspective.
It is not allowing to select and it is saying (File not monitored anymore)
But it is allowing and auto select for oneagent related log.
So kindly suggest accordingly.
Thanks in Advance!
Dharmender Singh 🙂
Solved! Go to Solution.
11 Jul 2023 02:20 PM - edited 11 Jul 2023 02:25 PM
Hi @dharm_0101,
Have you verified the Maximum ingest of Log Events value according to the documentation?
(This applies to the DT Managed environment.)
Please see also for additional log monitoring configuration options: https://www.dynatrace.com/support/help/shortlink/log-monitoring-configuration#available-options
11 Jul 2023 04:03 PM
Thanks Radek.
Actually we are using DT SaaS
11 Jul 2023 04:14 PM
Hi @radek_jasinski ,
Actually we need to monitor Some log file content like mentioned below. So we have log filesystem path and need to check 4 mentioned lined keywords in log, and whenever DT will find these keywords DT will alert this is the requirement.
11 Jul 2023 08:03 PM
If you are using DT in SaaS then I recommend using Grail to create the appropriate queries to perform log entry validations. This is the best option, much better than Classic Log monitoring.
https://www.dynatrace.com/support/help/shortlink/logs-on-grail-examples
Radek
12 Jul 2023 03:06 AM
Thanks for suggesting Grail.
But is it possible to do it via Classic Log monitoring?
If yes kindly suggest how will achieve it?
12 Jul 2023 08:36 AM
You can create metrics and events based on Log Monitoring Classic:
Unfortunately, you won't be able to create as advanced analytics as with Grail (and I recommend using Grail).
As for the visibility of log files in DT, check if the agent has the right permissions to files. Otherwise I would set up a ticket in support.