An Azure service that provides a hybrid, multi-cloud management platform for APIs.
Hi @Robin Sok ,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Azure API Management does have limits on the size of the request and response payloads it can log. You're facing an issue with Azure's API Management where your request payload is getting truncated due to the 8192-byte limit. If your payload exceeds this limit, it won't be fully captured.
As an alternative you can log to Event Hubs. You can utilize the log-to-eventhub policy, which allows for a maximum message size of 200 KB. Messages exceeding this size will be truncated; however, this provides a higher approved limit than standard logging.
Reference: How to log events to Azure Event Hubs in Azure API Management.