Azure APIM : How to increase Azure Monitor Payload Limit beyond 8192

Amit-J 306 Reputation points


Since there is a limit of 8192 bytes to log payloads in Azure Monitor, what is the alternate solution to log complete payload ?
Is there a way to increase this number ? or do we have to handle it separately in api policies, by capturing payload via Jobject and sending it to storage ?

Please suggest.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,520 questions
0 comments No comments
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 14,996 Reputation points

    Hi @Amit-J Thanks for reaching out. No, 8192 is the hard coded max limit, which means it cannot be changed. Also, logging more data will introduce the risk of severe performance degradation.

    Please refer:

    you can log events to Azure Event Hubs Using this, you can log any number of bytes and any kind of data that you need for future analysis.

    let me know incase of further queries, I would be happy to assist you.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

0 additional answers

Sort by: Most helpful