diff --git a/packages/gcp/changelog.yml b/packages/gcp/changelog.yml index 6a8cb770647..6bea655de56 100644 --- a/packages/gcp/changelog.yml +++ b/packages/gcp/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "2.19.1" + changes: + - description: Migrate compute dashboard to lens and add datastream filter. + type: enhancement + link: https://github.com/elastic/integrations/pull/5038 - version: "2.19.0" changes: - description: Add Cloud Run metrics datastream. diff --git a/packages/gcp/kibana/dashboard/gcp-f40ee870-5e4a-11ea-a4f6-717338406083.json b/packages/gcp/kibana/dashboard/gcp-f40ee870-5e4a-11ea-a4f6-717338406083.json index aee4512117a..e13a1611855 100644 --- a/packages/gcp/kibana/dashboard/gcp-f40ee870-5e4a-11ea-a4f6-717338406083.json +++ b/packages/gcp/kibana/dashboard/gcp-f40ee870-5e4a-11ea-a4f6-717338406083.json @@ -10,7 +10,29 @@ "hits": 0, "kibanaSavedObjectMeta": { "searchSourceJSON": { - "filter": [], + "filter": [ + { + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", + "key": "data_stream.dataset", + "negate": false, + "params": { + "query": "gcp.compute" + }, + "type": "phrase" + }, + "query": { + "match_phrase": { + "data_stream.dataset": "gcp.compute" + } + } + } + ], "query": { "language": "kuery", "query": "" @@ -24,629 +46,1142 @@ "panelsJSON": [ { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": {} - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "74a18260-63df-11ea-9543-55b68a4bcad3" - } - ], - "bar_color_rules": [ - { - "id": "77a54c80-63df-11ea-9543-55b68a4bcad3" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-60b68dfd-dae6-431c-9aa4-1625de7209ba", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "60b68dfd-dae6-431c-9aa4-1625de7209ba": { + "columnOrder": [ + "2a51de04-4307-4328-8e28-d47a585cb3b8", + "2a51de04-4307-4328-8e28-d47a585cb3b8X0", + "2a51de04-4307-4328-8e28-d47a585cb3b8X1" + ], + "columns": { + "2a51de04-4307-4328-8e28-d47a585cb3b8": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Average uptime", + "operationType": "formula", + "params": { + "format": { + "id": "percent", + "params": { + "decimals": 3 + } + }, + "formula": "average(gcp.compute.instance.uptime.sec) / 60", + "isFormulaBroken": false + }, + "references": [ + "2a51de04-4307-4328-8e28-d47a585cb3b8X1" + ], + "scale": "ratio" + }, + "2a51de04-4307-4328-8e28-d47a585cb3b8X0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Average uptime", + "operationType": "average", + "params": { + "emptyAsNull": false + }, + "scale": "ratio", + "sourceField": "gcp.compute.instance.uptime.sec" + }, + "2a51de04-4307-4328-8e28-d47a585cb3b8X1": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Part of Average uptime", + "operationType": "math", + "params": { + "tinymathAst": { + "args": [ + "2a51de04-4307-4328-8e28-d47a585cb3b8X0", + 60 + ], + "location": { + "max": 45, + "min": 0 + }, + "name": "divide", + "text": "average(gcp.compute.instance.uptime.sec) / 60", + "type": "function" + } + }, + "references": [ + "2a51de04-4307-4328-8e28-d47a585cb3b8X0" + ], + "scale": "ratio" + } + }, + "incompleteColumns": {} + } + } } - ], - "drop_last_bucket": 0, - "filter": { + }, + "filters": [], + "internalReferences": [], + "query": { "language": "kuery", "query": "" }, - "gauge_color_rules": [ - { - "id": "777371a0-63e0-11ea-9543-55b68a4bcad3", - "value": 0 - } - ], - "gauge_inner_width": 10, - "gauge_max": "", - "gauge_style": "circle", - "gauge_width": 10, - "hide_last_value_indicator": true, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "\u003e=5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "bar", - "color": "#68BC00", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "" - }, - "formatter": "percent", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Average Uptime", - "line_width": 1, - "metrics": [ - { - "denominator": "60", - "field": "gcp.compute.instance.uptime.sec", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "numerator": "gcp.compute.instance.uptime.sec", - "type": "avg", - "values": [ - "60" - ] - }, - { - "id": "81dc6000-63e7-11ea-994d-3b2599babc53", - "script": "params.uptime / 60\n", - "type": "math", - "variables": [ - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "85f3bd00-63e7-11ea-994d-3b2599babc53", - "name": "uptime" - } - ] - } - ], - "override_index_pattern": 0, - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none", - "terms_field": "cloud.instance.name", - "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "timeseries" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "time_range_mode": "entire_time_range", - "tooltip_mode": "show_all", - "type": "gauge", - "use_kibana_indexes": false + "visualization": { + "accessor": "2a51de04-4307-4328-8e28-d47a585cb3b8", + "layerId": "60b68dfd-dae6-431c-9aa4-1625de7209ba", + "layerType": "data" + } }, - "title": "Compute Instance Uptime Gauge [Metrics GCP]", - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsLegacyMetric" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 17, - "i": "2034fcc8-5cd7-4ee8-8c8f-99054f025b05", + "i": "b69df245-6997-42df-885c-bd8016441252", "w": 10, "x": 0, "y": 0 }, - "panelIndex": "2034fcc8-5cd7-4ee8-8c8f-99054f025b05", - "title": "Instance Uptime", - "type": "visualization", + "panelIndex": "b69df245-6997-42df-885c-bd8016441252", + "title": "Instance uptime", + "type": "lens", "version": "8.5.1" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": {} - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "drop_last_bucket": 0, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "percent", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": "2", - "metrics": [ - { - "field": "gcp.compute.instance.cpu.usage.pct", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-0402873a-a9fb-4a33-a20d-e67cc2ab984b", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "0402873a-a9fb-4a33-a20d-e67cc2ab984b": { + "columnOrder": [ + "69112d99-99e8-4043-b5b5-17e0e19cdf48", + "e15ad969-2662-4993-9173-149064711e60", + "b63d9586-9411-4493-9edd-93392ec8d89d" + ], + "columns": { + "69112d99-99e8-4043-b5b5-17e0e19cdf48": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of cloud.instance.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "b63d9586-9411-4493-9edd-93392ec8d89d", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "cloud.instance.name" + }, + "b63d9586-9411-4493-9edd-93392ec8d89d": { + "customLabel": false, + "dataType": "number", + "isBucketed": false, + "label": "Average of gcp.compute.instance.cpu.usage.pct", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "percent", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "gcp.compute.instance.cpu.usage.pct" + }, + "e15ad969-2662-4993-9173-149064711e60": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} } - ], - "point_size": "3", - "separate_axis": 0, - "split_color_mode": "rainbow", - "split_mode": "terms", - "stacked": "none", - "terms_field": "cloud.instance.name", - "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "timeseries" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "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": [ + "b63d9586-9411-4493-9edd-93392ec8d89d" + ], + "layerId": "0402873a-a9fb-4a33-a20d-e67cc2ab984b", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "69112d99-99e8-4043-b5b5-17e0e19cdf48", + "xAccessor": "e15ad969-2662-4993-9173-149064711e60" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "yTitle": "" + } }, - "title": "Compute CPU Utilization [Metrics GCP]", - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 17, - "i": "5f6f2ecd-dcaf-4455-967c-ede6b38f431f", + "i": "92d93a4c-b2ba-458d-b039-c04e7656cee9", "w": 38, "x": 10, "y": 0 }, - "panelIndex": "5f6f2ecd-dcaf-4455-967c-ede6b38f431f", - "title": "CPU Utilization", - "type": "visualization", + "panelIndex": "92d93a4c-b2ba-458d-b039-c04e7656cee9", + "title": "CPU utilization", + "type": "lens", "version": "8.5.1" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": {} - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "drop_last_bucket": 0, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": "2", - "metrics": [ - { - "field": "gcp.compute.instance.disk.read_ops_count.value", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-95a99253-f962-4574-b390-fb3cfff48ea2", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "95a99253-f962-4574-b390-fb3cfff48ea2": { + "columnOrder": [ + "b23fe55c-2e92-4636-8223-c831c3525630", + "80f0c17d-8b63-45a5-a0b3-0067f6e35bcc", + "10c422cf-26a6-41c3-b2b1-38184fe995b4" + ], + "columns": { + "10c422cf-26a6-41c3-b2b1-38184fe995b4": { + "dataType": "number", + "isBucketed": false, + "label": "Average of gcp.compute.instance.disk.read_ops_count.value", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 0 + } + } + }, + "scale": "ratio", + "sourceField": "gcp.compute.instance.disk.read_ops_count.value" + }, + "80f0c17d-8b63-45a5-a0b3-0067f6e35bcc": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "b23fe55c-2e92-4636-8223-c831c3525630": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of cloud.instance.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "10c422cf-26a6-41c3-b2b1-38184fe995b4", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "cloud.instance.name" + } + }, + "incompleteColumns": {} } - ], - "point_size": "3", - "separate_axis": 0, - "split_color_mode": "rainbow", - "split_mode": "terms", - "stacked": "none", - "terms_field": "cloud.instance.name", - "type": "timeseries" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "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": [ + "10c422cf-26a6-41c3-b2b1-38184fe995b4" + ], + "layerId": "95a99253-f962-4574-b390-fb3cfff48ea2", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "b23fe55c-2e92-4636-8223-c831c3525630", + "xAccessor": "80f0c17d-8b63-45a5-a0b3-0067f6e35bcc" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "yTitle": "" + } }, - "title": "Compute Read I/O [Metrics GCP]", - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "9c6f36f5-c2b2-40f5-8ee3-af6131168842", + "i": "b1d6a796-bc2a-44aa-94f6-943ed3704767", "w": 24, "x": 0, "y": 17 }, - "panelIndex": "9c6f36f5-c2b2-40f5-8ee3-af6131168842", + "panelIndex": "b1d6a796-bc2a-44aa-94f6-943ed3704767", "title": "Read I/O", - "type": "visualization", + "type": "lens", "version": "8.5.1" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": {} - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "drop_last_bucket": 0, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": "2", - "metrics": [ - { - "field": "gcp.compute.instance.disk.write_ops_count.value", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-36fb957c-7f9a-4528-af6e-316fe03f6e31", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "36fb957c-7f9a-4528-af6e-316fe03f6e31": { + "columnOrder": [ + "a857f048-345d-410d-9ceb-6f0f16d76cbd", + "6c2d1ad5-ba8e-4b8f-a7c8-f60d58cd9eed", + "38e0cc50-4d1e-4ae2-b6f1-15a82952fbe0" + ], + "columns": { + "38e0cc50-4d1e-4ae2-b6f1-15a82952fbe0": { + "dataType": "number", + "isBucketed": false, + "label": "Average of gcp.compute.instance.network.egress.bytes", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "gcp.compute.instance.network.egress.bytes" + }, + "6c2d1ad5-ba8e-4b8f-a7c8-f60d58cd9eed": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "a857f048-345d-410d-9ceb-6f0f16d76cbd": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of cloud.instance.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "38e0cc50-4d1e-4ae2-b6f1-15a82952fbe0", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "cloud.instance.name" + } + }, + "incompleteColumns": {} } - ], - "point_size": "3", - "separate_axis": 0, - "split_color_mode": "rainbow", - "split_mode": "terms", - "stacked": "none", - "terms_field": "cloud.instance.name", - "type": "timeseries" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "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": [ + "38e0cc50-4d1e-4ae2-b6f1-15a82952fbe0" + ], + "layerId": "36fb957c-7f9a-4528-af6e-316fe03f6e31", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "a857f048-345d-410d-9ceb-6f0f16d76cbd", + "xAccessor": "6c2d1ad5-ba8e-4b8f-a7c8-f60d58cd9eed" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "yTitle": "" + } }, - "title": "Compute Write I/O [Metrics GCP]", - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "93906f63-42c9-4f30-9b2c-05041a9e1efe", + "i": "563d6ecb-7738-41fd-b776-142d50d2f89f", "w": 24, - "x": 24, - "y": 17 + "x": 0, + "y": 32 }, - "panelIndex": "93906f63-42c9-4f30-9b2c-05041a9e1efe", - "title": "Write I/O", - "type": "visualization", + "panelIndex": "563d6ecb-7738-41fd-b776-142d50d2f89f", + "title": "Network sent bytes", + "type": "lens", "version": "8.5.1" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": {} - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "drop_last_bucket": 0, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "bytes", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": "2", - "metrics": [ - { - "field": "gcp.compute.instance.network.egress.bytes", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-2353fe1a-588e-4b40-810e-2905b35fd4be", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "2353fe1a-588e-4b40-810e-2905b35fd4be": { + "columnOrder": [ + "00145629-5517-4f65-b32c-304b085312b1", + "795d2647-ffdd-4c7c-8282-52938409acb7", + "4bc164e6-25f7-479b-b4c4-8f980a27edec" + ], + "columns": { + "00145629-5517-4f65-b32c-304b085312b1": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of cloud.instance.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "4bc164e6-25f7-479b-b4c4-8f980a27edec", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "cloud.instance.name" + }, + "4bc164e6-25f7-479b-b4c4-8f980a27edec": { + "dataType": "number", + "isBucketed": false, + "label": "Average of gcp.compute.instance.disk.write_ops_count.value", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 0 + } + } + }, + "scale": "ratio", + "sourceField": "gcp.compute.instance.disk.write_ops_count.value" + }, + "795d2647-ffdd-4c7c-8282-52938409acb7": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} } - ], - "point_size": "3", - "separate_axis": 0, - "split_color_mode": "rainbow", - "split_mode": "terms", - "stacked": "none", - "terms_field": "cloud.instance.name", - "type": "timeseries" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "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": [ + "4bc164e6-25f7-479b-b4c4-8f980a27edec" + ], + "layerId": "2353fe1a-588e-4b40-810e-2905b35fd4be", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "00145629-5517-4f65-b32c-304b085312b1", + "xAccessor": "795d2647-ffdd-4c7c-8282-52938409acb7" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "yTitle": "" + } }, - "title": "Compute Network Sent Bytes [Metrics GCP]", - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "e1a4e862-dd00-409f-8746-8a8e4bc82807", + "i": "b2c09b58-255f-4e48-a264-92c54b9eb2be", "w": 24, - "x": 0, - "y": 32 + "x": 24, + "y": 17 }, - "panelIndex": "e1a4e862-dd00-409f-8746-8a8e4bc82807", - "title": "Network Sent Bytes", - "type": "visualization", + "panelIndex": "b2c09b58-255f-4e48-a264-92c54b9eb2be", + "title": "Write I/O", + "type": "lens", "version": "8.5.1" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": {} - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "drop_last_bucket": 0, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "bytes", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": "2", - "metrics": [ - { - "field": "gcp.compute.instance.network.ingress.bytes", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-1c3b6f75-ce6a-4e86-93d0-15acd5bf2590", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "1c3b6f75-ce6a-4e86-93d0-15acd5bf2590": { + "columnOrder": [ + "dcd31a28-3a97-40d3-998c-7b58f65d231f", + "059f7da8-98e6-4e78-8755-f9935d90f5f7", + "39d9f91d-1cc0-4765-9f9e-2bc02110eb0c" + ], + "columns": { + "059f7da8-98e6-4e78-8755-f9935d90f5f7": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "39d9f91d-1cc0-4765-9f9e-2bc02110eb0c": { + "dataType": "number", + "isBucketed": false, + "label": "Average of gcp.compute.firewall.dropped.bytes", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "gcp.compute.firewall.dropped.bytes" + }, + "dcd31a28-3a97-40d3-998c-7b58f65d231f": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of cloud.instance.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "39d9f91d-1cc0-4765-9f9e-2bc02110eb0c", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "cloud.instance.name" + } + }, + "incompleteColumns": {} } - ], - "point_size": "3", - "separate_axis": 0, - "split_color_mode": "rainbow", - "split_mode": "terms", - "stacked": "none", - "terms_field": "cloud.instance.name", - "type": "timeseries" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "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": [ + "39d9f91d-1cc0-4765-9f9e-2bc02110eb0c" + ], + "layerId": "1c3b6f75-ce6a-4e86-93d0-15acd5bf2590", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "dcd31a28-3a97-40d3-998c-7b58f65d231f", + "xAccessor": "059f7da8-98e6-4e78-8755-f9935d90f5f7" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "yTitle": "" + } }, - "title": "Compute Network Received Bytes [Metrics GCP]", - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "6f47ff85-3ec1-4f6f-a63b-1a56f0cfc9ce", + "i": "475657b7-b814-45f6-b97a-5219c9c4e2d8", "w": 24, - "x": 24, - "y": 32 + "x": 0, + "y": 47 }, - "panelIndex": "6f47ff85-3ec1-4f6f-a63b-1a56f0cfc9ce", - "title": "Network Received Bytes", - "type": "visualization", + "panelIndex": "475657b7-b814-45f6-b97a-5219c9c4e2d8", + "title": "Firewall dropped bytes", + "type": "lens", "version": "8.5.1" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": {} - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "3ece14c0-5e4c-11ea-9061-37f24ca5b01f" - } - ], - "bar_color_rules": [ - { - "id": "3b9c35c0-5e4c-11ea-9061-37f24ca5b01f" - } - ], - "drop_last_bucket": 0, - "gauge_color_rules": [ - { - "id": "3b27a200-5e4c-11ea-9061-37f24ca5b01f" - } - ], - "gauge_inner_width": 10, - "gauge_style": "half", - "gauge_width": 10, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "bytes", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": "2", - "metrics": [ - { - "field": "gcp.compute.firewall.dropped.bytes", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-bf638dc1-faee-4092-87e8-a88e164bee92", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "bf638dc1-faee-4092-87e8-a88e164bee92": { + "columnOrder": [ + "ef54fb3d-ed62-454f-962d-0e12d68874ea", + "6b66840f-6049-448e-a8ec-c39b34cb7739", + "125134eb-4254-4146-9a89-c29a40c583ef" + ], + "columns": { + "125134eb-4254-4146-9a89-c29a40c583ef": { + "dataType": "number", + "isBucketed": false, + "label": "Average of gcp.compute.instance.network.ingress.bytes", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes", + "params": { + "decimals": 2 + } + } + }, + "scale": "ratio", + "sourceField": "gcp.compute.instance.network.ingress.bytes" + }, + "6b66840f-6049-448e-a8ec-c39b34cb7739": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": true, + "interval": "5m" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ef54fb3d-ed62-454f-962d-0e12d68874ea": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of cloud.instance.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "125134eb-4254-4146-9a89-c29a40c583ef", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "cloud.instance.name" + } + }, + "incompleteColumns": {} } - ], - "point_size": "3", - "separate_axis": 0, - "split_color_mode": "rainbow", - "split_mode": "terms", - "stacked": "none", - "terms_field": "cloud.instance.name", - "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "timeseries" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "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": [ + "125134eb-4254-4146-9a89-c29a40c583ef" + ], + "layerId": "bf638dc1-faee-4092-87e8-a88e164bee92", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "ef54fb3d-ed62-454f-962d-0e12d68874ea", + "xAccessor": "6b66840f-6049-448e-a8ec-c39b34cb7739" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "yTitle": "" + } }, - "title": "Compute Firewall Dropped Bytes [Metrics GCP]", - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "00689e12-4cb3-49ad-ac33-dbe4279f446e", + "i": "63061b07-e650-4ffa-b152-462aa06d4749", "w": 24, - "x": 0, - "y": 47 + "x": 24, + "y": 32 }, - "panelIndex": "00689e12-4cb3-49ad-ac33-dbe4279f446e", - "title": "Firewall Dropped Bytes", - "type": "visualization", + "panelIndex": "63061b07-e650-4ffa-b152-462aa06d4749", + "title": "Network received bytes", + "type": "lens", "version": "8.5.1" }, { "embeddableConfig": { - "enhancements": {}, - "savedVis": { - "data": { - "aggs": [], - "searchSource": {} - }, - "description": "", - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "3ece14c0-5e4c-11ea-9061-37f24ca5b01f" - } - ], - "bar_color_rules": [ - { - "id": "3b9c35c0-5e4c-11ea-9061-37f24ca5b01f" - } - ], - "drop_last_bucket": 0, - "gauge_color_rules": [ - { - "id": "3b27a200-5e4c-11ea-9061-37f24ca5b01f" - } - ], - "gauge_inner_width": 10, - "gauge_style": "half", - "gauge_width": 10, - "hide_last_value_indicator": true, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "5m", - "isModelInvalid": false, - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "", - "line_width": "3", - "metrics": [ - { - "field": "gcp.compute.firewall.dropped_packets_count.value", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-db569ada-61d2-476f-a644-a0d00ccc8ecc", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "db569ada-61d2-476f-a644-a0d00ccc8ecc": { + "columnOrder": [ + "fad7dda6-ff79-494b-9d91-01277538468b", + "d3eb04d6-1f0e-4a58-8db0-2b81c84544fd" + ], + "columns": { + "d3eb04d6-1f0e-4a58-8db0-2b81c84544fd": { + "dataType": "number", + "isBucketed": false, + "label": "Average of gcp.compute.firewall.dropped_packets_count.value", + "operationType": "average", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "gcp.compute.firewall.dropped_packets_count.value" + }, + "fad7dda6-ff79-494b-9d91-01277538468b": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of cloud.instance.name", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "d3eb04d6-1f0e-4a58-8db0-2b81c84544fd", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "cloud.instance.name" + } + }, + "incompleteColumns": {} } - ], - "point_size": "2", - "separate_axis": 0, - "split_color_mode": "rainbow", - "split_mode": "terms", - "stacked": "none", - "terms_field": "cloud.instance.name", - "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "timeseries" + } } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "time_range_mode": "entire_time_range", - "type": "top_n", - "use_kibana_indexes": false + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "d3eb04d6-1f0e-4a58-8db0-2b81c84544fd" + ], + "layerId": "db569ada-61d2-476f-a644-a0d00ccc8ecc", + "layerType": "data", + "seriesType": "bar_horizontal", + "xAccessor": "fad7dda6-ff79-494b-9d91-01277538468b" + } + ], + "legend": { + "isVisible": true, + "position": "right" + }, + "preferredSeriesType": "bar_horizontal", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": true + }, + "valueLabels": "show", + "xTitle": "", + "yTitle": "" + } }, - "title": "Compute Firewall Dropped Packets [Metrics GCP]", - "type": "metrics", - "uiState": {} - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 15, - "i": "901e7bf5-35f5-4c1a-9627-27f6c20d2514", + "i": "d628fe7d-e2a8-47c4-9abb-c5d61c0a966d", "w": 24, "x": 24, "y": 47 }, - "panelIndex": "901e7bf5-35f5-4c1a-9627-27f6c20d2514", - "title": "Firewall Dropped Packets", - "type": "visualization", + "panelIndex": "d628fe7d-e2a8-47c4-9abb-c5d61c0a966d", + "title": "Firewall dropped packets", + "type": "lens", "version": "8.5.1" } ], @@ -660,6 +1195,51 @@ "dashboard": "8.5.0" }, "references": [ + { + "id": "metrics-*", + "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "b69df245-6997-42df-885c-bd8016441252:indexpattern-datasource-layer-60b68dfd-dae6-431c-9aa4-1625de7209ba", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "92d93a4c-b2ba-458d-b039-c04e7656cee9:indexpattern-datasource-layer-0402873a-a9fb-4a33-a20d-e67cc2ab984b", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "b1d6a796-bc2a-44aa-94f6-943ed3704767:indexpattern-datasource-layer-95a99253-f962-4574-b390-fb3cfff48ea2", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "563d6ecb-7738-41fd-b776-142d50d2f89f:indexpattern-datasource-layer-36fb957c-7f9a-4528-af6e-316fe03f6e31", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "b2c09b58-255f-4e48-a264-92c54b9eb2be:indexpattern-datasource-layer-2353fe1a-588e-4b40-810e-2905b35fd4be", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "475657b7-b814-45f6-b97a-5219c9c4e2d8:indexpattern-datasource-layer-1c3b6f75-ce6a-4e86-93d0-15acd5bf2590", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "63061b07-e650-4ffa-b152-462aa06d4749:indexpattern-datasource-layer-bf638dc1-faee-4092-87e8-a88e164bee92", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "d628fe7d-e2a8-47c4-9abb-c5d61c0a966d:indexpattern-datasource-layer-db569ada-61d2-476f-a644-a0d00ccc8ecc", + "type": "index-pattern" + }, { "id": "metrics-*", "name": "controlGroup_e3ec704a-158f-40bf-aefa-bab59331183f:optionsListDataView", diff --git a/packages/gcp/manifest.yml b/packages/gcp/manifest.yml index bc9255ffad6..a0ed48e2f1b 100644 --- a/packages/gcp/manifest.yml +++ b/packages/gcp/manifest.yml @@ -1,6 +1,6 @@ name: gcp title: Google Cloud Platform -version: "2.19.0" +version: "2.19.1" release: ga description: Collect logs and metrics from Google Cloud Platform with Elastic Agent. type: integration