08 Jun 2023 04:21 PM - last edited on 18 Oct 2024 10:02 AM by MaciejNeumann
I have added a custom log source for one host where I am testing some script which makes a log file. The file is present on a server however in Dynatrace view of the host it says "File is not included in log monitoring".
Why is it not included when I have defined this as a custom log source?
I have tried making this again in settings / log monitoring / Custom log source configuration but there is no change. I don't see this log source in Observe and explore / logs and if I click on it in the host page down it says No data that matches your query.
Solved! Go to Solution.
08 Jun 2023 06:13 PM
I recommend taking a look at the following documentation as it relates to a custom log source just to ensure you have it defined inline with the documentation: https://www.dynatrace.com/support/help/observe-and-explore/logs/log-management-and-analytics/lma-log...
09 Jun 2023 08:16 AM - edited 09 Jun 2023 08:19 AM
That's where I have looked and that's how I have done it according "To configure custom log sources at the host level", so not sure what's missing or where is the problem.
13 Jun 2023 12:07 PM - edited 13 Jun 2023 12:08 PM
OK so I figured that Log storage configuration must be enabled. I thought this is not related, but when I have put there a source based rule to include this file to be stored in Dynatrace suddenly it stopped saying File is not included in log monitoring, I can click on it from host view and I see the content.
13 Jun 2023 12:27 PM
Thanks for coming back with the solution, @McVitas! If anyone else is facing the same issue, they'd know what to look for. Highly appreciated! 😊