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

How to create custom error rule using request attribute value from API

pavan_babu1
Dynatrace Advocate
Dynatrace Advocate

We have 200 error codes captured in a request attribute. In which some are considered Technical errors and some are businesses errors. We need to create custom error rules for all the technical errors (at least 100 codes) in 10 services =1000 custom error rules.

 

Is there any way we can use API for this or Reduce the effort by applying error detection rules for all 10 services at once?

2 REPLIES 2

ChadTurner
DynaMight Guru
DynaMight Guru

Thats a really good question. If you can use the API you might still end up hitting a limitation where you need to provide the entity ID, but granted that would cut down the workload. 

 

You can create a global rule as well:

ChadTurner_0-1638930705160.png

 

Ill see if Dynatrace is aware of a way to leverage the API for this

-Chad

ChadTurner
DynaMight Guru
DynaMight Guru