diff --git a/packages/azure_metrics/changelog.yml b/packages/azure_metrics/changelog.yml index 65320a94efd7..0f90b9112ebc 100644 --- a/packages/azure_metrics/changelog.yml +++ b/packages/azure_metrics/changelog.yml @@ -1,3 +1,8 @@ +- version: "1.0.38" + changes: + - description: Migrate Compute VMs Overview dashboard to lens. + type: enhancement + link: https://github.com/elastic/integrations/pull/7508 - version: "1.0.37" changes: - description: Migrate Storage Overview dashboard to lens. diff --git a/packages/azure_metrics/img/azure_metrics-vm-overview.png b/packages/azure_metrics/img/azure_metrics-vm-overview.png index 48c9494ae3a3..1b5422120d8c 100644 Binary files a/packages/azure_metrics/img/azure_metrics-vm-overview.png and b/packages/azure_metrics/img/azure_metrics-vm-overview.png differ diff --git a/packages/azure_metrics/kibana/dashboard/azure_metrics-eb3f05f0-ea9a-11e9-90ec-112a988266d5.json b/packages/azure_metrics/kibana/dashboard/azure_metrics-eb3f05f0-ea9a-11e9-90ec-112a988266d5.json index c4ed6b7be349..55fb2955fbb2 100644 --- a/packages/azure_metrics/kibana/dashboard/azure_metrics-eb3f05f0-ea9a-11e9-90ec-112a988266d5.json +++ b/packages/azure_metrics/kibana/dashboard/azure_metrics-eb3f05f0-ea9a-11e9-90ec-112a988266d5.json @@ -1,12 +1,11 @@ { - "id": "azure_metrics-eb3f05f0-ea9a-11e9-90ec-112a988266d5", - "type": "dashboard", - "namespaces": [ - "default" - ], - "updated_at": "2023-08-08T06:46:29.879Z", - "version": "WzgzOSwxXQ==", "attributes": { + "controlGroupInput": { + "chainingSystem": "HIERARCHICAL", + "controlStyle": "oneLine", + "ignoreParentSettingsJSON": "{\"ignoreFilters\":false,\"ignoreQuery\":false,\"ignoreTimerange\":false,\"ignoreValidations\":false}", + "panelsJSON": "{\"f6cf2f69-1455-4255-8cbb-754914b6f548\":{\"order\":0,\"width\":\"medium\",\"grow\":true,\"type\":\"optionsListControl\",\"explicitInput\":{\"fieldName\":\"cloud.region\",\"title\":\"Region\",\"id\":\"f6cf2f69-1455-4255-8cbb-754914b6f548\",\"enhancements\":{}}},\"8f432dec-9bb0-4084-a307-5894e4a3bb12\":{\"order\":1,\"width\":\"medium\",\"grow\":true,\"type\":\"optionsListControl\",\"explicitInput\":{\"fieldName\":\"azure.resource.group\",\"title\":\"Resource Group\",\"id\":\"8f432dec-9bb0-4084-a307-5894e4a3bb12\",\"enhancements\":{}}},\"1bd55cba-ce48-43f7-86cb-539ac5da7cae\":{\"order\":2,\"width\":\"medium\",\"grow\":true,\"type\":\"optionsListControl\",\"explicitInput\":{\"fieldName\":\"azure.resource.name\",\"title\":\"VM Name\",\"id\":\"1bd55cba-ce48-43f7-86cb-539ac5da7cae\",\"enhancements\":{}}}}" + }, "description": "This dashboard visualized relevant metrics for VMs running on Azure cloud.", "hits": 0, "kibanaSavedObjectMeta": { @@ -24,28 +23,9 @@ }, "panelsJSON": [ { - "version": "8.3.0", - "type": "visualization", - "gridData": { - "h": 6, - "i": "6dd69df8-690d-4fda-a3ee-691fb5de4645", - "w": 10, - "x": 0, - "y": 0 - }, - "panelIndex": "6dd69df8-690d-4fda-a3ee-691fb5de4645", "embeddableConfig": { "enhancements": {}, "savedVis": { - "title": "Navigation Compute VM Overview [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "fontSize": 12, - "markdown": "### Azure Compute VM \n\n[**Overview**](#/dashboard/azure_metrics-1a151f80-32db-11ea-a83e-25b8612d00cc) | [Guest Windows VM Metrics](#/dashboard/azure_metrics-b6b434c0-feae-11eb-8fff-87871c582eca) | [Guest Linux VM Metrics](#/dashboard/azure_metrics-d8e3c5f0-feaf-11eb-8fff-87871c582eca)", - "openLinksInNewTab": false - }, - "type": "markdown", "data": { "aggs": [], "searchSource": { @@ -55,97 +35,196 @@ "query": "" } } - } + }, + "description": "", + "params": { + "fontSize": 12, + "markdown": "### Azure Compute VM \n\n[**Overview**](#/dashboard/azure_metrics-1a151f80-32db-11ea-a83e-25b8612d00cc) | [Guest Windows VM Metrics](#/dashboard/azure_metrics-b6b434c0-feae-11eb-8fff-87871c582eca) | [Guest Linux VM Metrics](#/dashboard/azure_metrics-d8e3c5f0-feaf-11eb-8fff-87871c582eca)", + "openLinksInNewTab": false + }, + "title": "Navigation Compute VM Overview [Azure Metrics]", + "type": "markdown", + "uiState": {} } - } - }, - { - "version": "8.3.0", - "type": "visualization", + }, "gridData": { "h": 6, - "i": "aa881f9d-28d3-4722-822e-3e670021cf52", - "w": 16, - "x": 10, + "i": "6dd69df8-690d-4fda-a3ee-691fb5de4645", + "w": 26, + "x": 0, "y": 0 }, - "panelIndex": "aa881f9d-28d3-4722-822e-3e670021cf52", + "panelIndex": "6dd69df8-690d-4fda-a3ee-691fb5de4645", + "type": "visualization", + "version": "8.4.0" + }, + { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "title": "VM Filters [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "controls": [ - { - "fieldName": "cloud.region", - "id": "1549397251041", - "indexPatternRefName": "control_0_index_pattern", - "label": "Region", - "options": { - "dynamicOptions": true, - "multiselect": true, - "order": "desc", - "size": 5, - "type": "terms" - }, - "parent": "", - "type": "list" - }, - { - "fieldName": "azure.resource.group", - "id": "1549512142947", - "indexPatternRefName": "control_1_index_pattern", - "label": "Resource Group", - "options": { - "dynamicOptions": true, - "multiselect": true, - "order": "desc", - "size": 5, - "type": "terms" - }, - "parent": "", - "type": "list" - }, - { - "fieldName": "azure.resource.name", - "id": "1570774891724", - "indexPatternRefName": "control_2_index_pattern", - "label": "VM Name", - "options": { - "dynamicOptions": true, - "multiselect": true, - "order": "desc", - "size": 5, - "type": "terms" - }, - "parent": "", - "type": "list" - } - ], - "pinFilters": false, - "updateFiltersOnChange": true, - "useTimeFilter": false - }, - "type": "input_control_vis", - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-ac0ccc8f-748c-414f-90e7-b2d160d261d1", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "ac0ccc8f-748c-414f-90e7-b2d160d261d1": { + "columnOrder": [ + "dee4dad2-a884-422e-879f-d22250a2624a", + "b22915e9-c769-4ec3-bf53-4f0070ff0cab", + "7df0f935-5335-4b0f-999b-bcd3664bf942" + ], + "columns": { + "7df0f935-5335-4b0f-999b-bcd3664bf942": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "VM Available Memory", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + }, + "scale": "ratio", + "sourceField": "azure.compute_vm.available_memory_bytes.avg" + }, + "b22915e9-c769-4ec3-bf53-4f0070ff0cab": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "dee4dad2-a884-422e-879f-d22250a2624a": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of azure.resource.name", + "operationType": "terms", + "params": { + "excludeIsRegex": false, + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "azure.resource.name" + } + }, + "incompleteColumns": {} + } + } } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "7df0f935-5335-4b0f-999b-bcd3664bf942" + ], + "layerId": "ac0ccc8f-748c-414f-90e7-b2d160d261d1", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "splitAccessor": "dee4dad2-a884-422e-879f-d22250a2624a", + "xAccessor": "b22915e9-c769-4ec3-bf53-4f0070ff0cab", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(176,188,0,1)", + "forAccessor": "7df0f935-5335-4b0f-999b-bcd3664bf942" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "" } - } - } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, - "title": "VM Filters" - }, - { - "version": "8.3.0", - "type": "visualization", "gridData": { "h": 18, "i": "2473ef72-c56c-4783-a36a-f4b8efd66ab7", @@ -154,70 +233,182 @@ "y": 0 }, "panelIndex": "2473ef72-c56c-4783-a36a-f4b8efd66ab7", + "title": "VM Available Memory", + "type": "lens", + "version": "8.4.0" + }, + { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "title": "VM Available Memory [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": 0, - "axis_position": "left", - "axis_scale": "normal", - "filter": { - "language": "kuery", - "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\" " - }, - "id": "c7e12030-ea94-11e9-bf06-bfc27258c9ad", - "index_pattern": "metrics-*", - "interval": "\u003e=5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(176,188,0,1)", - "fill": 0, - "formatter": "bytes", - "id": "c7e12031-ea94-11e9-bf06-bfc27258c9ad", - "label": "VM Available Memory", - "line_width": 2, - "metrics": [ - { - "field": "azure.compute_vm.available_memory_bytes.avg", - "id": "c7e12032-ea94-11e9-bf06-bfc27258c9ad", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-7c37793f-5510-4105-bfa8-cba2ca4327c3", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "7c37793f-5510-4105-bfa8-cba2ca4327c3": { + "columnOrder": [ + "1ed55f41-0e9e-4bfb-967a-0c9e660c8f23", + "26e9426d-e265-4110-a808-180d7dcc8d31", + "461d9c41-8634-4719-8116-42be96c1234b" + ], + "columns": { + "1ed55f41-0e9e-4bfb-967a-0c9e660c8f23": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of azure.resource.name", + "operationType": "terms", + "params": { + "excludeIsRegex": false, + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "azure.resource.name" + }, + "26e9426d-e265-4110-a808-180d7dcc8d31": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "461d9c41-8634-4719-8116-42be96c1234b": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Azure VM CPU Utilization", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 1, + "suffix": "%" + } + } + }, + "scale": "ratio", + "sourceField": "azure.compute_vm.percentage_cpu.avg" + } + }, + "incompleteColumns": {} } - ], - "point_size": 0, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "azure.resource.name", - "value_template": "{{value}}" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + }, + "filters": [], + "query": { + "language": "kuery", + "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "461d9c41-8634-4719-8116-42be96c1234b" + ], + "layerId": "7c37793f-5510-4105-bfa8-cba2ca4327c3", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "splitAccessor": "1ed55f41-0e9e-4bfb-967a-0c9e660c8f23", + "xAccessor": "26e9426d-e265-4110-a808-180d7dcc8d31", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(252,196,0,1)", + "forAccessor": "461d9c41-8634-4719-8116-42be96c1234b" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, - "title": "VM Available Memory" - }, - { - "version": "8.3.0", - "type": "visualization", "gridData": { "h": 12, "i": "e673f70c-f811-4290-9087-578c7dd13675", @@ -226,74 +417,177 @@ "y": 6 }, "panelIndex": "e673f70c-f811-4290-9087-578c7dd13675", + "title": "VM CPU Utilization", + "type": "lens", + "version": "8.4.0" + }, + { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "title": "VM CPU Utilization [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": 0, - "axis_position": "left", - "axis_scale": "normal", - "filter": { - "language": "kuery", - "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\" " - }, - "id": "4f6c1610-ea8e-11e9-8c73-71740bcf3d8b", - "index_pattern": "metrics-*", - "interval": "\u003e=5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(252,196,0,1)", - "fill": 0, - "filter": { - "language": "kuery", - "query": "" - }, - "formatter": "number", - "id": "4f6c1611-ea8e-11e9-8c73-71740bcf3d8b", - "label": "Azure VM CPU Utilization", - "line_width": 2, - "metrics": [ - { - "field": "azure.compute_vm.percentage_cpu.avg", - "id": "4f6c1612-ea8e-11e9-8c73-71740bcf3d8b", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-7ceb0410-35b9-4a5b-982d-45160c136a49", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "7ceb0410-35b9-4a5b-982d-45160c136a49": { + "columnOrder": [ + "44e7d79c-cce8-4902-aa3b-3f6ad6ffb40c", + "09edcbe8-2531-4a5f-af07-28563db428aa", + "c5cfcafe-5176-4e63-a6dc-586d62286f98" + ], + "columns": { + "09edcbe8-2531-4a5f-af07-28563db428aa": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "44e7d79c-cce8-4902-aa3b-3f6ad6ffb40c": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of azure.resource.name", + "operationType": "terms", + "params": { + "excludeIsRegex": false, + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "azure.resource.name" + }, + "c5cfcafe-5176-4e63-a6dc-586d62286f98": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Azure VM Network In Total", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + }, + "scale": "ratio", + "sourceField": "azure.compute_vm.network_in_total.total" + } + }, + "incompleteColumns": {} } - ], - "point_size": 0, - "separate_axis": 0, - "split_color_mode": "rainbow", - "split_mode": "terms", - "stacked": "none", - "terms_field": "azure.resource.name", - "value_template": "{{value}}%" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + }, + "filters": [], + "query": { + "language": "kuery", + "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "c5cfcafe-5176-4e63-a6dc-586d62286f98" + ], + "layerId": "7ceb0410-35b9-4a5b-982d-45160c136a49", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "splitAccessor": "44e7d79c-cce8-4902-aa3b-3f6ad6ffb40c", + "xAccessor": "09edcbe8-2531-4a5f-af07-28563db428aa", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(104,204,202,1)", + "forAccessor": "c5cfcafe-5176-4e63-a6dc-586d62286f98" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, - "title": "VM CPU Utilization" - }, - { - "version": "8.3.0", - "type": "visualization", "gridData": { "h": 12, "i": "535d70b3-3f3c-4a84-85ba-ab671b6d144f", @@ -302,70 +596,177 @@ "y": 18 }, "panelIndex": "535d70b3-3f3c-4a84-85ba-ab671b6d144f", + "title": "VM Network In Total", + "type": "lens", + "version": "8.4.0" + }, + { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "title": "VM Network In Total [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": 0, - "axis_position": "left", - "axis_scale": "normal", - "filter": { - "language": "kuery", - "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\" " - }, - "id": "39b6adc0-ea99-11e9-8328-799c817fb96b", - "index_pattern": "metrics-*", - "interval": "\u003e=5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(104,204,202,1)", - "fill": 0, - "formatter": "bytes", - "id": "39b6adc1-ea99-11e9-8328-799c817fb96b", - "label": "Azure VM Network In Total", - "line_width": 2, - "metrics": [ - { - "field": "azure.compute_vm.network_in_total.total", - "id": "39b6adc2-ea99-11e9-8328-799c817fb96b", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-a8cb2545-583d-451b-a086-1f8fb6dfc7b2", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "a8cb2545-583d-451b-a086-1f8fb6dfc7b2": { + "columnOrder": [ + "4fe31555-4459-4b29-95ea-a711dec4f81e", + "476914ec-c92e-456b-ad0f-673254257df0", + "d851dd26-8630-4296-8c57-2274c5ba8517" + ], + "columns": { + "476914ec-c92e-456b-ad0f-673254257df0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "4fe31555-4459-4b29-95ea-a711dec4f81e": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of azure.resource.name", + "operationType": "terms", + "params": { + "excludeIsRegex": false, + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "azure.resource.name" + }, + "d851dd26-8630-4296-8c57-2274c5ba8517": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Azure VM Network Out Total", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + }, + "scale": "ratio", + "sourceField": "azure.compute_vm.network_out_total.total" + } + }, + "incompleteColumns": {} } - ], - "point_size": 0, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "azure.resource.name", - "value_template": "{{value}}" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + }, + "filters": [], + "query": { + "language": "kuery", + "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "d851dd26-8630-4296-8c57-2274c5ba8517" + ], + "layerId": "a8cb2545-583d-451b-a086-1f8fb6dfc7b2", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "splitAccessor": "4fe31555-4459-4b29-95ea-a711dec4f81e", + "xAccessor": "476914ec-c92e-456b-ad0f-673254257df0", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(115,216,255,1)", + "forAccessor": "d851dd26-8630-4296-8c57-2274c5ba8517" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, - "title": "VM Network In Total" - }, - { - "version": "8.3.0", - "type": "visualization", "gridData": { "h": 12, "i": "6903a45e-bf11-4db2-9497-fd9692e83448", @@ -374,71 +775,177 @@ "y": 18 }, "panelIndex": "6903a45e-bf11-4db2-9497-fd9692e83448", + "title": "VM Network Out Total", + "type": "lens", + "version": "8.4.0" + }, + { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "title": "VM Network Out Total [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": 0, - "axis_position": "left", - "axis_scale": "normal", - "filter": { - "language": "kuery", - "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\" " - }, - "id": "39b6adc0-ea99-11e9-8328-799c817fb96b", - "index_pattern": "metrics-*", - "interval": "\u003e=5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(115,216,255,1)", - "fill": 0, - "formatter": "bytes", - "id": "39b6adc1-ea99-11e9-8328-799c817fb96b", - "label": "Azure VM Network Out Total", - "line_width": 2, - "metrics": [ - { - "field": "azure.compute_vm.network_out_total.total", - "id": "39b6adc2-ea99-11e9-8328-799c817fb96b", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-7884bf33-f9c1-4249-85f6-e23361d08c14", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "7884bf33-f9c1-4249-85f6-e23361d08c14": { + "columnOrder": [ + "0677be68-a86e-410f-bfba-3a10d8e31076", + "f41039cd-ec6f-4962-99eb-6730dac55c81", + "b148ba9a-a87b-4f66-8322-f031a143f7d2" + ], + "columns": { + "0677be68-a86e-410f-bfba-3a10d8e31076": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of azure.resource.name", + "operationType": "terms", + "params": { + "excludeIsRegex": false, + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "azure.resource.name" + }, + "b148ba9a-a87b-4f66-8322-f031a143f7d2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "VM Disk Writes bytes", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + }, + "scale": "ratio", + "sourceField": "azure.compute_vm.disk_write_bytes.total" + }, + "f41039cd-ec6f-4962-99eb-6730dac55c81": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} } - ], - "point_size": 0, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "azure.resource.name", - "type": "timeseries", - "value_template": "{{value}}" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + }, + "filters": [], + "query": { + "language": "kuery", + "query": "azure.resource.type :\"Microsoft.Compute/virtualMachines\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "b148ba9a-a87b-4f66-8322-f031a143f7d2" + ], + "layerId": "7884bf33-f9c1-4249-85f6-e23361d08c14", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "splitAccessor": "0677be68-a86e-410f-bfba-3a10d8e31076", + "xAccessor": "f41039cd-ec6f-4962-99eb-6730dac55c81", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(176,188,0,1)", + "forAccessor": "b148ba9a-a87b-4f66-8322-f031a143f7d2" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, - "title": "VM Network Out Total" - }, - { - "version": "8.3.0", - "type": "visualization", "gridData": { "h": 12, "i": "aa57fa8f-f6ea-45e3-9b2c-ba948d625813", @@ -447,71 +954,177 @@ "y": 18 }, "panelIndex": "aa57fa8f-f6ea-45e3-9b2c-ba948d625813", + "title": "VM Disk Writes", + "type": "lens", + "version": "8.4.0" + }, + { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "title": "VM Disk Writes [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": 0, - "axis_position": "left", - "axis_scale": "normal", - "filter": { - "language": "kuery", - "query": "azure.resource.type :\"Microsoft.Compute/virtualMachines\" " - }, - "id": "39b6adc0-ea99-11e9-8328-799c817fb96b", - "index_pattern": "metrics-*", - "interval": "\u003e=5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(176,188,0,1)", - "fill": 0, - "formatter": "bytes", - "id": "39b6adc1-ea99-11e9-8328-799c817fb96b", - "label": "VM Disk Writes bytes", - "line_width": 2, - "metrics": [ - { - "field": "azure.compute_vm.disk_write_bytes.total", - "id": "39b6adc2-ea99-11e9-8328-799c817fb96b", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-83a8d3cd-ad25-4d78-a8e6-e35b83ac8245", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "83a8d3cd-ad25-4d78-a8e6-e35b83ac8245": { + "columnOrder": [ + "5c8395a4-f0f7-4409-b542-7eff011d9bb0", + "6042afbc-97ba-4a9a-b6ce-c473cae6721e", + "bb35db70-0fc3-4dea-a37c-6c05ced09132" + ], + "columns": { + "5c8395a4-f0f7-4409-b542-7eff011d9bb0": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of azure.resource.name", + "operationType": "terms", + "params": { + "excludeIsRegex": false, + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "azure.resource.name" + }, + "6042afbc-97ba-4a9a-b6ce-c473cae6721e": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "bb35db70-0fc3-4dea-a37c-6c05ced09132": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "VM Disk Read bytes", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 1 + } + } + }, + "scale": "ratio", + "sourceField": "azure.compute_vm.disk_read_bytes.total" + } + }, + "incompleteColumns": {} } - ], - "point_size": 0, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "azure.resource.name", - "type": "timeseries", - "value_template": "{{value}}" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + }, + "filters": [], + "query": { + "language": "kuery", + "query": "azure.resource.type :\"Microsoft.Compute/virtualMachines\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "bb35db70-0fc3-4dea-a37c-6c05ced09132" + ], + "layerId": "83a8d3cd-ad25-4d78-a8e6-e35b83ac8245", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "splitAccessor": "5c8395a4-f0f7-4409-b542-7eff011d9bb0", + "xAccessor": "6042afbc-97ba-4a9a-b6ce-c473cae6721e", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(252,196,0,1)", + "forAccessor": "bb35db70-0fc3-4dea-a37c-6c05ced09132" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, - "title": "VM Disk Writes" - }, - { - "version": "8.3.0", - "type": "visualization", "gridData": { "h": 12, "i": "14e225ef-6417-4377-b2cb-6b46b6693b78", @@ -520,70 +1133,171 @@ "y": 18 }, "panelIndex": "14e225ef-6417-4377-b2cb-6b46b6693b78", + "title": "VM Disk Reads [Azure Metrics]", + "type": "lens", + "version": "8.4.0" + }, + { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "title": "VM Disk Reads [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": 0, - "axis_position": "left", - "axis_scale": "normal", - "filter": { - "language": "kuery", - "query": "azure.resource.type :\"Microsoft.Compute/virtualMachines\" " - }, - "id": "39b6adc0-ea99-11e9-8328-799c817fb96b", - "index_pattern": "metrics-*", - "interval": "\u003e=5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(252,196,0,1)", - "fill": 0, - "formatter": "bytes", - "id": "39b6adc1-ea99-11e9-8328-799c817fb96b", - "label": "VM Disk Read bytes", - "line_width": 2, - "metrics": [ - { - "field": "azure.compute_vm.disk_read_bytes.total", - "id": "39b6adc2-ea99-11e9-8328-799c817fb96b", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-6f90b4b3-9fa8-451f-bc49-59bc3836450f", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "6f90b4b3-9fa8-451f-bc49-59bc3836450f": { + "columnOrder": [ + "e90705d6-65bf-44ad-a639-82ea78d9305b", + "d3ab6fd4-1f88-408a-af43-deef5dffea76", + "ecf4dc66-da0f-4066-9ac5-87b27bc2fbfa" + ], + "columns": { + "d3ab6fd4-1f88-408a-af43-deef5dffea76": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "e90705d6-65bf-44ad-a639-82ea78d9305b": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of azure.resource.name", + "operationType": "terms", + "params": { + "excludeIsRegex": false, + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "azure.resource.name" + }, + "ecf4dc66-da0f-4066-9ac5-87b27bc2fbfa": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "VM Disk Read Operations/s", + "operationType": "average", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "azure.compute_vm.disk_read_operations_per_sec.avg" + } + }, + "incompleteColumns": {} } - ], - "point_size": 0, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "azure.resource.name", - "type": "timeseries", - "value_template": "{{value}}" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + }, + "filters": [], + "query": { + "language": "kuery", + "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "ecf4dc66-da0f-4066-9ac5-87b27bc2fbfa" + ], + "layerId": "6f90b4b3-9fa8-451f-bc49-59bc3836450f", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "splitAccessor": "e90705d6-65bf-44ad-a639-82ea78d9305b", + "xAccessor": "d3ab6fd4-1f88-408a-af43-deef5dffea76", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(252,196,0,1)", + "forAccessor": "ecf4dc66-da0f-4066-9ac5-87b27bc2fbfa" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } - } - }, - { - "version": "8.3.0", - "type": "visualization", + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { "h": 13, "i": "8879143b-ed83-45ec-8c58-b10dc1597c22", @@ -592,71 +1306,171 @@ "y": 30 }, "panelIndex": "8879143b-ed83-45ec-8c58-b10dc1597c22", + "title": "VM Disk Read Operations/s", + "type": "lens", + "version": "8.4.0" + }, + { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "title": "VM Disk Read Operations/s [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": 0, - "axis_position": "left", - "axis_scale": "normal", - "filter": { - "language": "kuery", - "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\" " - }, - "id": "39b6adc0-ea99-11e9-8328-799c817fb96b", - "index_pattern": "metrics-*", - "interval": "\u003e=5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(252,196,0,1)", - "fill": 0, - "formatter": "number", - "id": "39b6adc1-ea99-11e9-8328-799c817fb96b", - "label": "VM Disk Read Operations/s", - "line_width": 2, - "metrics": [ - { - "field": "azure.compute_vm.disk_read_operations_per_sec.avg", - "id": "39b6adc2-ea99-11e9-8328-799c817fb96b", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-7a182b0f-6f12-475b-bf0b-1c3c59cd7fd7", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "7a182b0f-6f12-475b-bf0b-1c3c59cd7fd7": { + "columnOrder": [ + "de2c3ced-f671-4d66-bf4d-3ac52d766c56", + "90f5f864-5365-45ea-b7ae-319c3a215f71", + "f004326b-6910-4472-b28b-ea6f83be1026" + ], + "columns": { + "90f5f864-5365-45ea-b7ae-319c3a215f71": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "de2c3ced-f671-4d66-bf4d-3ac52d766c56": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of azure.resource.name", + "operationType": "terms", + "params": { + "excludeIsRegex": false, + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "azure.resource.name" + }, + "f004326b-6910-4472-b28b-ea6f83be1026": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "VM Disk Write Operations/s", + "operationType": "average", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "azure.compute_vm.disk_write_operations_per_sec.avg" + } + }, + "incompleteColumns": {} } - ], - "point_size": 0, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "azure.resource.name", - "type": "timeseries", - "value_template": "{{value}}" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + }, + "filters": [], + "query": { + "language": "kuery", + "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "f004326b-6910-4472-b28b-ea6f83be1026" + ], + "layerId": "7a182b0f-6f12-475b-bf0b-1c3c59cd7fd7", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "splitAccessor": "de2c3ced-f671-4d66-bf4d-3ac52d766c56", + "xAccessor": "90f5f864-5365-45ea-b7ae-319c3a215f71", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(252,196,0,1)", + "forAccessor": "f004326b-6910-4472-b28b-ea6f83be1026" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, - "title": "VM Disk Read Operations/s" - }, - { - "version": "8.3.0", - "type": "visualization", "gridData": { "h": 13, "i": "4071f2bf-1794-45ff-b76d-58864226d8b7", @@ -665,92 +1479,76 @@ "y": 30 }, "panelIndex": "4071f2bf-1794-45ff-b76d-58864226d8b7", - "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "title": "VM Disk Write Operations/s [Azure Metrics]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": 0, - "axis_position": "left", - "axis_scale": "normal", - "filter": { - "language": "kuery", - "query": "azure.resource.type : \"Microsoft.Compute/virtualMachines\" " - }, - "id": "39b6adc0-ea99-11e9-8328-799c817fb96b", - "index_pattern": "metrics-*", - "interval": "\u003e=5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(252,196,0,1)", - "fill": 0, - "formatter": "number", - "id": "39b6adc1-ea99-11e9-8328-799c817fb96b", - "label": "VM Disk Write Operations/s", - "line_width": 2, - "metrics": [ - { - "field": "azure.compute_vm.disk_write_operations_per_sec.avg", - "id": "39b6adc2-ea99-11e9-8328-799c817fb96b", - "type": "avg" - } - ], - "point_size": 0, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "azure.resource.name", - "type": "timeseries", - "value_template": "{{value}}" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 - }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } - }, - "title": "VM Disk Write Operations/s" + "title": "VM Disk Write Operations/s", + "type": "lens", + "version": "8.4.0" } ], "timeRestore": false, "title": "[Azure Metrics] Compute VMs Overview", "version": 1 }, + "coreMigrationVersion": "8.4.0", + "id": "azure_metrics-eb3f05f0-ea9a-11e9-90ec-112a988266d5", + "migrationVersion": { + "dashboard": "8.4.0" + }, "references": [ { - "type": "index-pattern", - "name": "aa881f9d-28d3-4722-822e-3e670021cf52:control_0_index_pattern", - "id": "metrics-*" + "id": "metrics-*", + "name": "2473ef72-c56c-4783-a36a-f4b8efd66ab7:indexpattern-datasource-layer-ac0ccc8f-748c-414f-90e7-b2d160d261d1", + "type": "index-pattern" }, { - "type": "index-pattern", - "name": "aa881f9d-28d3-4722-822e-3e670021cf52:control_1_index_pattern", - "id": "metrics-*" + "id": "metrics-*", + "name": "e673f70c-f811-4290-9087-578c7dd13675:indexpattern-datasource-layer-7c37793f-5510-4105-bfa8-cba2ca4327c3", + "type": "index-pattern" }, { - "type": "index-pattern", - "name": "aa881f9d-28d3-4722-822e-3e670021cf52:control_2_index_pattern", - "id": "metrics-*" + "id": "metrics-*", + "name": "535d70b3-3f3c-4a84-85ba-ab671b6d144f:indexpattern-datasource-layer-7ceb0410-35b9-4a5b-982d-45160c136a49", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "6903a45e-bf11-4db2-9497-fd9692e83448:indexpattern-datasource-layer-a8cb2545-583d-451b-a086-1f8fb6dfc7b2", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "aa57fa8f-f6ea-45e3-9b2c-ba948d625813:indexpattern-datasource-layer-7884bf33-f9c1-4249-85f6-e23361d08c14", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "14e225ef-6417-4377-b2cb-6b46b6693b78:indexpattern-datasource-layer-83a8d3cd-ad25-4d78-a8e6-e35b83ac8245", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "8879143b-ed83-45ec-8c58-b10dc1597c22:indexpattern-datasource-layer-6f90b4b3-9fa8-451f-bc49-59bc3836450f", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "4071f2bf-1794-45ff-b76d-58864226d8b7:indexpattern-datasource-layer-7a182b0f-6f12-475b-bf0b-1c3c59cd7fd7", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "controlGroup_f6cf2f69-1455-4255-8cbb-754914b6f548:optionsListDataView", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "controlGroup_8f432dec-9bb0-4084-a307-5894e4a3bb12:optionsListDataView", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "controlGroup_1bd55cba-ce48-43f7-86cb-539ac5da7cae:optionsListDataView", + "type": "index-pattern" } ], - "migrationVersion": { - "dashboard": "8.3.0" - }, - "coreMigrationVersion": "8.3.0" + "type": "dashboard" } \ No newline at end of file diff --git a/packages/azure_metrics/manifest.yml b/packages/azure_metrics/manifest.yml index 3712cfa827f9..47729b7bd3f4 100644 --- a/packages/azure_metrics/manifest.yml +++ b/packages/azure_metrics/manifest.yml @@ -1,6 +1,6 @@ name: azure_metrics title: Azure Resource Metrics -version: 1.0.37 +version: 1.0.38 release: ga description: Collect metrics from Azure resources with Elastic Agent. type: integration