diff --git a/packages/vsphere/changelog.yml b/packages/vsphere/changelog.yml index 981fcbcc6a5..b5fde91bd3f 100644 --- a/packages/vsphere/changelog.yml +++ b/packages/vsphere/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.5.0" + changes: + - description: Migrate "VMs Overview" dashboard visualizations to lens. + type: enhancement + link: https://github.com/elastic/integrations/pull/5811 - version: "1.4.0" changes: - description: Migrate "Hosts Overview" dashboard visualizations to lens. diff --git a/packages/vsphere/img/vsphere_vm_dashboard.png b/packages/vsphere/img/vsphere_vm_dashboard.png index 3871788acab..a366b099853 100644 Binary files a/packages/vsphere/img/vsphere_vm_dashboard.png and b/packages/vsphere/img/vsphere_vm_dashboard.png differ diff --git a/packages/vsphere/kibana/dashboard/vsphere-6ef55590-0337-11ed-80a3-e31802c6cc3f.json b/packages/vsphere/kibana/dashboard/vsphere-6ef55590-0337-11ed-80a3-e31802c6cc3f.json index e4d531981e7..00a50bc9a34 100644 --- a/packages/vsphere/kibana/dashboard/vsphere-6ef55590-0337-11ed-80a3-e31802c6cc3f.json +++ b/packages/vsphere/kibana/dashboard/vsphere-6ef55590-0337-11ed-80a3-e31802c6cc3f.json @@ -18,726 +18,986 @@ "panelsJSON": [ { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [ + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-305a27a6-8ded-4a35-90ec-bdbea153be95", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "9602e830-5783-4a74-98d4-b37e4ede99b6", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "305a27a6-8ded-4a35-90ec-bdbea153be95": { + "columnOrder": [ + "e471d702-8a00-4a20-bea0-ab80943411e0", + "c57bb496-6239-45c8-8f63-069b6e2ccb88", + "a6a64fb5-ecca-4969-8eff-9a8201cd2d76", + "b4e4cbce-722d-4304-bfbd-2b2d86ac545e", + "0a54f750-0c5f-45b0-8e48-a4a79283c35f" + ], + "columns": { + "0a54f750-0c5f-45b0-8e48-a4a79283c35f": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "a6a64fb5-ecca-4969-8eff-9a8201cd2d76": { + "customLabel": true, + "dataType": "number", + "isBucketed": true, + "label": "Total RAM", + "operationType": "terms", + "params": { + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + }, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of vsphere.virtualmachine.memory.total.guest.bytes", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.virtualmachine.memory.total.guest.bytes" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 15 + }, + "scale": "ordinal", + "sourceField": "vsphere.virtualmachine.memory.total.guest.bytes" + }, + "b4e4cbce-722d-4304-bfbd-2b2d86ac545e": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Networks", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "0a54f750-0c5f-45b0-8e48-a4a79283c35f", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "vsphere.virtualmachine.network_names" + }, + "c57bb496-6239-45c8-8f63-069b6e2ccb88": { + "customLabel": true, + "dataType": "number", + "isBucketed": true, + "label": "Used CPU", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of vsphere.virtualmachine.cpu.used.mhz", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "vsphere.virtualmachine.cpu.used.mhz" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "vsphere.virtualmachine.cpu.used.mhz" + }, + "e471d702-8a00-4a20-bea0-ab80943411e0": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "0a54f750-0c5f-45b0-8e48-a4a79283c35f", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 50 + }, + "scale": "ordinal", + "sourceField": "vsphere.virtualmachine.name" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [ { - "enabled": true, - "id": "1", - "params": { - "emptyAsNull": false + "$state": { + "store": "appState" }, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Operating Systems", - "field": "vsphere.virtualmachine.os", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 20 + "meta": { + "alias": null, + "disabled": false, + "index": "9602e830-5783-4a74-98d4-b37e4ede99b6", + "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": { - "buckets": [ + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "columns": [ { - "accessor": 0, - "aggType": "terms", - "format": { - "id": "terms", - "params": { - "id": "string", - "missingBucketLabel": "Missing", - "otherBucketLabel": "Other" - } - }, - "params": {} + "columnId": "e471d702-8a00-4a20-bea0-ab80943411e0", + "isTransposed": false + }, + { + "alignment": "left", + "columnId": "0a54f750-0c5f-45b0-8e48-a4a79283c35f", + "isTransposed": false + }, + { + "alignment": "left", + "columnId": "c57bb496-6239-45c8-8f63-069b6e2ccb88", + "isTransposed": false + }, + { + "alignment": "left", + "columnId": "a6a64fb5-ecca-4969-8eff-9a8201cd2d76", + "isTransposed": false + }, + { + "columnId": "b4e4cbce-722d-4304-bfbd-2b2d86ac545e", + "isTransposed": false } ], - "metric": { - "accessor": 1, - "aggType": "count", - "format": { - "id": "number" - }, - "params": {} + "layerId": "305a27a6-8ded-4a35-90ec-bdbea153be95", + "layerType": "data", + "paging": { + "enabled": true, + "size": 10 } - }, - "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" - }, - "truncateLegend": true, - "type": "pie" + } }, - "type": "pie", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsDatatable" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" }, "gridData": { "h": 18, - "i": "c1dede14-b204-4c28-ace0-ca8df36ae8a8", + "i": "e41bc62d-3548-41e5-b1ce-be2ed9f9a23e", "w": 24, - "x": 24, + "x": 0, "y": 0 }, - "panelIndex": "c1dede14-b204-4c28-ace0-ca8df36ae8a8", - "title": "OS Distribution [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "panelIndex": "e41bc62d-3548-41e5-b1ce-be2ed9f9a23e", + "title": "CPU/RAM/Network per VM [Metrics VSphere]", + "type": "lens", + "version": "8.7.0" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "emptyAsNull": false - }, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Name", - "field": "vsphere.virtualmachine.name", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 50 - }, - "schema": "bucket", - "type": "terms" - }, - { - "enabled": true, - "id": "5", - "params": { - "customLabel": "Used CPU", - "field": "vsphere.virtualmachine.cpu.used.mhz", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderAgg": { - "enabled": true, - "id": "5-orderAgg", - "params": { - "field": "vsphere.virtualmachine.cpu.used.mhz" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-f9113556-7eee-43d0-a1b9-9c6162f953ca", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "32dde00e-6d4f-4954-b071-0723b03cf202", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "f9113556-7eee-43d0-a1b9-9c6162f953ca": { + "columnOrder": [ + "ec3ba81b-b45e-4ee9-84aa-d9614c506728", + "f66d3132-f309-45bd-8469-b05b90ee01ae" + ], + "columns": { + "ec3ba81b-b45e-4ee9-84aa-d9614c506728": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Operating Systems", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "f66d3132-f309-45bd-8469-b05b90ee01ae", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 20 + }, + "scale": "ordinal", + "sourceField": "vsphere.virtualmachine.os" + }, + "f66d3132-f309-45bd-8469-b05b90ee01ae": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + } }, - "schema": "orderAgg", - "type": "max" - }, - "orderBy": "custom", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 5 - }, - "schema": "bucket", - "type": "terms" - }, + "incompleteColumns": {} + } + } + } + }, + "filters": [ { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Total RAM", - "field": "vsphere.virtualmachine.memory.total.guest.bytes", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderAgg": { - "enabled": true, - "id": "3-orderAgg", - "params": { - "field": "vsphere.virtualmachine.memory.total.guest.bytes" - }, - "schema": "orderAgg", - "type": "max" - }, - "orderBy": "custom", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 15 + "$state": { + "store": "appState" }, - "schema": "bucket", - "type": "terms" - }, - { - "enabled": true, - "id": "4", - "params": { - "customLabel": "Networks", - "field": "vsphere.virtualmachine.network_names", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 5 + "meta": { + "alias": null, + "disabled": false, + "index": "32dde00e-6d4f-4954-b071-0723b03cf202", + "key": "event.module", + "negate": false, + "params": [ + "vsphere" + ], + "type": "phrases", + "value": [ + "vsphere" + ] }, - "schema": "bucket", - "type": "terms" + "query": { + "bool": { + "minimum_should_match": 1, + "should": [ + { + "match_phrase": { + "event.module": "vsphere" + } + } + ] + } + } } ], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "description": "", - "params": { - "autoFitRowToContent": false, - "dimensions": { - "buckets": [ - { - "accessor": 0, - "aggType": "terms", - "format": { - "id": "terms", - "params": { - "id": "string", - "missingBucketLabel": "Missing", - "otherBucketLabel": "Other" - } - }, - "params": {} - }, - { - "accessor": 1, - "aggType": "terms", - "format": { - "id": "terms", - "params": { - "id": "number", - "missingBucketLabel": "Missing", - "otherBucketLabel": "Other" - } - }, - "params": {} - }, - { - "accessor": 2, - "aggType": "terms", - "format": { - "id": "terms", - "params": { - "id": "bytes", - "missingBucketLabel": "Missing", - "otherBucketLabel": "Other" - } - }, - "params": {} - }, + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "layers": [ { - "accessor": 3, - "aggType": "terms", - "format": { - "id": "terms", - "params": { - "id": "string", - "missingBucketLabel": "Missing", - "otherBucketLabel": "Other" - } - }, - "params": {} + "categoryDisplay": "hide", + "emptySizeRatio": 0.3, + "layerId": "f9113556-7eee-43d0-a1b9-9c6162f953ca", + "layerType": "data", + "legendDisplay": "hide", + "metrics": [ + "f66d3132-f309-45bd-8469-b05b90ee01ae" + ], + "nestedLegend": false, + "numberDisplay": "percent", + "primaryGroups": [ + "ec3ba81b-b45e-4ee9-84aa-d9614c506728" + ] } ], - "metrics": [ - { - "accessor": 4, - "aggType": "count", - "format": { - "id": "number" - }, - "params": {} - } - ] - }, - "perPage": 10, - "percentageCol": "", - "showMetricsAtAllLevels": false, - "showPartialRows": false, - "showToolbar": true, - "showTotal": false, - "sort": { - "columnIndex": null, - "direction": null - }, - "totalFunc": "sum" + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "shape": "donut" + } }, "title": "", - "type": "table", - "uiState": { - "vis": { - "params": { - "sort": { - "columnIndex": null, - "direction": null - } - } - } - } - } + "type": "lens", + "visualizationType": "lnsPie" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" }, "gridData": { "h": 18, - "i": "37e049c9-4e15-4622-bb26-77a2fff67bc7", + "i": "52c37c4c-f2e4-4041-995b-c607cd6cd6b5", "w": 24, - "x": 0, + "x": 24, "y": 0 }, - "panelIndex": "37e049c9-4e15-4622-bb26-77a2fff67bc7", - "title": "CPU/RAM/Network per VM [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "panelIndex": "52c37c4c-f2e4-4041-995b-c607cd6cd6b5", + "title": "OS Distribution [Metrics VSphere]", + "type": "lens", + "version": "8.7.0" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [ + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-89b3d010-342a-42fc-b780-ab57aef074dc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "8d541c67-8415-472a-a1bd-ca28b1181ea9", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "89b3d010-342a-42fc-b780-ab57aef074dc": { + "columnOrder": [ + "606367e6-8e57-4716-badc-098d55371f31", + "dd3e782d-0083-47d0-986c-1410c32b9b99" + ], + "columns": { + "606367e6-8e57-4716-badc-098d55371f31": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Networks", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "dd3e782d-0083-47d0-986c-1410c32b9b99", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 15 + }, + "scale": "ordinal", + "sourceField": "vsphere.virtualmachine.network_names" + }, + "dd3e782d-0083-47d0-986c-1410c32b9b99": { + "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": { - "customLabel": "Networks", - "field": "vsphere.virtualmachine.network_names", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 15 + "meta": { + "alias": null, + "disabled": false, + "index": "8d541c67-8415-472a-a1bd-ca28b1181ea9", + "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": { - "buckets": [ + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "layers": [ { - "accessor": 0, - "aggType": "terms", - "format": { - "id": "terms", - "params": { - "id": "string", - "missingBucketLabel": "Missing", - "otherBucketLabel": "Other" - } - }, - "params": {} + "categoryDisplay": "hide", + "emptySizeRatio": 0.3, + "layerId": "89b3d010-342a-42fc-b780-ab57aef074dc", + "layerType": "data", + "legendDisplay": "hide", + "metrics": [ + "dd3e782d-0083-47d0-986c-1410c32b9b99" + ], + "nestedLegend": false, + "numberDisplay": "percent", + "primaryGroups": [ + "606367e6-8e57-4716-badc-098d55371f31" + ] } ], - "metric": { - "accessor": 1, - "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" - }, - "truncateLegend": true, - "type": "pie" + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "shape": "donut" + } }, "title": "", - "type": "pie", - "uiState": {} - } + "type": "lens", + "visualizationType": "lnsPie" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" }, "gridData": { "h": 19, - "i": "c6c075d2-4603-4b98-af7a-2859eeccd0c5", + "i": "471fb85f-0ccf-4f57-9e2a-0d779bee0c74", "w": 24, "x": 0, "y": 18 }, - "panelIndex": "c6c075d2-4603-4b98-af7a-2859eeccd0c5", + "panelIndex": "471fb85f-0ccf-4f57-9e2a-0d779bee0c74", "title": "Networks from virtualmachine [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-31b0ed59-b1e1-45d5-b129-c0ee83a3ca24", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "302b0a28-826e-41e8-bbc4-8a1bc84b1061", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "31b0ed59-b1e1-45d5-b129-c0ee83a3ca24": { + "columnOrder": [ + "a62f2101-f499-43c5-bcd8-65c82a847820", + "dfd82215-d07e-4f56-b7c9-e4b79ac504d8" + ], + "columns": { + "a62f2101-f499-43c5-bcd8-65c82a847820": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "VM ESXi Host", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "dfd82215-d07e-4f56-b7c9-e4b79ac504d8", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 20 + }, + "scale": "ordinal", + "sourceField": "vsphere.virtualmachine.host.hostname" + }, + "dfd82215-d07e-4f56-b7c9-e4b79ac504d8": { + "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": { - "customLabel": "VM ESXi Host", - "field": "vsphere.virtualmachine.host.hostname", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 20 + "meta": { + "alias": null, + "disabled": false, + "index": "302b0a28-826e-41e8-bbc4-8a1bc84b1061", + "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": { - "buckets": [ + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "layers": [ { - "accessor": 0, - "aggType": "terms", - "format": { - "id": "terms", - "params": { - "id": "string", - "missingBucketLabel": "Missing", - "otherBucketLabel": "Other" - } - }, - "params": {} + "categoryDisplay": "hide", + "emptySizeRatio": 0.3, + "layerId": "31b0ed59-b1e1-45d5-b129-c0ee83a3ca24", + "layerType": "data", + "legendDisplay": "hide", + "metrics": [ + "dfd82215-d07e-4f56-b7c9-e4b79ac504d8" + ], + "nestedLegend": false, + "numberDisplay": "percent", + "primaryGroups": [ + "a62f2101-f499-43c5-bcd8-65c82a847820" + ] } ], - "metric": { - "accessor": 1, - "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" - }, - "truncateLegend": true, - "type": "pie" + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "shape": "donut" + } }, - "type": "pie", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsPie" + }, + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" }, "gridData": { "h": 19, - "i": "f5ad4fda-ae28-4272-86c3-49baab419c4b", + "i": "0818d44b-3bae-44a9-af56-4cf28e6ed595", "w": 24, "x": 24, "y": 18 }, - "panelIndex": "f5ad4fda-ae28-4272-86c3-49baab419c4b", + "panelIndex": "0818d44b-3bae-44a9-af56-4cf28e6ed595", "title": "VMs per ESXI host [Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "type": "lens", + "version": "8.7.0" }, { "embeddableConfig": { - "enhancements": {}, - "hidePanelTitles": false, - "savedVis": { - "data": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "emptyAsNull": false - }, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "VM Name", - "field": "vsphere.virtualmachine.name", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 50 - }, - "schema": "group", - "type": "terms" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "ESXi Host", - "field": "vsphere.virtualmachine.host.hostname", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 50 - }, - "schema": "segment", - "type": "terms" - } - ], - "searchSource": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-945e68fb-9759-4b91-b86f-0bc284d64655", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "87cce5d9-dd78-4624-8506-66af035b9221", + "type": "index-pattern" } - }, - "description": "", - "params": { - "addLegend": true, - "addTooltip": true, - "colorSchema": "Greens", - "colorsNumber": 4, - "colorsRange": [], - "dimensions": { - "series": [ - { - "accessor": 0, - "aggType": "terms", - "format": { - "id": "terms", - "params": { - "id": "string", - "missingBucketLabel": "Missing", - "otherBucketLabel": "Other" - } - }, - "params": {} - } - ], - "x": { - "accessor": 1, - "aggType": "terms", - "format": { - "id": "terms", - "params": { - "id": "string", - "missingBucketLabel": "Missing", - "otherBucketLabel": "Other" + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "945e68fb-9759-4b91-b86f-0bc284d64655": { + "columnOrder": [ + "3bc9ad25-ca29-4c71-899a-a057584413c8", + "494702d3-cad8-44c4-85c0-6a2bd3b7dc19", + "fe5edbe0-fbff-4a0a-827a-c484f3eb86a9" + ], + "columns": { + "3bc9ad25-ca29-4c71-899a-a057584413c8": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "VM Name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "fe5edbe0-fbff-4a0a-827a-c484f3eb86a9", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "size": 50 + }, + "scale": "ordinal", + "sourceField": "vsphere.virtualmachine.name" + }, + "494702d3-cad8-44c4-85c0-6a2bd3b7dc19": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "ESXi Host", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "fe5edbe0-fbff-4a0a-827a-c484f3eb86a9", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 50 + }, + "scale": "ordinal", + "sourceField": "vsphere.virtualmachine.host.hostname" + }, + "fe5edbe0-fbff-4a0a-827a-c484f3eb86a9": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + } + }, + "incompleteColumns": {} } - }, - "params": {} - }, - "y": [ - { - "accessor": 2, - "aggType": "count", - "format": { - "id": "number" - }, - "params": {} } - ] + } }, - "enableHover": false, - "invertColors": false, - "legendPosition": "right", - "percentageMode": false, - "setColorRange": false, - "times": [], - "type": "heatmap", - "valueAxes": [ + "filters": [ { - "id": "ValueAxis-1", - "labels": { - "color": "black", - "overwriteColor": false, - "rotate": 0, - "show": false + "$state": { + "store": "appState" }, - "scale": { - "defaultYExtents": false, - "type": "linear" + "meta": { + "alias": null, + "disabled": false, + "index": "87cce5d9-dd78-4624-8506-66af035b9221", + "key": "event.module", + "negate": false, + "params": [ + "vsphere" + ], + "type": "phrases", + "value": [ + "vsphere" + ] }, - "show": false, - "type": "value" + "query": { + "bool": { + "minimum_should_match": 1, + "should": [ + { + "match_phrase": { + "event.module": "vsphere" + } + } + ] + } + } } - ] + ], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "gridConfig": { + "isCellLabelVisible": false, + "isXAxisLabelVisible": true, + "isXAxisTitleVisible": true, + "isYAxisLabelVisible": true, + "isYAxisTitleVisible": false, + "type": "heatmap_grid", + "yTitle": "" + }, + "layerId": "945e68fb-9759-4b91-b86f-0bc284d64655", + "layerType": "data", + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "right", + "type": "heatmap_legend" + }, + "palette": { + "accessor": "fe5edbe0-fbff-4a0a-827a-c484f3eb86a9", + "name": "custom", + "params": { + "colorStops": [ + { + "color": "#F7FCF5", + "stop": 0 + }, + { + "color": "#C6E8BF", + "stop": 25 + }, + { + "color": "#72C378", + "stop": 50 + }, + { + "color": "#228B45", + "stop": 75 + } + ], + "continuity": "none", + "name": "custom", + "rangeMax": 100, + "rangeMin": 0, + "rangeType": "percent", + "steps": 5, + "stops": [ + { + "color": "#F7FCF5", + "stop": 25 + }, + { + "color": "#C6E8BF", + "stop": 50 + }, + { + "color": "#72C378", + "stop": 75 + }, + { + "color": "#228B45", + "stop": 100 + } + ] + }, + "type": "palette" + }, + "shape": "heatmap", + "title": "Empty Heatmap chart", + "valueAccessor": "fe5edbe0-fbff-4a0a-827a-c484f3eb86a9", + "xAccessor": "494702d3-cad8-44c4-85c0-6a2bd3b7dc19", + "yAccessor": "3bc9ad25-ca29-4c71-899a-a057584413c8" + } }, - "type": "heatmap", - "uiState": { - "vis": null - } + "title": "", + "type": "lens", + "visualizationType": "lnsHeatmap" }, - "vis": null + "enhancements": {}, + "hidePanelTitles": false, + "type": "lens" }, "gridData": { "h": 35, - "i": "5d6e88e7-822f-4ee7-85aa-f4133593eaa0", + "i": "312a7680-8b30-42dc-a426-65f55f348bdd", "w": 48, "x": 0, "y": 37 }, - "panelIndex": "5d6e88e7-822f-4ee7-85aa-f4133593eaa0", + "panelIndex": "312a7680-8b30-42dc-a426-65f55f348bdd", "title": "VM placements on ESXi Hosts[Metrics VSphere]", - "type": "visualization", - "version": "8.2.0" + "type": "lens", + "version": "8.7.0" } ], "timeRestore": false, "title": "[Metrics VSphere] VMs overview", "version": 1 }, - "coreMigrationVersion": "7.15.0", + "coreMigrationVersion": "8.7.0", + "created_at": "2023-04-07T06:26:07.518Z", "id": "vsphere-6ef55590-0337-11ed-80a3-e31802c6cc3f", "migrationVersion": { - "dashboard": "7.15.0" + "dashboard": "8.7.0" }, "references": [ { - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "name": "c1dede14-b204-4c28-ace0-ca8df36ae8a8:search_0", - "type": "search" + "id": "metrics-*", + "name": "e41bc62d-3548-41e5-b1ce-be2ed9f9a23e:indexpattern-datasource-layer-305a27a6-8ded-4a35-90ec-bdbea153be95", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "e41bc62d-3548-41e5-b1ce-be2ed9f9a23e:9602e830-5783-4a74-98d4-b37e4ede99b6", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "52c37c4c-f2e4-4041-995b-c607cd6cd6b5:indexpattern-datasource-layer-f9113556-7eee-43d0-a1b9-9c6162f953ca", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "52c37c4c-f2e4-4041-995b-c607cd6cd6b5:32dde00e-6d4f-4954-b071-0723b03cf202", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "471fb85f-0ccf-4f57-9e2a-0d779bee0c74:indexpattern-datasource-layer-89b3d010-342a-42fc-b780-ab57aef074dc", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "471fb85f-0ccf-4f57-9e2a-0d779bee0c74:8d541c67-8415-472a-a1bd-ca28b1181ea9", + "type": "index-pattern" }, { - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "name": "37e049c9-4e15-4622-bb26-77a2fff67bc7:search_0", - "type": "search" + "id": "metrics-*", + "name": "0818d44b-3bae-44a9-af56-4cf28e6ed595:indexpattern-datasource-layer-31b0ed59-b1e1-45d5-b129-c0ee83a3ca24", + "type": "index-pattern" }, { - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "name": "c6c075d2-4603-4b98-af7a-2859eeccd0c5:search_0", - "type": "search" + "id": "metrics-*", + "name": "0818d44b-3bae-44a9-af56-4cf28e6ed595:302b0a28-826e-41e8-bbc4-8a1bc84b1061", + "type": "index-pattern" }, { - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "name": "f5ad4fda-ae28-4272-86c3-49baab419c4b:search_0", - "type": "search" + "id": "metrics-*", + "name": "312a7680-8b30-42dc-a426-65f55f348bdd:indexpattern-datasource-layer-945e68fb-9759-4b91-b86f-0bc284d64655", + "type": "index-pattern" }, { - "id": "vsphere-1411b690-f017-11e9-aaf3-15199b632da7", - "name": "5d6e88e7-822f-4ee7-85aa-f4133593eaa0:search_0", - "type": "search" + "id": "metrics-*", + "name": "312a7680-8b30-42dc-a426-65f55f348bdd:87cce5d9-dd78-4624-8506-66af035b9221", + "type": "index-pattern" } ], "type": "dashboard" diff --git a/packages/vsphere/manifest.yml b/packages/vsphere/manifest.yml index d5ebf0e42e5..a68da38e556 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.4.0 +version: 1.5.0 license: basic description: This Elastic integration collects metrics and logs from vSphere/vCenter servers type: integration