reports
Creates, updates, deletes, gets or lists a reports
resource.
Overview
Name | reports |
Type | Resource |
Id | azure.api_management.reports |
Fields
The following fields are returned by SELECT
queries:
- list_by_api
- list_by_user
- list_by_operation
- list_by_product
- list_by_geo
- list_by_subscription
- list_by_time
- list_by_request
Lists a collection of Report record.
Name | Datatype | Description |
---|---|---|
name | string | Name depending on report endpoint specifies product, API, operation or developer name. |
apiId | string | API identifier path. /apis/{apiId} |
apiRegion | string | API region identifier. |
apiTimeAvg | number (double) | Average time it took to process request. |
apiTimeMax | number (double) | Maximum time it took to process request. |
apiTimeMin | number (double) | Minimum time it took to process request. |
bandwidth | integer (int64) | Bandwidth consumed. |
cacheHitCount | integer (int32) | Number of times when content was served from cache policy. |
cacheMissCount | integer (int32) | Number of times content was fetched from backend. |
callCountBlocked | integer (int32) | Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests |
callCountFailed | integer (int32) | Number of calls failed due to gateway or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600 |
callCountOther | integer (int32) | Number of other calls. |
callCountSuccess | integer (int32) | Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect |
callCountTotal | integer (int32) | Total number of calls. |
country | string | Country to which this record data is related. |
interval | string | Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). |
operationId | string | Operation identifier path. /apis/{apiId}/operations/{operationId} |
productId | string | Product identifier path. /products/{productId} |
region | string | Country region to which this record data is related. |
serviceTimeAvg | number (double) | Average time it took to process request on backend. |
serviceTimeMax | number (double) | Maximum time it took to process request on backend. |
serviceTimeMin | number (double) | Minimum time it took to process request on backend. |
subscriptionId | string | Subscription identifier path. /subscriptions/{subscriptionId} |
timestamp | string (date-time) | Start of aggregation period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. |
userId | string | User identifier path. /users/{userId} |
zip | string | Zip code to which this record data is related. |
Lists a collection of Report record.
Name | Datatype | Description |
---|---|---|
name | string | Name depending on report endpoint specifies product, API, operation or developer name. |
apiId | string | API identifier path. /apis/{apiId} |
apiRegion | string | API region identifier. |
apiTimeAvg | number (double) | Average time it took to process request. |
apiTimeMax | number (double) | Maximum time it took to process request. |
apiTimeMin | number (double) | Minimum time it took to process request. |
bandwidth | integer (int64) | Bandwidth consumed. |
cacheHitCount | integer (int32) | Number of times when content was served from cache policy. |
cacheMissCount | integer (int32) | Number of times content was fetched from backend. |
callCountBlocked | integer (int32) | Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests |
callCountFailed | integer (int32) | Number of calls failed due to gateway or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600 |
callCountOther | integer (int32) | Number of other calls. |
callCountSuccess | integer (int32) | Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect |
callCountTotal | integer (int32) | Total number of calls. |
country | string | Country to which this record data is related. |
interval | string | Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). |
operationId | string | Operation identifier path. /apis/{apiId}/operations/{operationId} |
productId | string | Product identifier path. /products/{productId} |
region | string | Country region to which this record data is related. |
serviceTimeAvg | number (double) | Average time it took to process request on backend. |
serviceTimeMax | number (double) | Maximum time it took to process request on backend. |
serviceTimeMin | number (double) | Minimum time it took to process request on backend. |
subscriptionId | string | Subscription identifier path. /subscriptions/{subscriptionId} |
timestamp | string (date-time) | Start of aggregation period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. |
userId | string | User identifier path. /users/{userId} |
zip | string | Zip code to which this record data is related. |
Lists a collection of Report record.
Name | Datatype | Description |
---|---|---|
name | string | Name depending on report endpoint specifies product, API, operation or developer name. |
apiId | string | API identifier path. /apis/{apiId} |
apiRegion | string | API region identifier. |
apiTimeAvg | number (double) | Average time it took to process request. |
apiTimeMax | number (double) | Maximum time it took to process request. |
apiTimeMin | number (double) | Minimum time it took to process request. |
bandwidth | integer (int64) | Bandwidth consumed. |
cacheHitCount | integer (int32) | Number of times when content was served from cache policy. |
cacheMissCount | integer (int32) | Number of times content was fetched from backend. |
callCountBlocked | integer (int32) | Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests |
callCountFailed | integer (int32) | Number of calls failed due to gateway or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600 |
callCountOther | integer (int32) | Number of other calls. |
callCountSuccess | integer (int32) | Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect |
callCountTotal | integer (int32) | Total number of calls. |
country | string | Country to which this record data is related. |
interval | string | Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). |
operationId | string | Operation identifier path. /apis/{apiId}/operations/{operationId} |
productId | string | Product identifier path. /products/{productId} |
region | string | Country region to which this record data is related. |
serviceTimeAvg | number (double) | Average time it took to process request on backend. |
serviceTimeMax | number (double) | Maximum time it took to process request on backend. |
serviceTimeMin | number (double) | Minimum time it took to process request on backend. |
subscriptionId | string | Subscription identifier path. /subscriptions/{subscriptionId} |
timestamp | string (date-time) | Start of aggregation period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. |
userId | string | User identifier path. /users/{userId} |
zip | string | Zip code to which this record data is related. |
Lists a collection of Report record.
Name | Datatype | Description |
---|---|---|
name | string | Name depending on report endpoint specifies product, API, operation or developer name. |
apiId | string | API identifier path. /apis/{apiId} |
apiRegion | string | API region identifier. |
apiTimeAvg | number (double) | Average time it took to process request. |
apiTimeMax | number (double) | Maximum time it took to process request. |
apiTimeMin | number (double) | Minimum time it took to process request. |
bandwidth | integer (int64) | Bandwidth consumed. |
cacheHitCount | integer (int32) | Number of times when content was served from cache policy. |
cacheMissCount | integer (int32) | Number of times content was fetched from backend. |
callCountBlocked | integer (int32) | Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests |
callCountFailed | integer (int32) | Number of calls failed due to gateway or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600 |
callCountOther | integer (int32) | Number of other calls. |
callCountSuccess | integer (int32) | Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect |
callCountTotal | integer (int32) | Total number of calls. |
country | string | Country to which this record data is related. |
interval | string | Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). |
operationId | string | Operation identifier path. /apis/{apiId}/operations/{operationId} |
productId | string | Product identifier path. /products/{productId} |
region | string | Country region to which this record data is related. |
serviceTimeAvg | number (double) | Average time it took to process request on backend. |
serviceTimeMax | number (double) | Maximum time it took to process request on backend. |
serviceTimeMin | number (double) | Minimum time it took to process request on backend. |
subscriptionId | string | Subscription identifier path. /subscriptions/{subscriptionId} |
timestamp | string (date-time) | Start of aggregation period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. |
userId | string | User identifier path. /users/{userId} |
zip | string | Zip code to which this record data is related. |
Lists a collection of Report record.
Name | Datatype | Description |
---|---|---|
name | string | Name depending on report endpoint specifies product, API, operation or developer name. |
apiId | string | API identifier path. /apis/{apiId} |
apiRegion | string | API region identifier. |
apiTimeAvg | number (double) | Average time it took to process request. |
apiTimeMax | number (double) | Maximum time it took to process request. |
apiTimeMin | number (double) | Minimum time it took to process request. |
bandwidth | integer (int64) | Bandwidth consumed. |
cacheHitCount | integer (int32) | Number of times when content was served from cache policy. |
cacheMissCount | integer (int32) | Number of times content was fetched from backend. |
callCountBlocked | integer (int32) | Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests |
callCountFailed | integer (int32) | Number of calls failed due to gateway or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600 |
callCountOther | integer (int32) | Number of other calls. |
callCountSuccess | integer (int32) | Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect |
callCountTotal | integer (int32) | Total number of calls. |
country | string | Country to which this record data is related. |
interval | string | Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). |
operationId | string | Operation identifier path. /apis/{apiId}/operations/{operationId} |
productId | string | Product identifier path. /products/{productId} |
region | string | Country region to which this record data is related. |
serviceTimeAvg | number (double) | Average time it took to process request on backend. |
serviceTimeMax | number (double) | Maximum time it took to process request on backend. |
serviceTimeMin | number (double) | Minimum time it took to process request on backend. |
subscriptionId | string | Subscription identifier path. /subscriptions/{subscriptionId} |
timestamp | string (date-time) | Start of aggregation period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. |
userId | string | User identifier path. /users/{userId} |
zip | string | Zip code to which this record data is related. |
Lists a collection of Report record.
Name | Datatype | Description |
---|---|---|
name | string | Name depending on report endpoint specifies product, API, operation or developer name. |
apiId | string | API identifier path. /apis/{apiId} |
apiRegion | string | API region identifier. |
apiTimeAvg | number (double) | Average time it took to process request. |
apiTimeMax | number (double) | Maximum time it took to process request. |
apiTimeMin | number (double) | Minimum time it took to process request. |
bandwidth | integer (int64) | Bandwidth consumed. |
cacheHitCount | integer (int32) | Number of times when content was served from cache policy. |
cacheMissCount | integer (int32) | Number of times content was fetched from backend. |
callCountBlocked | integer (int32) | Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests |
callCountFailed | integer (int32) | Number of calls failed due to gateway or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600 |
callCountOther | integer (int32) | Number of other calls. |
callCountSuccess | integer (int32) | Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect |
callCountTotal | integer (int32) | Total number of calls. |
country | string | Country to which this record data is related. |
interval | string | Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). |
operationId | string | Operation identifier path. /apis/{apiId}/operations/{operationId} |
productId | string | Product identifier path. /products/{productId} |
region | string | Country region to which this record data is related. |
serviceTimeAvg | number (double) | Average time it took to process request on backend. |
serviceTimeMax | number (double) | Maximum time it took to process request on backend. |
serviceTimeMin | number (double) | Minimum time it took to process request on backend. |
subscriptionId | string | Subscription identifier path. /subscriptions/{subscriptionId} |
timestamp | string (date-time) | Start of aggregation period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. |
userId | string | User identifier path. /users/{userId} |
zip | string | Zip code to which this record data is related. |
Lists a collection of Report record.
Name | Datatype | Description |
---|---|---|
name | string | Name depending on report endpoint specifies product, API, operation or developer name. |
apiId | string | API identifier path. /apis/{apiId} |
apiRegion | string | API region identifier. |
apiTimeAvg | number (double) | Average time it took to process request. |
apiTimeMax | number (double) | Maximum time it took to process request. |
apiTimeMin | number (double) | Minimum time it took to process request. |
bandwidth | integer (int64) | Bandwidth consumed. |
cacheHitCount | integer (int32) | Number of times when content was served from cache policy. |
cacheMissCount | integer (int32) | Number of times content was fetched from backend. |
callCountBlocked | integer (int32) | Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests |
callCountFailed | integer (int32) | Number of calls failed due to gateway or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600 |
callCountOther | integer (int32) | Number of other calls. |
callCountSuccess | integer (int32) | Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect |
callCountTotal | integer (int32) | Total number of calls. |
country | string | Country to which this record data is related. |
interval | string | Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). |
operationId | string | Operation identifier path. /apis/{apiId}/operations/{operationId} |
productId | string | Product identifier path. /products/{productId} |
region | string | Country region to which this record data is related. |
serviceTimeAvg | number (double) | Average time it took to process request on backend. |
serviceTimeMax | number (double) | Maximum time it took to process request on backend. |
serviceTimeMin | number (double) | Minimum time it took to process request on backend. |
subscriptionId | string | Subscription identifier path. /subscriptions/{subscriptionId} |
timestamp | string (date-time) | Start of aggregation period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. |
userId | string | User identifier path. /users/{userId} |
zip | string | Zip code to which this record data is related. |
Lists a collection of Report record.
Name | Datatype | Description |
---|---|---|
apiId | string | API identifier path. /apis/{apiId} |
apiRegion | string | Azure region where the gateway that processed this request is located. |
apiTime | number (double) | The total time it took to process this request. |
backendResponseCode | string | The HTTP status code received by the gateway as a result of forwarding this request to the backend. |
cache | string | Specifies if response cache was involved in generating the response. If the value is none, the cache was not used. If the value is hit, cached response was returned. If the value is miss, the cache was used but lookup resulted in a miss and request was fulfilled by the backend. |
ipAddress | string | The client IP address associated with this request. |
method | string | The HTTP method associated with this request.. |
operationId | string | Operation identifier path. /apis/{apiId}/operations/{operationId} |
productId | string | Product identifier path. /products/{productId} |
requestId | string | Request Identifier. |
requestSize | integer (int32) | The size of this request.. |
responseCode | integer (int32) | The HTTP status code returned by the gateway. |
responseSize | integer (int32) | The size of the response returned by the gateway. |
serviceTime | number (double) | he time it took to forward this request to the backend and get the response back. |
subscriptionId | string | Subscription identifier path. /subscriptions/{subscriptionId} |
timestamp | string (date-time) | The date and time when this request was received by the gateway in ISO 8601 format. |
url | string | The full URL associated with this request. |
userId | string | User identifier path. /users/{userId} |
Methods
The following methods are available for this resource:
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
$filter | string | | Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| timestamp | filter | ge, le | | </br>| apiId | filter | eq | | </br>| operationId | filter | eq | | </br>| productId | filter | eq | | </br>| userId | filter | eq | | </br>| apiRegion | filter | eq | | </br>| subscriptionId | filter | eq | | </br> |
interval | string (duration) | By time interval. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)). |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
serviceName | string | The name of the API Management service. |
subscriptionId | string | The ID of the target subscription. |
$orderby | string | OData order by query option. |
$skip | integer (int32) | Number of records to skip. |
$top | integer (int32) | Number of records to return. |
SELECT
examples
- list_by_api
- list_by_user
- list_by_operation
- list_by_product
- list_by_geo
- list_by_subscription
- list_by_time
- list_by_request
Lists report records by API.
SELECT
name,
apiId,
apiRegion,
apiTimeAvg,
apiTimeMax,
apiTimeMin,
bandwidth,
cacheHitCount,
cacheMissCount,
callCountBlocked,
callCountFailed,
callCountOther,
callCountSuccess,
callCountTotal,
country,
interval,
operationId,
productId,
region,
serviceTimeAvg,
serviceTimeMax,
serviceTimeMin,
subscriptionId,
timestamp,
userId,
zip
FROM azure.api_management.reports
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND $filter = '{{ $filter }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND $orderby = '{{ $orderby }}'
;
Lists report records by User.
SELECT
name,
apiId,
apiRegion,
apiTimeAvg,
apiTimeMax,
apiTimeMin,
bandwidth,
cacheHitCount,
cacheMissCount,
callCountBlocked,
callCountFailed,
callCountOther,
callCountSuccess,
callCountTotal,
country,
interval,
operationId,
productId,
region,
serviceTimeAvg,
serviceTimeMax,
serviceTimeMin,
subscriptionId,
timestamp,
userId,
zip
FROM azure.api_management.reports
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND $filter = '{{ $filter }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND $orderby = '{{ $orderby }}'
;
Lists report records by API Operations.
SELECT
name,
apiId,
apiRegion,
apiTimeAvg,
apiTimeMax,
apiTimeMin,
bandwidth,
cacheHitCount,
cacheMissCount,
callCountBlocked,
callCountFailed,
callCountOther,
callCountSuccess,
callCountTotal,
country,
interval,
operationId,
productId,
region,
serviceTimeAvg,
serviceTimeMax,
serviceTimeMin,
subscriptionId,
timestamp,
userId,
zip
FROM azure.api_management.reports
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND $filter = '{{ $filter }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND $orderby = '{{ $orderby }}'
;
Lists report records by Product.
SELECT
name,
apiId,
apiRegion,
apiTimeAvg,
apiTimeMax,
apiTimeMin,
bandwidth,
cacheHitCount,
cacheMissCount,
callCountBlocked,
callCountFailed,
callCountOther,
callCountSuccess,
callCountTotal,
country,
interval,
operationId,
productId,
region,
serviceTimeAvg,
serviceTimeMax,
serviceTimeMin,
subscriptionId,
timestamp,
userId,
zip
FROM azure.api_management.reports
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND $filter = '{{ $filter }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND $orderby = '{{ $orderby }}'
;
Lists report records by geography.
SELECT
name,
apiId,
apiRegion,
apiTimeAvg,
apiTimeMax,
apiTimeMin,
bandwidth,
cacheHitCount,
cacheMissCount,
callCountBlocked,
callCountFailed,
callCountOther,
callCountSuccess,
callCountTotal,
country,
interval,
operationId,
productId,
region,
serviceTimeAvg,
serviceTimeMax,
serviceTimeMin,
subscriptionId,
timestamp,
userId,
zip
FROM azure.api_management.reports
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND $filter = '{{ $filter }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
;
Lists report records by subscription.
SELECT
name,
apiId,
apiRegion,
apiTimeAvg,
apiTimeMax,
apiTimeMin,
bandwidth,
cacheHitCount,
cacheMissCount,
callCountBlocked,
callCountFailed,
callCountOther,
callCountSuccess,
callCountTotal,
country,
interval,
operationId,
productId,
region,
serviceTimeAvg,
serviceTimeMax,
serviceTimeMin,
subscriptionId,
timestamp,
userId,
zip
FROM azure.api_management.reports
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND $filter = '{{ $filter }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND $orderby = '{{ $orderby }}'
;
Lists report records by Time.
SELECT
name,
apiId,
apiRegion,
apiTimeAvg,
apiTimeMax,
apiTimeMin,
bandwidth,
cacheHitCount,
cacheMissCount,
callCountBlocked,
callCountFailed,
callCountOther,
callCountSuccess,
callCountTotal,
country,
interval,
operationId,
productId,
region,
serviceTimeAvg,
serviceTimeMax,
serviceTimeMin,
subscriptionId,
timestamp,
userId,
zip
FROM azure.api_management.reports
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND $filter = '{{ $filter }}' -- required
AND interval = '{{ interval }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND $orderby = '{{ $orderby }}'
;
Lists report records by Request.
SELECT
apiId,
apiRegion,
apiTime,
backendResponseCode,
cache,
ipAddress,
method,
operationId,
productId,
requestId,
requestSize,
responseCode,
responseSize,
serviceTime,
subscriptionId,
timestamp,
url,
userId
FROM azure.api_management.reports
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND $filter = '{{ $filter }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
;