cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Streaming logs to an external endpoint

moses_ogutu2
Newcomer

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

4 REPLIES 4

Luis_g_Medina
Visitor

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. 

Mizső
DynaMight Leader
DynaMight Leader

Hi,

 

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

 

I have never used it but looks promising.

 

Mizs_0-1665084272841.png

 

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

 

Mizs_1-1665084546312.png

Log viewer | Dynatrace Docs

 

I hope you can use it such purposes.

 

Best regards,

Mizső

 

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

mferstl
Participant

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 🙂

Featured Posts