Azure app_insights metricsetedit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

This is the app_insights metricset.

This metricset allows users to retrieve application insights metrics from specified applications.

Config options to identify resourcesedit

([]string) ID of the application. This is Application ID from the API Access settings blade in the Azure portal.
([]string) The API key which will be generated, more on the steps here

App insights metric configurationsedit

List of different metrics to collect information
([]string) IDs of the metrics that’s being reported. Usually, the id is descriptive enough to help identify what’s measured. A list of metric names can be entered as well. Default metricsets include: requests/count requests/duration requests/failed users/count``users/authenticated pageViews/count pageViews/duration customEvents/count browserTimings/processingDuration browserTimings/receiveDuration browserTimings/networkDuration browserTimings/sendDuration browserTimings/totalDuration dependencies/count dependencies/duration dependencies/failed exceptions/count exceptions/browser exceptions/server sessions/count performanceCounters/requestExecutionTime performanceCounters/requestsPerSecond performanceCounters/requestsInQueue performanceCounters/memoryAvailableBytes performanceCounters/exceptionsPerSecond performanceCounters/processCpuPercentage performanceCounters/processIOBytesPerSecond performanceCounters/processPrivateBytes performanceCounters/processorCpuPercentage availabilityResults/count availabilityResults/availabilityPercentage availabilityResults/duration
(string) The time interval to use when retrieving metric values. This is an ISO8601 duration. If interval is omitted, the metric value is aggregated across the entire timespan. If interval is supplied, the result may adjust the interval to a more appropriate size based on the timespan used for the query.
([]string) The aggregation to use when computing the metric values. To retrieve more than one aggregation at a time, separate them with a comma. If no aggregation is specified, then the default aggregation for the metric is used.
([]string) The name of the dimension to segment the metric values by. This dimension must be applicable to the metric you are retrieving. In this case, the metric data will be segmented in the order the dimensions are listed in the parameter.
(int) The number of segments to return. This value is only valid when segment is specified.
(string) The aggregation function and direction to sort the segments by. This value is only valid when segment is specified.
(string) An expression used to filter the results. This value should be a valid OData filter expression where the keys of each clause should be applicable dimensions for the metric you are retrieving.

Example configuration:

 - id: ["requests/count", "requests/failed"]
   segment: "request/name"
   aggregation: ["sum"]


For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

    "@timestamp": "2017-10-12T08:05:34.853Z",
        "azure" : {
        "app_insights" : {
            "metrics" : {
                "requests_failed" : {
                    "sum" : 182
                "request_name" : "GET /favicon.ico"
            "start_date" : "2020-07-12T10:52:11.831Z",
            "end_date" : "2020-07-12T12:52:11.831Z",
            "application_id" : "42cb59a9-d5be-400b-a5c4-69b0a0026ac6"
    "cloud": {
        "provider": "azure"
    "event": {
        "dataset": "azure.app_insights",
        "duration": 115000,
        "module": "azure"
    "metricset": {
        "name": "app_insights",
        "period": 10000
    "service": {
        "type": "azure"