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

Webhook integration for Events in Dynatrace

santosh1986
Visitor

Hello Dynatrace,

 

We want to integrate Dynatrace with our Project using Webhook. For this, we need Dynatrace Events to be exported via Webhook. If this is successful, we can think to make Dynatrace our prospective service provider. 

 

While browsing through the link: "https://www.dynatrace.com/support/help/setup-and-configuration/integrations/problem-notifications/we..." we found that you have Webhook integration for problems and we can successfully integrate that, too.

 

But our requirement is different. We need to export events in Dynatrace using Webhook, but not the problems. I browsed many links but I could not figure out how to export Dynatrace events to third party using Webhook.

 

Can someone help me on this.

 

In details:
1> https://www.dynatrace.com/support/help/dynatrace-api/environment-api/problems-v2/problems/get-proble.... <-- For this API, Webhook Integration steps present in the link https://www.dynatrace.com/support/help/setup-and-configuration/integrations/problem-notifications/we...
2> https://www.dynatrace.com/support/help/dynatrace-api/environment-api/events-v2/get-events <- For this API, Webhook Integration Steps has not been mentioned in the link.. But this is our requirement as per our Epic.

 

You can reach me on santosh.kumar.panigrahy@kyndryl.com

3 REPLIES 3

pahofmann
DynaMight Guru
DynaMight Guru

What kind of events do you want to sent webhooks for?

Problems are also based on events, so it might just satisfy your use case.

 

If not, there is no other webhook option besides problems. But you could write a simple script or DT Plugin that checks for events and sends the webhook.

Dynatrace Certified Master - Dynatrace Partner - 360Performance.net

Thanks @pahofmann  for your quick response. but I want to export the below API output in dynatrace using webhook:

 

curl --location --request GET 'https://xxxxxxxx.live.dynatrace.com/api/v2/events?from=50&to=now ' \
--header 'accept: application/json; charset=utf-8' \
--header 'Authorization: Api-Token XXXXX'

so my question is

a> What is the difference between problems and events in dynatrace?

b> I guess all problems are events but not all events are problems in dynatrace? Can you explain me on the differences in details please. because I want to export all events let it be problem or something else to my project.

 

If you wish we can have a short call on this with my team also.

 

An event can cause a problem, but it doesn't have to. It could also be an informational event, like a reployment or process restart, which would not lead to creating a problem.

 

Other events, like service slowdown or high CPU would lead to a problem. Problems can cosist of more than one event though. If the Dynatrace AI thinks events are related it will group them into one problem.

 

There is no way to push events via webhook directly. You have to write either a script or dynatrace plugin to poll them and sent the webhook.

Dynatrace Certified Master - Dynatrace Partner - 360Performance.net

Featured Posts