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

Use the Problemtext used in a problem notification via the Problem API

wouterdt
Observer

The problem API exposes all the evidenceDetails that are displayed on the Problems page as a rather complicated json object. With the problem nontifications you can push those details in a nice text format:

{ProblemDetailsMarkdown}: All problem event details including root cause as a Markdown-formatted string.

{ProblemDetailsText}: All problem event details including root cause as a text-formatted string

Is there a way to retrieve this text via the dynatrace problem API?
AFAICS there is none and i would have to interpret the json myself if i want to pull problems from dynatrace instead of using a custom notification<

1 REPLY 1

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Dynatrace problems API return information in JSON format https://docs.dynatrace.com/docs/shortlink/api-problems-v2-get-details 

AntonPineiro_0-1722006400948.png

If you want another, you need to parse and tranform it by yourself.

You can raise a product idea also.

Best regards

 

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

Featured Posts