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

Variable for Root cause in notification

vonsolo29
Observer

Is there a variable specifically for Root Cause in that we can use in the problem notification? We have found that it is a part of the {ProblemDetailsText} but that also has other information about the problem. We are looking for just the root cause to use in our Event Management System. 

5 REPLIES 5

AntonPineiro
Leader

Hi,

I am not aware of that. I think no variable with that piece of information isolated.

Best regards

Consultant

islam_zidan
Mentor

Hello,

You can better use "ProblemDetailsJSONv2", it has a specific parameter called "evidenceDetails" which is the actual root cause.

 

Thanks,

Islam

Dynatrace Certified Professional - Dynatrace Partner - Yourcompass.ca

cesarsaravia
Dynatrace Contributor
Dynatrace Contributor

Hi,
You can use the Problems API v2 - GET problems details and use the evidenceDetails property for the entities identified as the root cause.

 

cesarsaravia_0-1691760181926.png

BR,
Cesar S.

-César S. - LATAM Solutions Architect

Thank you for this, this is good. Is it possible to use this in the problem notification webhook? 

cesarsaravia
Dynatrace Contributor
Dynatrace Contributor

Yes!
You can use the ProblemDetailsJSONv2 as a placeholder in the problem notification webhook, then you can use these properties/objects like evidenceDetailes, impactAnalysis, and recentComments.

-César S. - LATAM Solutions Architect

Featured Posts