Streaming logs to an external endpoint

Hi

Can anyone please advise on the below?
Is there a way of streaming data from ‘Dynatrace Log Monitoring’ to an external endpoint where it can be leveraged as input for further processing? I am trying to figure out how to forward logs  from Dynatrace to ServiceNow.

Kind regards
Moses

We have the same need to be able to export a subset of logs to our SIEM solution or even Cloud storage for archiving or data analytics.

Hi,

You should try this Envirnment v2 API. It is early adopter…

I have never used it but looks promising.

I guess this is the most important part of the GET log export. Log Monitoring API - GET export logs | Dynatrace Docs

Log viewer | Dynatrace Docs

I hope you can use it such purposes.

Best regards,

Mizső

Hi,
I am trying this api call, but i struggle on how to send the query in the body. i tried with a json body like this:

{“status”:“ERROR”}as a response i get also log entries with status “INFO”.
The manual somehow doesn’t explain how to setup the query

ok, just found out that i need to add it to the paramaters of the API call :slightly_smiling_face: