can I capture invalid request info with apim event hubs? RRS feed

  • Question

  • 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?
    Friday, January 29, 2016 7:59 PM


  • I am logging using eventhub like that: 

      <log-to-eventhub logger-id="IgniteLogger001">
                     @( string.Join(",", context.LastError.Message, context.LastError.Reason, DateTime.UtcNow ) )

    Look this link: https://msdn.microsoft.com/en-us/library/azure/mt629506.aspx

    You have a few error information available using context.LastError


    Thursday, March 17, 2016 2:48 PM

All replies