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

Categories

MSDN
Game Development
Microsoft Office for D...
Apps for Office and Sh...
Visual FoxPro
DevLabs
Microsoft ISV Communit...
Development
Microsoft Research
Office Live Development
Microsoft Azure
Archived Forums V
Windows Phone Preview ...
Skype for Business
Announcements for all ...
Forums Redesign - Q&A ...
Where is the Forum For…?
Tools for Apache Cordova
Visual Studio Graphics...
Windows App Studio Beta
Promote Your App
Developing Windows Des...
Media Foundation Devel...
Windows Imaging Compon...
Windows Desktop Perfmo...
Message Analyzer
Word for Developers
SharePoint 2010 - Deve...
SharePoint 2010 - Usin...
Azure Storage
Azure Active Directory
Azure Media Services
Azure Pack
Azure App Service - AP...
Language Understanding...
Azure Data Catalog
Azure Security Center
Azure IoT Hub
Azure Database for MySQL
Publishing Apps for th...
BizTalk ESB Toolkit
LINQ to SQL
Code Contracts
TPL Dataflow
SyncFx - Microsoft Syn...
SQL Server Reporting S...
Transact-SQL
SQL Service Broker
SQL Server Compact
Database Mirroring
SQL Server Express
SQL Server Spatial
Microsoft StreamInsight
SQL Server PowerPivot ...
Standard 2009: Compone...
Standard 7: Servicing ...
Windows Embedded Compa...
SQL Server 2012 PowerP...
Windows Forms General
Windows Forms Sample A...
Server Virtualization
Windows Live  Spaces: ...
Windows Live Writer: D...
MSDN Magazine
The Samsung Windows De...
Windows Protocols
Open Specifications Qu...
SharePoint Server Prot...
Project Server General...
Project Customization ...
PivotViewer Control wi...
Game Development with ...
Connected Services Fra...
Search Server: Install...
Windows Performance To...
Retired SharePoint Bus...
Retired SharePoint Bus...
Retired SharePoint Acc...
Retired SharePoint Soc...
Project Standard and P...
.NET Framework Network...
ADO.NET Entity Framewo...
Azure Troubleshooting,...
AppFabric Caching
Charts & Reports in th...
Crystal Reports for Vi...
Doloto
Expression Community S...
LINQ Project General
Model-Based Testing wi...
Monitor, Alert and Aut...
patterns & practices: ...
NUI API and Programmin...
Oracle on Azure
SQL Server 2014 Report...
SQL Server 2014 In-Mem...
SQL Server 2014 Integr...
Team Foundation Server...
Visual C# Express 2008...
Visual C++ 2008 (Pre-r...
Visual Studio Editor i...
WCF Data Services (Pre...
Web Sandbox - General
Windows Desktop Vista ...
Windows Error Reportin...
Windows Live Controls ...
Windows Workflow Found...
Windows XP Wireless SDK
XML in Visual Studio 2...
XML in Visual Studio a...
XML in Windows (MSXML ...
XML Paper Specificatio...
OneDrive Development (...
SQL Server 2016 Preview

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile