title: How to see failed requests post parameters at Azure api management?
body: <p>We are debugging our systems to see failed azure posts and want to learn why they failed in the first place.</p>
  
  <p>The AzureMetric and Azure diagnostics are not helping when we are running the query over OMS.</p>
  
  <p><strong><em>Where do we see which values made us fail ?</em></strong></p>
  
  <p><strong>Our OMS Query</strong></p>
  
  <p>search *
  | where Resource == "xxx-API-NONPRODUCTION"
  | where Type == "AzureDiagnostics"</p>
  
  <p><strong>Sample Error from OMS</strong></p>
  
  <p>$table
  AzureDiagnostics
  TenantId
  yyy-0a7b-4833-8fb6-yyy
  SourceSystem
  Azure
  TimeGenerated [UTC]
  2017-12-20T15:05:00.845Z
  Type
  AzureDiagnostics
  Environment_s
  PROD
  lastError_source_s
  configuration
  lastError_reason_s
  OperationNotFound
  lastError_message_s
  Unable to match incoming request to an operation.
  lastError_section_s
  backend
  OperationName
  Microsoft.ApiManagement/GatewayLogs
  Category
  GatewayLogs
  CallerIPAddress
  51.yyy.34.yyy
  location_s
  UK West
  method_s
  GET
  url_s
  <a href="https://xxx-api-nonproduction.azure-api.net/qa/user/api/zzz/UserAccountExistsByEmailAddressAndIsEnabled/2bdel.qags2012@yopmail.com" rel="nofollow noreferrer">https://xxx-api-nonproduction.azure-api.net/qa/user/api/zzz/UserAccountExistsByEmailAddressAndIsEnabled/2bdel.qags2012@yopmail.com</a>
  cache_s
  none
  apiId_s
  tttt
  productId_s
  tttt
  userId_s
  1
  apimSubscriptionId_s
  vvvv
  ResourceId
  /SUBSCRIPTIONS/vvvv-2F08-4DED-92B8-vvvv/RESOURCEGROUPS/xxx-CORE-NONPRODUCTION/PROVIDERS/MICROSOFT.APIMANAGEMENT/SERVICE/xxx-API-NONPRODUCTION
  SubscriptionId
  vvv-vvvv-vvv-vvv-vvv
  ResourceGroup
  xxx-CORE-NONPRODUCTION
  ResourceProvider
  MICROSOFT.APIMANAGEMENT
  Resource
  uuuu-API-NONPRODUCTION
  ResourceType
  SERVICE
  CorrelationId
  vvv-vvv-vvv-vvv-vvvvv
  isRequestSuccess_b
  false
  Level_d
  4
  EventId_d
  222
  DurationMs
  0
  responseCode_d
  404
  responseSize_d
  130</p>