Azure Alerts(Custom Log Search) how to get custom dimensions value into webhook

Chethan Parashuram 7 Reputation points

I have configured Application insights from API Management, Inside App Insights i have configured Alert rules, whenever there is a error, Alert will be triggered & a webhook will be invoked with the alert details.

In Query i have added customdimensions["Request-Body"] and customdimensions["Response-Body"], which is not getting listed in split-dimension dropdown,

the fileds which are listed in dropdown only comes in webhook, but i need customdimensions["Request-Body"] and customdimensions["Response-Body"] as well, how to get it

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,790 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Maxim Sergeev 6,566 Reputation points Microsoft Employee

    Hi there,

    The customdimension column is dynamic, so your query "extends" the schema, not adds


    If you want to leverage dimensions in alerting, convert it to string first


    1 person found this answer helpful.
    0 comments No comments