Azure API Management
can I capture invalid request info with apim event hubs?
APIM Event Hubs are recommended for logging through APIM. Do you know if this approach can capture invalid request info? I know that invalid request info can be captured through Azure Diagnostics but I'm wondering if I can capture this information through an EventHubs-only solution or if I'll need to implement an additional solution through Azure Diagnostics to capture invalid request info?
I am logging using eventhub like that: <on-error> <log-to-eventhub logger-id="IgniteLogger001"> #( string.Join(",", context.LastError.Message, context.LastError.Reason, DateTime.UtcNow ) ) </log-to-eventhub> </on-error> Look this link: https://msdn.microsoft.com/en-us/library/azure/mt629506.aspx You have a few error information available using context.LastError Regards,
Greetings, I am not sure about how much this will help but I found this below links which may help you on this. https://azure.microsoft.com/en-in/documentation/articles/api-management-howto-log-event-hubs/ https://github.com/Azure/azure-content/commit/5aab2723a6fc127a07cf626ff274db3b7c387cfc https://github.com/Azure/azure-content/commit/ebe7bcd9383f068c0177fe03303a2bf3a1ac8003 Regards,
I am logging using eventhub like that: <on-error> <log-to-eventhub logger-id="IgniteLogger001"> #( string.Join(",", context.LastError.Message, context.LastError.Reason, DateTime.UtcNow ) ) </log-to-eventhub> </on-error> Look this link: https://msdn.microsoft.com/en-us/library/azure/mt629506.aspx You have a few error information available using context.LastError Regards,
Related Links
OAuth2 backend API to expose with basic authentication
Set a variable with JWT claim as value
Creating a Webservice in Azure
REST Api just heavily changed?
Azure Resource created by/ created at
Developer portal showing various Liquid errors
Is there REST API to Create/Update/Delete API Policies?
Azure Service Fabric Cluster with OWIN Stateless Web api.
eLogic Learning LMS - Configuring the Multi-Language feature with Azure Cognitive Services
APIM instance stuck on "updating" state after upgrading licens
401 error
Mutual Certificate Proxy Authentication
Call Azure Api from website
Azure API Throttling.
API management on Azure Stack?
Developer portal no longer supplying Authorisation code when OAuth2 provider required