I use Dynatrace Managed, and the Log Monitoring feature only retains logs for 35 days.
Is there any way to store logs from OneAgent in third-party storage or any method to retain logs for long-term storage?
Hi there,
You can use Dynatrace API to export logs to external storage. While designing such solution, please be mindful of the API rate limits, amount of data being exported and effectiveness of log search query.
It is case to case and can be best determined by the environment owner.
I am aware the log retention cannot be changed for managed however best is to raise a support case and get it confirmed. Thank you.
Sure you can use this one as well. you may have to test and verify the output as the format will be different for both API’s.
For use of DQL, i am not sure if we have Grail available yet for managed. Since Grail is only for SAAS right now.