cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

How to Push Data from OneAgent to a Third-Party Storage

AnLee
Frequent Guest

Hello,

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?

Any feedback or advice would be helpful.
Anlee

6 REPLIES 6

RohitBisht
Dynatrace Advisor
Dynatrace Advisor

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.
https://docs.dynatrace.com/docs/shortlink/api-log-monitoring-v2-get-export 

RB

Hi @RohitBisht,

Thank you very much for your response, but I would like to ask if I use Dynatrace Managed, can I use DQL with the apiv2 get search log?

Thank you,
AnLee

RohitBisht
Dynatrace Advisor
Dynatrace Advisor

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.

RB

Peter_Youssef
Leader

Hi @AnLee 

In addition to the provided guidance by @RohitBisht, PFA helpful resources:

Regarding Logs:

2024-12-19_09h41_47.png

2024-12-19_09h44_35.png

 

Log Ingestion:

Kindly ensure the token has the required scope for successful execution.

Hoping it helps.

KR,

Peter

AnLee
Frequent Guest

Hi @Peter_Youssef,

Thank you very much for your response, but I would like to ask if I use Dynatrace Managed, can I use DQL with the APIv2 get search log?

AnLee

Hi,

I would say no, Grail is only available in SaaS tenants.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts