Movatterモバイル変換


[0]ホーム

URL:


Loading
  1. Elastic Docs/
  2. Reference/
  3. Ingestion tools/
  4. Elastic integrations/
  5. Azure

Azure Application Insights Integration

Version1.9.1 (View all)
Subscription level
What's this?
Basic
Developed by
What's this?
Elastic
Ingestion method(s)API
Minimum Kibana version(s)9.0.0
8.13.0

The Application Insights Integration allows users to retrieve application insights metrics from specified applications.

Application ID:: ([]string) ID of the application. This is Application ID from the API Access settings blade in the Azure portal.

Api Key:: ([]string) The API key which will be generated. SeeAzure Monitor Log Analytics API Overview for more information.

The integration contains the following data streams:

Users can retrieve any application insights metrics and make use of the filters below in order to concentrate on the type of data they want to collect.

Metrics:: List of different metrics to collect information

id:: ([]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 metrics include a curated selection of requests counters, performance, and service availability. See theMicrosoft Azure Metrics web page for a list of the available options.

interval:: (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.

aggregation:: ([]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.

segment:: ([]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.

top:: (int) The number of segments to return. This value is only valid when segment is specified.

order_by:: (string) The aggregation function and direction to sort the segments by.This value is only valid when segment is specified.

filter:: (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"]

Will retrieve application related state metrics.

Costs: Metric queries are charged based on the number of standard API calls. SeeAzure Monitor pricing for more information.

Example
{    "@timestamp": "2021-08-23T14:37:42.268Z",    "agent": {        "ephemeral_id": "4162d5df-ab00-4c1b-b4f3-7db2e3b599d4",        "hostname": "docker-fleet-agent",        "id": "d979a8cf-ddeb-458f-9019-389414e0ab47",        "name": "docker-fleet-agent",        "type": "metricbeat",        "version": "7.15.0"    },    "azure": {        "app_insights": {            "end_date": "2021-08-23T14:37:42.268Z",            "start_date": "2021-08-23T14:32:42.268Z"        },        "application_id": "42cb59a9-d5be-400b-a5c4-69b0a0026ac6",        "dimensions": {            "request_name": "GET Home/Index",            "request_url_host": "demoappobs.azurewebsites.net"        },        "metrics": {            "requests_count": {                "sum": 4            }        }    },    "cloud": {        "provider": "azure"    },    "data_stream": {        "dataset": "azure.app_insights",        "namespace": "default",        "type": "metrics"    },    "ecs": {        "version": "8.11.0"    },    "elastic_agent": {        "id": "d979a8cf-ddeb-458f-9019-389414e0ab47",        "snapshot": true,        "version": "7.15.0"    },    "event": {        "agent_id_status": "verified",        "dataset": "azure.app_insights",        "duration": 503187300,        "ingested": "2021-08-23T14:37:41Z",        "module": "azure"    },    "host": {        "architecture": "x86_64",        "containerized": true,        "hostname": "docker-fleet-agent",        "id": "1642d255f9a32fc6926cddf21bb0d5d3",        "ip": [            "192.168.96.7"        ],        "mac": [            "02-42-AC-1F-00-07"        ],        "name": "docker-fleet-agent",        "os": {            "codename": "Core",            "family": "redhat",            "kernel": "4.19.128-microsoft-standard",            "name": "CentOS Linux",            "platform": "centos",            "type": "linux",            "version": "7 (Core)"        }    },    "metricset": {        "name": "app_insights",        "period": 300000    },    "service": {        "type": "azure"    }}

ECS Field Reference

Please refer to the followingdocument for detailed information on ECS fields.

Exported fields
FieldDescriptionTypeMetric Type
@timestampEvent timestamp.date
agent.idUnique identifier of this agent (if one exists). Example: For Beats this would be beat.id.keyword
azure.app_state.browser_timings_network_duration.avgBrowser timings network durationfloatgauge
azure.app_state.browser_timings_processing_duration.avgBrowser timings processing durationfloatgauge
azure.app_state.browser_timings_receive_duration.avgBrowser timings receive durationfloatgauge
azure.app_state.browser_timings_send_duration.avgBrowser timings send durationfloatgauge
azure.app_state.browser_timings_total_duration.avgBrowser timings total durationfloatgauge
azure.app_state.end_dateThe end datedate
azure.app_state.exceptions_browser.sumException count at browser levelfloatgauge
azure.app_state.exceptions_count.sumException countfloatgauge
azure.app_state.exceptions_server.sumException count at server levelfloatgauge
azure.app_state.performance_counters_memory_available_bytes.avgPerformance counters memory available bytesfloatgauge
azure.app_state.performance_counters_process_cpu_percentage.avgPerformance counters process cpu percentagefloatgauge
azure.app_state.performance_counters_process_cpu_percentage_total.avgPerformance counters process cpu percentage totalfloatgauge
azure.app_state.performance_counters_process_private_bytes.avgPerformance counters process private bytesfloatgauge
azure.app_state.performance_counters_processiobytes_per_second.avgPerformance counters process IO bytes per secondfloatgauge
azure.app_state.requests_count.sumRequest countfloatgauge
azure.app_state.requests_failed.sumRequest failed countfloatgauge
azure.app_state.sessions_count.uniqueSession countfloatgauge
azure.app_state.start_dateThe start datedate
azure.app_state.users_authenticated.uniqueAuthenticated users countfloatgauge
azure.app_state.users_count.uniqueUser countfloatgauge
azure.application_idThe application IDkeyword
azure.dimensions.browser_timing_url_hostThe host part of the URL that the browser was accessing when timings were captured.keyword
azure.dimensions.browser_timing_url_pathThe path part of the URL that the browser was accessing when timings were captured.keyword
azure.dimensions.cloud_role_instanceThe unique identifier of the cloud instance where the application is running.keyword
azure.dimensions.cloud_role_nameThe name of the role that the cloud instance is performing.keyword
azure.dimensions.exception_typeThe type of exception that was thrown.keyword
azure.dimensions.request_nameThe name of the request that was made.keyword
azure.dimensions.request_url_hostThe host part of the URL that was requested.keyword
azure.namespaceThe namespace selectedkeyword
azure.resource.groupThe resource groupkeyword
azure.resource.idThe id of the resourcekeyword
azure.resource.nameThe name of the resourcekeyword
azure.resource.tagsAzure resource tags.flattened
azure.resource.typeThe type of the resourcekeyword
azure.subscription_idThe subscription IDkeyword
azure.timegrainThe Azure metric timegrainkeyword
cloud.image.idImage ID for the cloud instance.keyword
cloud.regionRegion in which this host is running.keyword
data_stream.datasetData stream dataset name.constant_keyword
data_stream.namespaceData stream namespace.constant_keyword
data_stream.typeData stream type.constant_keyword
dataset.nameDataset name.constant_keyword
dataset.namespaceDataset namespace.constant_keyword
dataset.typeDataset type.constant_keyword
host.containerizedIf the host is a container.boolean
host.os.buildOS build information.keyword
host.os.codenameOS codename, if any.keyword

This integration includes one or more Kibana dashboards that visualizes the data collected by the integration. The screenshots below illustrate how the ingested data is displayed.

App State Overview
Changelog
VersionDetailsMinimum Kibana version
1.9.1Enhancement (View pull request)
Fix the H1 for SEO purpose.
9.0.0
8.13.0
1.9.0Enhancement (View pull request)
Add a flagfips_compatible to control whether the package is allowed in the ECH FedRAMP High environment.
9.0.0
8.13.0
1.8.0Enhancement (View pull request)
Add support for Kibana9.0.0.
9.0.0
8.13.0
1.7.1Enhancement (View pull request)
Add missing category.
8.13.0
1.7.0Enhancement (View pull request)
Add processor support for app_insights and app_state data streams.
8.13.0
1.6.0Enhancement (View pull request)
ECS version updated to 8.11.0. Update the kibana constraint to ^8.13.0. Modified the field definitions to remove ECS fields made redundant by the ecs@mappings component template.
8.13.0
1.5.0Enhancement (View pull request)
Add global filter for dashboards to improve performance.
8.12.0
1.4.0Enhancement (View pull request)
Enable 'secret' for the sensitive fields.
8.12.0
1.3.0Enhancement (View pull request)
Enable time series data for metrics data streams. This dramatically reduces storage for metrics and is expected to progressively improve queryperformance. For more details, seehttps://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html.
8.12.0
1.2.3Bug fix (View pull request)
Rename the app insights dimensions fingerprint field to prevent it from being nested within azure.dimensions.
8.9.0
1.2.2Enhancement (View pull request)
Migrate App State Overview dashboard visualizations to lens.
8.9.0
1.2.1Enhancement (View pull request)
Add dimension and metric_type mappings to the app_state datastream
8.9.0
1.2.0Enhancement (View pull request)
Update the package format_version to 3.0.0.
8.9.0
1.1.0Enhancement (View pull request)
Add app_insights dimensions and metric_type for metrics field.
8.9.0
1.0.6Enhancement (View pull request)
Fix mappings of tags and dimensions
8.0.0
7.14.0
1.0.5Enhancement (View pull request)
Added categories and/or subcategories.
8.0.0
7.14.0
1.0.4Bug fix (View pull request)
Fix misspelled field name in the app_state data stream.
8.0.0
7.14.0
1.0.3Enhancement (View pull request)
Updated Readme
8.0.0
7.14.0
1.0.2Enhancement (View pull request)
Add documentation for multi-fields
1.0.1Enhancement (View pull request)
Remove beta release tag from data streams
8.0.0
7.14.0
1.0.0Enhancement (View pull request)
Move azure_application_insights package to GA
8.0.0
7.14.0
0.3.1Enhancement (View pull request)
Update to ECS 8.0
0.3.0Enhancement (View pull request)
Support Kibana 8.0
8.0.0
7.14.0
0.2.1Enhancement (View pull request)
Uniform with guidelines
0.2.0Enhancement (View pull request)
Update to ECS 1.12.0
0.1.0Enhancement (View pull request)
initial release
7.14.0

[8]ページ先頭

©2009-2026 Movatter.jp