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

Using dims Placeholders in Dynatrace Webhook Payloads for Workflow Integration

erh_inetum
Champion

Hi,


We're trying to use {dims:} placeholders that we're using in a custom event in a payload in a webhook integration.
When we add the {dims:} placeholders to the custom event, we see the properties that contain the dims placeholders. But when we add the same placeholders to the payload, the fields of the payload don´t contain the value of the placeholders.

It returns something like this:

....
...
[{"type":"APPLICATION_TYPE","name":"xxxxxxx","entity":"APPLICATION_TYPE-xxxxx"}], "id": "P-XXXXX", "pid": "-XXXX_XXXX"
"propertiesMyProperty": {dims:MyProperty} "propertiesMyEntityPropertiy": {dims:dt.entity.custom_device_group.name} }

 

We are defining the paypload on this way:

"names": "{ProblemID}",
"detalleImpacto": {ImpactedEntities},
"id": "{ProblemID}",
"pid": "{PID}"
"propertiesMyProperty": {dims:MyProperty}
"propertiesMyEntityPropertiy": {dims:dt.entity.custom_device_group.name}

 

Does anyone know if it's possible using these properties in a payload of a Webhook integration and how to do that?

 

Regards,
Elena.

1 REPLY 1

ChadTurner
DynaMight Legend
DynaMight Legend

So "Dims" will only work when a dimension is seen by way of a metric event/davis anomaly detection, however, "Dims" is not part of the criteria of payload for the webhook integration.

ChadTurner_0-1756136674973.png

 

My recommendation would be to ensure your Dims is in the event payload, then leverage problem details in the integration payload. So if Dims is qualified, it would then show. 

-Chad

Featured Posts