v5

latestSwagger 2.0Microsoftraw.githubusercontent.com2020-05-1597471.5 KB

Get an event

Gets the data for a single event

get/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/events/{eventType}/{eventId}

Path parameters

subscriptionIdstring required

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupNamestring required

The name of the resource group to get. The name is case insensitive.

applicationNamestring required

Name of the Application Insights application.

eventType'$all' | 'traces' | 'customEvents' | 'pageViews' | 'browserTimings' | 'requests' | 'dependencies' | 'exceptions' | 'availabilityResults' | 'performanceCounters' | 'customMetrics' required

The type of events to query; either a standard event type (traces, customEvents, pageViews, requests, dependencies, exceptions, availabilityResults) or $all to query across all event types.

eventIdstring required

ID of event.

Query parameters

timespanstring

Optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression.

apiVersionstring required

Client API version.

Response

Successful response

@odata.contextstring

OData context metadata endpoint for this response