diff --git a/packages/vsphere/changelog.yml b/packages/vsphere/changelog.yml index ac8bd631eb6..981fcbcc6a5 100644 --- a/packages/vsphere/changelog.yml +++ b/packages/vsphere/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.4.0" + changes: + - description: Migrate "Hosts Overview" dashboard visualizations to lens. + type: enhancement + link: https://github.com/elastic/integrations/pull/5810 - version: "1.3.2" changes: - description: Added categories and/or subcategories. diff --git a/packages/vsphere/img/vsphere_dashboard.png b/packages/vsphere/img/vsphere_dashboard.png index 925ea3a813f..c931da4edef 100644 Binary files a/packages/vsphere/img/vsphere_dashboard.png and b/packages/vsphere/img/vsphere_dashboard.png differ diff --git a/packages/vsphere/kibana/dashboard/vsphere-a2d04970-0336-11ed-80a3-e31802c6cc3f.json b/packages/vsphere/kibana/dashboard/vsphere-a2d04970-0336-11ed-80a3-e31802c6cc3f.json index 118f5d17abf..27043d9b96d 100644 --- a/packages/vsphere/kibana/dashboard/vsphere-a2d04970-0336-11ed-80a3-e31802c6cc3f.json +++ b/packages/vsphere/kibana/dashboard/vsphere-a2d04970-0336-11ed-80a3-e31802c6cc3f.json @@ -1,7 +1,6 @@ { "attributes": { "description": "Overview of VSphere host and cluster metrics", - "hits": 0, "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], @@ -13,1178 +12,1656 @@ }, "optionsJSON": { "hidePanelTitles": false, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, "useMargins": true }, "panelsJSON": [ { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Free", - "field": "vsphere.host.cpu.free.mhz" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "2", - "params": { - "drop_partials": false, - "extendToTimeRange": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "scaleMetricValues": false, - "timeRange": { - "from": "now-15m", - "to": "now" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-c6244a5d-3a08-4a3a-8b19-ece0f0eaa4ee", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-c75685de-e613-4f57-9a3c-e7969788d076", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "e9e14b4a-ce0c-4f87-8269-ac415e9edf7a", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "c6244a5d-3a08-4a3a-8b19-ece0f0eaa4ee": { + "columnOrder": [ + "f93067e8-8d18-4cbb-980a-49acd1dc24bc", + "8aeb4106-80e2-44b6-9a07-5011ba1a2e28" + ], + "columns": { + "8aeb4106-80e2-44b6-9a07-5011ba1a2e28": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Free", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.host.cpu.free.mhz" + }, + "f93067e8-8d18-4cbb-980a-49acd1dc24bc": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} }, - "useNormalizedEsInterval": true, - "used_interval": "30s" - }, - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Used", - "field": "vsphere.host.cpu.used.mhz" - }, - "schema": "metric", - "type": "max" - } - ], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" + "c75685de-e613-4f57-9a3c-e7969788d076": { + "columnOrder": [ + "4f9abff3-c001-46ae-bb74-43dbcc3b21dd", + "f5617124-4d4b-4cdf-b7e0-a5fe64123845" + ], + "columns": { + "4f9abff3-c001-46ae-bb74-43dbcc3b21dd": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "f5617124-4d4b-4cdf-b7e0-a5fe64123845": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Used", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.host.cpu.used.mhz" + } + }, + "incompleteColumns": {} + } + } } - } - }, - "description": "", - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ + }, + "filters": [ { - "id": "CategoryAxis-1", - "labels": { - "filter": true, - "show": true, - "truncate": 100 + "$state": { + "store": "appState" }, - "position": "bottom", - "scale": { - "type": "linear" + "meta": { + "alias": null, + "disabled": false, + "index": "e9e14b4a-ce0c-4f87-8269-ac415e9edf7a", + "key": "event.module", + "negate": false, + "params": [ + "vsphere" + ], + "type": "phrases", + "value": [ + "vsphere" + ] }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "detailedTooltip": true, - "dimensions": { - "x": { - "accessor": 0, - "aggType": "date_histogram", - "format": { - "id": "date", - "params": { - "pattern": "HH:mm:ss" + "query": { + "bool": { + "minimum_should_match": 1, + "should": [ + { + "match_phrase": { + "event.module": "vsphere" + } + } + ] } - }, - "params": { - "bounds": { - "max": "2019-10-16T18:04:26.629Z", - "min": "2019-10-16T17:49:26.629Z" - }, - "date": true, - "format": "HH:mm:ss", - "interval": "PT30S" } + } + ], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "curveType": "LINEAR", + "emphasizeFitting": false, + "fillOpacity": 0.3, + "fittingFunction": "Zero", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true }, - "y": [ + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ { - "accessor": 1, - "aggType": "max", - "format": { - "id": "number" - }, - "params": {} + "accessors": [ + "8aeb4106-80e2-44b6-9a07-5011ba1a2e28" + ], + "layerId": "c6244a5d-3a08-4a3a-8b19-ece0f0eaa4ee", + "layerType": "data", + "position": "top", + "seriesType": "area", + "showGridlines": false, + "xAccessor": "f93067e8-8d18-4cbb-980a-49acd1dc24bc", + "yConfig": [ + { + "axisMode": "left", + "color": "#00a69b", + "forAccessor": "8aeb4106-80e2-44b6-9a07-5011ba1a2e28" + } + ] }, { - "accessor": 2, - "aggType": "max", - "format": { - "id": "number" - }, - "params": {} + "accessors": [ + "f5617124-4d4b-4cdf-b7e0-a5fe64123845" + ], + "layerId": "c75685de-e613-4f57-9a3c-e7969788d076", + "layerType": "data", + "seriesType": "area_stacked", + "xAccessor": "4f9abff3-c001-46ae-bb74-43dbcc3b21dd", + "yConfig": [ + { + "axisMode": "left", + "color": "#57c17b", + "forAccessor": "f5617124-4d4b-4cdf-b7e0-a5fe64123845" + } + ] } - ] - }, - "fittingFunction": "zero", - "grid": { - "categoryLines": false - }, - "isVislibVis": true, - "labels": {}, - "legendPosition": "right", - "maxLegendLines": 1, - "palette": { - "name": "kibana_palette", - "type": "palette" - }, - "radiusRatio": 9, - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Free" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" + ], + "legend": { + "isVisible": true, + "legendSize": "small", + "position": "right", + "showSingleSeries": true }, - { - "data": { - "id": "3", - "label": "Used" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": true, - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - } - ], - "thresholdLine": { - "color": "#34130C", - "show": false, - "style": "full", - "value": 10, - "width": 1 - }, - "times": [], - "truncateLegend": true, - "type": "area", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Free" - }, - "type": "value" - } - ] + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": false, + "yTitle": "Free" + } }, - "type": "area", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "85ce8c74-3196-4a2f-906a-3b3716e1abba", + "i": "79151728-9595-42fa-b243-bd23b4e6d1f2", "w": 24, "x": 0, "y": 0 }, - "panelIndex": "85ce8c74-3196-4a2f-906a-3b3716e1abba", + "panelIndex": "79151728-9595-42fa-b243-bd23b4e6d1f2", "title": "Free vs Used CPU on Cluster stacked [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "type": "lens", + "version": "8.7.0" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [ - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Used", - "field": "vsphere.host.memory.used.bytes" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "3", - "params": { - "drop_partials": false, - "extendToTimeRange": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "scaleMetricValues": false, - "timeRange": { - "from": "now-15m", - "to": "now" - }, - "useNormalizedEsInterval": true, - "used_interval": "30s" - }, - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Free", - "field": "vsphere.host.memory.free.bytes" - }, - "schema": "metric", - "type": "max" - } - ], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-5f4dfc6b-7d19-4d5a-afcc-cbef3e2ea135", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "e43f0d5c-a33c-4e5c-8ed8-2c40a7e6d7f8", + "type": "index-pattern" } - }, - "description": "", - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "filter": true, - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "detailedTooltip": true, - "dimensions": { - "x": { - "accessor": 0, - "aggType": "date_histogram", - "format": { - "id": "date", - "params": { - "pattern": "HH:mm:ss" + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "5f4dfc6b-7d19-4d5a-afcc-cbef3e2ea135": { + "columnOrder": [ + "d5fdc2d7-01e8-41cf-ad9e-eb34681359c0", + "6e6a12a4-139f-40de-aad0-27cac111a0d8", + "39838292-9a6b-4aa9-89a6-131acc5b5ddb" + ], + "columns": { + "39838292-9a6b-4aa9-89a6-131acc5b5ddb": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Free", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.host.memory.free.bytes" + }, + "6e6a12a4-139f-40de-aad0-27cac111a0d8": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Used", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.host.memory.used.bytes" + }, + "d5fdc2d7-01e8-41cf-ad9e-eb34681359c0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} } - }, - "params": { - "bounds": { - "max": "2019-10-16T18:10:00.451Z", - "min": "2019-10-16T17:55:00.451Z" - }, - "date": true, - "format": "HH:mm:ss", - "interval": "PT30S" - } - }, - "y": [ - { - "accessor": 1, - "aggType": "max", - "format": { - "id": "bytes" - }, - "params": {} - }, - { - "accessor": 2, - "aggType": "max", - "format": { - "id": "bytes" - }, - "params": {} } - ] - }, - "fittingFunction": "zero", - "grid": { - "categoryLines": false - }, - "isVislibVis": true, - "labels": {}, - "legendPosition": "right", - "maxLegendLines": 1, - "palette": { - "name": "kibana_palette", - "type": "palette" + } }, - "radiusRatio": 9, - "seriesParams": [ + "filters": [ { - "data": { - "id": "2", - "label": "Used" + "$state": { + "store": "appState" }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "stacked", - "show": true, - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "1", - "label": "Free" + "meta": { + "alias": null, + "disabled": false, + "index": "e43f0d5c-a33c-4e5c-8ed8-2c40a7e6d7f8", + "key": "event.module", + "negate": false, + "params": [ + "vsphere" + ], + "type": "phrases", + "value": [ + "vsphere" + ] }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" + "query": { + "bool": { + "minimum_should_match": 1, + "should": [ + { + "match_phrase": { + "event.module": "vsphere" + } + } + ] + } + } } ], - "thresholdLine": { - "color": "#34130C", - "show": false, - "style": "full", - "value": 10, - "width": 1 + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" }, - "times": [], - "truncateLegend": true, - "type": "area", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "" - }, - "type": "value" - } - ] + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "curveType": "CURVE_MONOTONE_X", + "emphasizeFitting": false, + "fittingFunction": "Zero", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "6e6a12a4-139f-40de-aad0-27cac111a0d8", + "39838292-9a6b-4aa9-89a6-131acc5b5ddb" + ], + "layerId": "5f4dfc6b-7d19-4d5a-afcc-cbef3e2ea135", + "layerType": "data", + "position": "top", + "seriesType": "area_stacked", + "showGridlines": false, + "xAccessor": "d5fdc2d7-01e8-41cf-ad9e-eb34681359c0", + "yConfig": [ + { + "axisMode": "left", + "color": "#00a69b", + "forAccessor": "6e6a12a4-139f-40de-aad0-27cac111a0d8" + }, + { + "axisMode": "left", + "color": "#57c17b", + "forAccessor": "39838292-9a6b-4aa9-89a6-131acc5b5ddb" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "small", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": false, + "yTitle": "" + } }, - "type": "area", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "d8edebf1-de4e-40cc-9757-b148b1ed10ae", + "i": "5116b94e-31bb-45c7-9d44-6788c4cd186c", "w": 24, "x": 24, "y": 0 }, - "panelIndex": "d8edebf1-de4e-40cc-9757-b148b1ed10ae", + "panelIndex": "5116b94e-31bb-45c7-9d44-6788c4cd186c", "title": "Cluster Memory free vs used stacked [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "type": "lens", + "version": "8.7.0" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [ - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Used", - "field": "vsphere.datastore.capacity.used.bytes" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "3", - "params": { - "drop_partials": false, - "extendToTimeRange": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "scaleMetricValues": false, - "timeRange": { - "from": "now-15m", - "to": "now" - }, - "useNormalizedEsInterval": true, - "used_interval": "30s" - }, - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Free", - "field": "vsphere.datastore.capacity.free.bytes" - }, - "schema": "metric", - "type": "max" - } - ], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-5f4dfc6b-7d19-4d5a-afcc-cbef3e2ea135", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "64edb2cf-ebb0-4d7f-9df2-7ceeebee5926", + "type": "index-pattern" } - }, - "description": "", - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "filter": true, - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "detailedTooltip": true, - "dimensions": { - "x": { - "accessor": 0, - "aggType": "date_histogram", - "format": { - "id": "date", - "params": { - "pattern": "HH:mm:ss" + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "5f4dfc6b-7d19-4d5a-afcc-cbef3e2ea135": { + "columnOrder": [ + "d5fdc2d7-01e8-41cf-ad9e-eb34681359c0", + "6e6a12a4-139f-40de-aad0-27cac111a0d8", + "39838292-9a6b-4aa9-89a6-131acc5b5ddb" + ], + "columns": { + "39838292-9a6b-4aa9-89a6-131acc5b5ddb": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Free", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.datastore.capacity.free.bytes" + }, + "6e6a12a4-139f-40de-aad0-27cac111a0d8": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Used", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.datastore.capacity.used.bytes" + }, + "d5fdc2d7-01e8-41cf-ad9e-eb34681359c0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} } - }, - "params": { - "bounds": { - "max": "2019-10-16T18:11:40.605Z", - "min": "2019-10-16T17:56:40.605Z" - }, - "date": true, - "format": "HH:mm:ss", - "interval": "PT30S" - } - }, - "y": [ - { - "accessor": 1, - "aggType": "max", - "format": { - "id": "bytes" - }, - "params": {} - }, - { - "accessor": 2, - "aggType": "max", - "format": { - "id": "bytes" - }, - "params": {} } - ] - }, - "fittingFunction": "zero", - "grid": { - "categoryLines": false - }, - "isVislibVis": true, - "labels": {}, - "legendPosition": "right", - "maxLegendLines": 1, - "palette": { - "name": "kibana_palette", - "type": "palette" + } }, - "radiusRatio": 9, - "seriesParams": [ + "filters": [ { - "data": { - "id": "2", - "label": "Used" + "$state": { + "store": "appState" }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": true, - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "1", - "label": "Free" + "meta": { + "alias": null, + "disabled": false, + "index": "64edb2cf-ebb0-4d7f-9df2-7ceeebee5926", + "key": "event.module", + "negate": false, + "params": [ + "vsphere" + ], + "type": "phrases", + "value": [ + "vsphere" + ] }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" + "query": { + "bool": { + "minimum_should_match": 1, + "should": [ + { + "match_phrase": { + "event.module": "vsphere" + } + } + ] + } + } } ], - "thresholdLine": { - "color": "#34130C", - "show": false, - "style": "full", - "value": 10, - "width": 1 + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" }, - "times": [], - "truncateLegend": true, - "type": "area", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Free" - }, - "type": "value" - } - ] + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "curveType": "LINEAR", + "emphasizeFitting": false, + "fittingFunction": "Zero", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "6e6a12a4-139f-40de-aad0-27cac111a0d8", + "39838292-9a6b-4aa9-89a6-131acc5b5ddb" + ], + "layerId": "5f4dfc6b-7d19-4d5a-afcc-cbef3e2ea135", + "layerType": "data", + "position": "top", + "seriesType": "area_stacked", + "showGridlines": false, + "xAccessor": "d5fdc2d7-01e8-41cf-ad9e-eb34681359c0", + "yConfig": [ + { + "axisMode": "left", + "color": "#00a69b", + "forAccessor": "6e6a12a4-139f-40de-aad0-27cac111a0d8" + }, + { + "axisMode": "left", + "color": "#57c17b", + "forAccessor": "39838292-9a6b-4aa9-89a6-131acc5b5ddb" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "small", + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "area_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "yTitle": "Free" + } }, - "type": "area", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "66936b90-9b1a-4657-ad09-1872247bf0a5", + "i": "acf88c63-16d1-4977-81d3-329c5ba5323b", "w": 24, "x": 0, "y": 15 }, - "panelIndex": "66936b90-9b1a-4657-ad09-1872247bf0a5", + "panelIndex": "acf88c63-16d1-4977-81d3-329c5ba5323b", "title": "Free vs Used Datastore [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "type": "lens", + "version": "8.7.0" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [ + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-5d349ee5-8107-420a-99af-1006c84e1612", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "743a7676-8f6a-4589-9947-5caa4145781a", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "5d349ee5-8107-420a-99af-1006c84e1612": { + "columnOrder": [ + "26d5ba04-04ea-4273-aba2-8019271b9eb9", + "adc86886-2618-422d-b624-23093b4ca159" + ], + "columns": { + "26d5ba04-04ea-4273-aba2-8019271b9eb9": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "vsphere.datastore.fstype: Descending", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "adc86886-2618-422d-b624-23093b4ca159", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "vsphere.datastore.fstype" + }, + "adc86886-2618-422d-b624-23093b4ca159": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [ { - "enabled": true, - "id": "1", - "params": { - "emptyAsNull": false + "$state": { + "store": "appState" }, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "params": { - "field": "vsphere.datastore.fstype", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 5 + "meta": { + "alias": null, + "disabled": false, + "index": "743a7676-8f6a-4589-9947-5caa4145781a", + "key": "event.module", + "negate": false, + "params": [ + "vsphere" + ], + "type": "phrases", + "value": [ + "vsphere" + ] }, - "schema": "segment", - "type": "terms" + "query": { + "bool": { + "minimum_should_match": 1, + "should": [ + { + "match_phrase": { + "event.module": "vsphere" + } + } + ] + } + } } ], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "description": "", - "params": { - "addTooltip": true, - "dimensions": { - "metric": { - "accessor": 0, - "aggType": "count", - "format": { - "id": "number" - }, - "params": {} - } - }, - "distinctColors": true, - "emptySizeRatio": 0.3, - "isDonut": true, - "labels": { - "last_level": true, - "show": false, - "truncate": 100, - "values": true - }, - "legendDisplay": "hide", - "legendPosition": "right", - "maxLegendLines": 1, - "nestedLegend": false, - "palette": { - "name": "kibana_palette", - "type": "palette" + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" }, - "truncateLegend": true, - "type": "pie" + "visualization": { + "layers": [ + { + "categoryDisplay": "hide", + "emptySizeRatio": 0.3, + "layerId": "5d349ee5-8107-420a-99af-1006c84e1612", + "layerType": "data", + "legendDisplay": "hide", + "metrics": [ + "adc86886-2618-422d-b624-23093b4ca159" + ], + "nestedLegend": false, + "numberDisplay": "percent", + "primaryGroups": [ + "26d5ba04-04ea-4273-aba2-8019271b9eb9" + ] + } + ], + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "shape": "donut" + } }, - "type": "pie", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsPie" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "afd80984-9d2c-4484-9d6b-6082dab6000e", + "i": "bb0cc3a4-a83c-4c3c-8ba8-f9ec06ab47c3", "w": 24, "x": 24, "y": 15 }, - "panelIndex": "afd80984-9d2c-4484-9d6b-6082dab6000e", + "panelIndex": "bb0cc3a4-a83c-4c3c-8ba8-f9ec06ab47c3", "title": "Datastore Types [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "type": "lens", + "version": "8.7.0" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color": null, - "drop_last_bucket": 1, - "filter": { - "language": "kuery", - "query": "event.module : \"vsphere\" " + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-f63e57b4-f975-47bb-93f8-22a36a171f6b", + "type": "index-pattern" }, - "gauge_color_rules": [ - { - "gauge": "rgba(252,220,0,1)", - "id": "3e4e64a0-f047-11e9-8ffe-6377df51c23d", - "operator": "gt", - "value": 0.35 - }, - { - "gauge": "rgba(251,158,0,1)", - "id": "8e4a5090-f047-11e9-8ffe-6377df51c23d", - "operator": "gte", - "value": 0.7 - }, - { - "gauge": "rgba(159,5,0,1)", - "id": "93d7d2d0-f047-11e9-8ffe-6377df51c23d", - "operator": "gte", - "text": null, - "value": 0.95 + { + "id": "metrics-*", + "name": "c8f7b81a-884f-40df-917f-712a774c79de", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "f63e57b4-f975-47bb-93f8-22a36a171f6b": { + "columnOrder": [ + "0748e102-bc20-4384-a799-3a81b9cefaa4", + "a3187f75-ea2d-4d9e-b478-dc04320fad6b", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX2", + "07d7ad99-4f37-4710-afce-a6470a5b014a" + ], + "columns": { + "0748e102-bc20-4384-a799-3a81b9cefaa4": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of vsphere.host.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of vsphere.host.memory.used.bytes", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.host.memory.used.bytes" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "vsphere.host.name" + }, + "07d7ad99-4f37-4710-afce-a6470a5b014a": { + "dataType": "number", + "isBucketed": false, + "isStaticValue": true, + "label": "Static value: 1", + "operationType": "static_value", + "params": { + "value": "1" + }, + "references": [], + "scale": "ratio" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Bucket Script", + "operationType": "formula", + "params": { + "format": { + "id": "percent", + "params": { + "decimals": 2 + } + }, + "formula": "max(vsphere.host.memory.used.bytes,kql='')/max(vsphere.host.memory.total.bytes,kql='')", + "isFormulaBroken": false + }, + "references": [ + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX2" + ], + "scale": "ratio" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Part of Bucket Script", + "operationType": "max", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "vsphere.host.memory.used.bytes" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Part of Bucket Script", + "operationType": "max", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "vsphere.host.memory.total.bytes" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Bucket Script", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1" + ], + "location": { + "max": 86, + "min": 0 + }, + "name": "divide", + "text": "max(vsphere.host.memory.used.bytes,kql='')/max(vsphere.host.memory.total.bytes,kql='')", + "type": "function" + } + }, + "references": [ + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + } + } } - ], - "gauge_inner_width": 10, - "gauge_max": "1", - "gauge_style": "half", - "gauge_width": 10, - "hide_last_value_indicator": true, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "ignore_global_filter": 0, - "index_pattern": "metrics-*", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ + }, + "filters": [ { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(59,244,64,1)", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "" + "$state": { + "store": "appState" }, - "formatter": "percent", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "vsphere.host.memory.total.bytes", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "max" - }, - { - "field": "vsphere.host.memory.used.bytes", - "id": "51de05c0-f047-11e9-8ffe-6377df51c23d", - "type": "max" + "meta": { + "alias": null, + "disabled": false, + "index": "c8f7b81a-884f-40df-917f-712a774c79de", + "key": "event.module", + "negate": false, + "params": { + "query": "vsphere" }, - { - "id": "5e69b140-f047-11e9-8ffe-6377df51c23d", - "script": "params.used / params.total", - "type": "calculation", - "variables": [ - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "5fadf110-f047-11e9-8ffe-6377df51c23d", - "name": "total" - }, - { - "field": "51de05c0-f047-11e9-8ffe-6377df51c23d", - "id": "61c84590-f047-11e9-8ffe-6377df51c23d", - "name": "used" - } - ] + "type": "phrase" + }, + "query": { + "match_phrase": { + "event.module": "vsphere" } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "vsphere.host.name", - "terms_order_by": "51de05c0-f047-11e9-8ffe-6377df51c23d", - "time_range_mode": "entire_time_range" + } } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "gauge", - "use_kibana_indexes": false + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "breakdownByAccessor": "0748e102-bc20-4384-a799-3a81b9cefaa4", + "layerId": "f63e57b4-f975-47bb-93f8-22a36a171f6b", + "layerType": "data", + "maxAccessor": "07d7ad99-4f37-4710-afce-a6470a5b014a", + "maxCols": 4, + "metricAccessor": "a3187f75-ea2d-4d9e-b478-dc04320fad6b", + "palette": { + "name": "custom", + "params": { + "colorStops": [ + { + "color": "#3bf440", + "stop": null + }, + { + "color": "#FCDC00", + "stop": 0.35 + }, + { + "color": "#fb9e00", + "stop": 0.7 + }, + { + "color": "#9f0500", + "stop": 0.95 + } + ], + "continuity": "all", + "maxSteps": 5, + "name": "custom", + "progression": "fixed", + "rangeMax": null, + "rangeMin": null, + "rangeType": "number", + "reverse": false, + "steps": 3, + "stops": [ + { + "color": "#3bf440", + "stop": 0.35 + }, + { + "color": "#FCDC00", + "stop": 0.7 + }, + { + "color": "#fb9e00", + "stop": 0.95 + }, + { + "color": "#9f0500", + "stop": 1 + } + ] + }, + "type": "palette" + }, + "progressDirection": "horizontal", + "showBar": true + } }, "title": "", - "type": "metrics", - "uiState": {} - } + "type": "lens", + "visualizationType": "lnsMetric" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { - "h": 20, - "i": "40f9d020-46f9-4147-8265-1f36e03d3420", + "h": 18, + "i": "6f276888-f190-46d0-afe8-d71451264e04", "w": 48, "x": 0, "y": 30 }, - "panelIndex": "40f9d020-46f9-4147-8265-1f36e03d3420", + "panelIndex": "6f276888-f190-46d0-afe8-d71451264e04", "title": "Host top RAM util [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "type": "lens", + "version": "8.7.0" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color": null, - "drop_last_bucket": 1, - "filter": { - "language": "kuery", - "query": "event.module : \"vsphere\" " + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-f63e57b4-f975-47bb-93f8-22a36a171f6b", + "type": "index-pattern" }, - "gauge_color_rules": [ - { - "gauge": "rgba(252,220,0,1)", - "id": "3e4e64a0-f047-11e9-8ffe-6377df51c23d", - "operator": "gt", - "value": 0.35 - }, - { - "gauge": "rgba(251,158,0,1)", - "id": "8e4a5090-f047-11e9-8ffe-6377df51c23d", - "operator": "gte", - "value": 0.7 - }, - { - "gauge": "rgba(159,5,0,1)", - "id": "93d7d2d0-f047-11e9-8ffe-6377df51c23d", - "operator": "gte", - "text": null, - "value": 0.95 + { + "id": "metrics-*", + "name": "f5c6fcc1-f04f-49a7-94d9-a2efd0afc5fc", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "f63e57b4-f975-47bb-93f8-22a36a171f6b": { + "columnOrder": [ + "0748e102-bc20-4384-a799-3a81b9cefaa4", + "a3187f75-ea2d-4d9e-b478-dc04320fad6b", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX2", + "07d7ad99-4f37-4710-afce-a6470a5b014a" + ], + "columns": { + "0748e102-bc20-4384-a799-3a81b9cefaa4": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of vsphere.host.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of vsphere.host.cpu.used.mhz", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.host.cpu.used.mhz" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "vsphere.host.name" + }, + "07d7ad99-4f37-4710-afce-a6470a5b014a": { + "dataType": "number", + "isBucketed": false, + "isStaticValue": true, + "label": "Static value: 1", + "operationType": "static_value", + "params": { + "value": "1" + }, + "references": [], + "scale": "ratio" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Bucket Script", + "operationType": "formula", + "params": { + "format": { + "id": "percent", + "params": { + "decimals": 2 + } + }, + "formula": "max(vsphere.host.cpu.used.mhz,kql='')/max(vsphere.host.cpu.total.mhz,kql='')", + "isFormulaBroken": false + }, + "references": [ + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX2" + ], + "scale": "ratio" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Part of Bucket Script", + "operationType": "max", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "vsphere.host.cpu.used.mhz" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Part of Bucket Script", + "operationType": "max", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "vsphere.host.cpu.total.mhz" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Bucket Script", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1" + ], + "location": { + "max": 76, + "min": 0 + }, + "name": "divide", + "text": "max(vsphere.host.cpu.used.mhz,kql='')/max(vsphere.host.cpu.total.mhz,kql='')", + "type": "function" + } + }, + "references": [ + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + } + } } - ], - "gauge_inner_width": 10, - "gauge_max": "1", - "gauge_style": "half", - "gauge_width": 10, - "hide_last_value_indicator": true, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "ignore_global_filter": 0, - "index_pattern": "metrics-*", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ + }, + "filters": [ { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(59,244,64,1)", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "" + "$state": { + "store": "appState" }, - "formatter": "percent", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "vsphere.host.cpu.total.mhz", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "max" - }, - { - "field": "vsphere.host.cpu.used.mhz", - "id": "51de05c0-f047-11e9-8ffe-6377df51c23d", - "type": "max" + "meta": { + "alias": null, + "disabled": false, + "index": "f5c6fcc1-f04f-49a7-94d9-a2efd0afc5fc", + "key": "event.module", + "negate": false, + "params": { + "query": "vsphere" }, - { - "id": "5e69b140-f047-11e9-8ffe-6377df51c23d", - "script": "params.used / params.total", - "type": "calculation", - "variables": [ - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "5fadf110-f047-11e9-8ffe-6377df51c23d", - "name": "total" - }, - { - "field": "51de05c0-f047-11e9-8ffe-6377df51c23d", - "id": "61c84590-f047-11e9-8ffe-6377df51c23d", - "name": "used" - } - ] + "type": "phrase" + }, + "query": { + "match_phrase": { + "event.module": "vsphere" } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "vsphere.host.name", - "terms_order_by": "51de05c0-f047-11e9-8ffe-6377df51c23d", - "time_range_mode": "entire_time_range" + } } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "gauge", - "use_kibana_indexes": false + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "breakdownByAccessor": "0748e102-bc20-4384-a799-3a81b9cefaa4", + "layerId": "f63e57b4-f975-47bb-93f8-22a36a171f6b", + "layerType": "data", + "maxAccessor": "07d7ad99-4f37-4710-afce-a6470a5b014a", + "maxCols": 4, + "metricAccessor": "a3187f75-ea2d-4d9e-b478-dc04320fad6b", + "palette": { + "name": "custom", + "params": { + "colorStops": [ + { + "color": "#3bf440", + "stop": null + }, + { + "color": "#FCDC00", + "stop": 0.35 + }, + { + "color": "#fb9e00", + "stop": 0.7 + }, + { + "color": "#9f0500", + "stop": 0.95 + } + ], + "continuity": "all", + "maxSteps": 5, + "name": "custom", + "progression": "fixed", + "rangeMax": null, + "rangeMin": null, + "rangeType": "number", + "reverse": false, + "steps": 3, + "stops": [ + { + "color": "#3bf440", + "stop": 0.35 + }, + { + "color": "#FCDC00", + "stop": 0.7 + }, + { + "color": "#fb9e00", + "stop": 0.95 + }, + { + "color": "#9f0500", + "stop": 1 + } + ] + }, + "type": "palette" + }, + "progressDirection": "horizontal", + "showBar": true + } }, "title": "", - "type": "metrics", - "uiState": {} - } + "type": "lens", + "visualizationType": "lnsMetric" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 18, - "i": "57bf6fb3-0b2e-457d-bfc2-a41c985b7612", + "i": "eab189e0-4663-4b79-a835-b12720a9034a", "w": 48, "x": 0, - "y": 50 + "y": 48 }, - "panelIndex": "57bf6fb3-0b2e-457d-bfc2-a41c985b7612", + "panelIndex": "eab189e0-4663-4b79-a835-b12720a9034a", "title": "Host top CPU util [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "type": "lens", + "version": "8.7.0" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color": null, - "drop_last_bucket": 1, - "filter": { - "language": "kuery", - "query": "event.module : \"vsphere\" " + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-f63e57b4-f975-47bb-93f8-22a36a171f6b", + "type": "index-pattern" }, - "gauge_color_rules": [ - { - "gauge": "rgba(252,220,0,1)", - "id": "3e4e64a0-f047-11e9-8ffe-6377df51c23d", - "operator": "gt", - "value": 0.35 - }, - { - "gauge": "rgba(251,158,0,1)", - "id": "8e4a5090-f047-11e9-8ffe-6377df51c23d", - "operator": "gte", - "value": 0.7 - }, - { - "gauge": "rgba(159,5,0,1)", - "id": "93d7d2d0-f047-11e9-8ffe-6377df51c23d", - "operator": "gte", - "text": null, - "value": 0.95 + { + "id": "metrics-*", + "name": "269b2f47-2c8b-4628-9da3-b6b9d8dbd9d7", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "f63e57b4-f975-47bb-93f8-22a36a171f6b": { + "columnOrder": [ + "0748e102-bc20-4384-a799-3a81b9cefaa4", + "a3187f75-ea2d-4d9e-b478-dc04320fad6b", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX2", + "07d7ad99-4f37-4710-afce-a6470a5b014a" + ], + "columns": { + "0748e102-bc20-4384-a799-3a81b9cefaa4": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of vsphere.datastore.name", + "operationType": "terms", + "params": { + "accuracyMode": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of vsphere.datastore.capacity.used.pct", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.datastore.capacity.used.pct" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "vsphere.datastore.name" + }, + "07d7ad99-4f37-4710-afce-a6470a5b014a": { + "dataType": "number", + "isBucketed": false, + "isStaticValue": true, + "label": "Static value: 1", + "operationType": "static_value", + "params": { + "value": "1" + }, + "references": [], + "scale": "ratio" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Bucket Script", + "operationType": "formula", + "params": { + "format": { + "id": "percent", + "params": { + "decimals": 2 + } + }, + "formula": "max(vsphere.datastore.capacity.used.bytes,kql='')/max(vsphere.datastore.capacity.total.bytes,kql='')", + "isFormulaBroken": false + }, + "references": [ + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX2" + ], + "scale": "ratio" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Part of Bucket Script", + "operationType": "max", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "vsphere.datastore.capacity.used.bytes" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Part of Bucket Script", + "operationType": "max", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "vsphere.datastore.capacity.total.bytes" + }, + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX2": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Bucket Script", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1" + ], + "location": { + "max": 100, + "min": 0 + }, + "name": "divide", + "text": "max(vsphere.datastore.capacity.used.bytes,kql='')/max(vsphere.datastore.capacity.total.bytes,kql='')", + "type": "function" + } + }, + "references": [ + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX0", + "a3187f75-ea2d-4d9e-b478-dc04320fad6bX1" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + } + } } - ], - "gauge_inner_width": 10, - "gauge_max": "1", - "gauge_style": "half", - "gauge_width": 10, - "hide_last_value_indicator": true, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "ignore_global_filter": 0, - "index_pattern": "metrics-*", - "interval": "", - "isModelInvalid": false, - "max_lines_legend": 1, - "series": [ + }, + "filters": [ { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(59,244,64,1)", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "" + "$state": { + "store": "appState" }, - "formatter": "percent", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": 1, - "metrics": [ - { - "field": "vsphere.datastore.capacity.total.bytes", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "max" - }, - { - "field": "vsphere.datastore.capacity.used.bytes", - "id": "51de05c0-f047-11e9-8ffe-6377df51c23d", - "type": "max" - }, - { - "field": "vsphere.datastore.capacity.used.pct", - "id": "5aec7160-f047-11e9-8ffe-6377df51c23d", - "type": "max" + "meta": { + "alias": null, + "disabled": false, + "index": "269b2f47-2c8b-4628-9da3-b6b9d8dbd9d7", + "key": "event.module", + "negate": false, + "params": { + "query": "vsphere" }, - { - "id": "5e69b140-f047-11e9-8ffe-6377df51c23d", - "script": "params.used / params.total", - "type": "calculation", - "variables": [ - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "5fadf110-f047-11e9-8ffe-6377df51c23d", - "name": "total" - }, - { - "field": "51de05c0-f047-11e9-8ffe-6377df51c23d", - "id": "61c84590-f047-11e9-8ffe-6377df51c23d", - "name": "used" - } - ] + "type": "phrase" + }, + "query": { + "match_phrase": { + "event.module": "vsphere" } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "vsphere.datastore.name", - "terms_order_by": "5aec7160-f047-11e9-8ffe-6377df51c23d", - "time_range_mode": "entire_time_range" + } } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "truncate_legend": 1, - "type": "gauge", - "use_kibana_indexes": false + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "breakdownByAccessor": "0748e102-bc20-4384-a799-3a81b9cefaa4", + "collapseFn": "", + "layerId": "f63e57b4-f975-47bb-93f8-22a36a171f6b", + "layerType": "data", + "maxAccessor": "07d7ad99-4f37-4710-afce-a6470a5b014a", + "maxCols": 4, + "metricAccessor": "a3187f75-ea2d-4d9e-b478-dc04320fad6b", + "palette": { + "name": "custom", + "params": { + "colorStops": [ + { + "color": "#3bf440", + "stop": null + }, + { + "color": "#FCDC00", + "stop": 35 + }, + { + "color": "#fb9e00", + "stop": 70 + }, + { + "color": "#9f0500", + "stop": 95 + } + ], + "continuity": "all", + "maxSteps": 5, + "name": "custom", + "progression": "fixed", + "rangeMax": null, + "rangeMin": null, + "rangeType": "percent", + "reverse": false, + "steps": 3, + "stops": [ + { + "color": "#3bf440", + "stop": 35 + }, + { + "color": "#FCDC00", + "stop": 70 + }, + { + "color": "#fb9e00", + "stop": 95 + }, + { + "color": "#9f0500", + "stop": 100 + } + ] + }, + "type": "palette" + }, + "progressDirection": "horizontal", + "showBar": true + } }, "title": "", - "type": "metrics", - "uiState": {} - } + "type": "lens", + "visualizationType": "lnsMetric" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 18, - "i": "cfd75e71-e2b1-43bd-a490-2f75bfda90cf", + "i": "8ac5e519-ad42-4c16-aa02-ef4d53bc58ab", "w": 48, "x": 0, - "y": 68 + "y": 66 }, - "panelIndex": "cfd75e71-e2b1-43bd-a490-2f75bfda90cf", + "panelIndex": "8ac5e519-ad42-4c16-aa02-ef4d53bc58ab", "title": "Top Datastore Used [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "type": "lens", + "version": "8.7.0" } ], "timeRestore": false, "title": "[Metrics VSphere] Hosts Overview", "version": 1 }, - "coreMigrationVersion": "7.15.0", + "coreMigrationVersion": "8.7.0", + "created_at": "2023-04-05T10:14:27.339Z", "id": "vsphere-a2d04970-0336-11ed-80a3-e31802c6cc3f", "migrationVersion": { - "dashboard": "7.15.0" + "dashboard": "8.7.0" }, "references": [ { - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "name": "85ce8c74-3196-4a2f-906a-3b3716e1abba:search_0", - "type": "search" + "id": "metrics-*", + "name": "79151728-9595-42fa-b243-bd23b4e6d1f2:indexpattern-datasource-layer-c6244a5d-3a08-4a3a-8b19-ece0f0eaa4ee", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "79151728-9595-42fa-b243-bd23b4e6d1f2:indexpattern-datasource-layer-c75685de-e613-4f57-9a3c-e7969788d076", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "79151728-9595-42fa-b243-bd23b4e6d1f2:e9e14b4a-ce0c-4f87-8269-ac415e9edf7a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "5116b94e-31bb-45c7-9d44-6788c4cd186c:indexpattern-datasource-layer-5f4dfc6b-7d19-4d5a-afcc-cbef3e2ea135", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "5116b94e-31bb-45c7-9d44-6788c4cd186c:e43f0d5c-a33c-4e5c-8ed8-2c40a7e6d7f8", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "acf88c63-16d1-4977-81d3-329c5ba5323b:indexpattern-datasource-layer-5f4dfc6b-7d19-4d5a-afcc-cbef3e2ea135", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "acf88c63-16d1-4977-81d3-329c5ba5323b:64edb2cf-ebb0-4d7f-9df2-7ceeebee5926", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "bb0cc3a4-a83c-4c3c-8ba8-f9ec06ab47c3:indexpattern-datasource-layer-5d349ee5-8107-420a-99af-1006c84e1612", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "bb0cc3a4-a83c-4c3c-8ba8-f9ec06ab47c3:743a7676-8f6a-4589-9947-5caa4145781a", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "6f276888-f190-46d0-afe8-d71451264e04:indexpattern-datasource-layer-f63e57b4-f975-47bb-93f8-22a36a171f6b", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "6f276888-f190-46d0-afe8-d71451264e04:c8f7b81a-884f-40df-917f-712a774c79de", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "eab189e0-4663-4b79-a835-b12720a9034a:indexpattern-datasource-layer-f63e57b4-f975-47bb-93f8-22a36a171f6b", + "type": "index-pattern" }, { - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "name": "d8edebf1-de4e-40cc-9757-b148b1ed10ae:search_0", - "type": "search" + "id": "metrics-*", + "name": "eab189e0-4663-4b79-a835-b12720a9034a:f5c6fcc1-f04f-49a7-94d9-a2efd0afc5fc", + "type": "index-pattern" }, { - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "name": "66936b90-9b1a-4657-ad09-1872247bf0a5:search_0", - "type": "search" + "id": "metrics-*", + "name": "8ac5e519-ad42-4c16-aa02-ef4d53bc58ab:indexpattern-datasource-layer-f63e57b4-f975-47bb-93f8-22a36a171f6b", + "type": "index-pattern" }, { - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "name": "afd80984-9d2c-4484-9d6b-6082dab6000e:search_0", - "type": "search" + "id": "metrics-*", + "name": "8ac5e519-ad42-4c16-aa02-ef4d53bc58ab:269b2f47-2c8b-4628-9da3-b6b9d8dbd9d7", + "type": "index-pattern" } ], "type": "dashboard" diff --git a/packages/vsphere/kibana/search/vsphere-1411b690-f017-11e9-aaf3-15199b632da7.json b/packages/vsphere/kibana/search/vsphere-1411b690-f017-11e9-aaf3-15199b632da7.json deleted file mode 100644 index 515974ba15b..00000000000 --- a/packages/vsphere/kibana/search/vsphere-1411b690-f017-11e9-aaf3-15199b632da7.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "attributes": { - "columns": [], - "description": "", - "hits": 0, - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [ - { - "$state": { - "store": "appState" - }, - "meta": { - "alias": null, - "disabled": false, - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", - "key": "event.module", - "negate": false, - "params": [ - "vsphere" - ], - "type": "phrases" - }, - "query": { - "bool": { - "minimum_should_match": 1, - "should": [ - { - "match_phrase": { - "event.module": "vsphere" - } - } - ] - } - } - } - ], - "highlightAll": true, - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "" - }, - "version": true - } - }, - "sort": [], - "title": "Discover [Vsphere Metrics]", - "version": 1 - }, - "coreMigrationVersion": "7.15.0", - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "migrationVersion": { - "search": "7.9.3" - }, - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - }, - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", - "type": "index-pattern" - } - ], - "type": "search" -} \ No newline at end of file diff --git a/packages/vsphere/manifest.yml b/packages/vsphere/manifest.yml index ec4c37f5912..d5ebf0e42e5 100644 --- a/packages/vsphere/manifest.yml +++ b/packages/vsphere/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: vsphere title: VMware vSphere -version: 1.3.2 +version: 1.4.0 license: basic description: This Elastic integration collects metrics and logs from vSphere/vCenter servers type: integration @@ -10,7 +10,7 @@ categories: - virtualization release: ga conditions: - kibana.version: "^7.15.0 || ^8.0.0" + kibana.version: "^8.7.0" screenshots: - src: /img/vsphere_dashboard.png title: vSphere Dashboard