diff --git a/packages/aws/changelog.yml b/packages/aws/changelog.yml index 19ecdd6b135..b7e0d853548 100644 --- a/packages/aws/changelog.yml +++ b/packages/aws/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.44.3" + changes: + - description: Migrate AWS ELB Access Log dashboard visualizations to lens. + type: enhancement + link: https://github.com/elastic/integrations/pull/6521 - version: "1.44.2" changes: - description: Fix image link in readme diff --git a/packages/aws/img/filebeat-aws-elb-overview.png b/packages/aws/img/filebeat-aws-elb-overview.png index e64b6f03a4e..de3ddcac798 100644 Binary files a/packages/aws/img/filebeat-aws-elb-overview.png and b/packages/aws/img/filebeat-aws-elb-overview.png differ diff --git a/packages/aws/kibana/dashboard/aws-3af47420-3e7b-11ea-bb0a-69c3ca1d410f.json b/packages/aws/kibana/dashboard/aws-3af47420-3e7b-11ea-bb0a-69c3ca1d410f.json index 57c1ad3445d..58e89e9f827 100644 --- a/packages/aws/kibana/dashboard/aws-3af47420-3e7b-11ea-bb0a-69c3ca1d410f.json +++ b/packages/aws/kibana/dashboard/aws-3af47420-3e7b-11ea-bb0a-69c3ca1d410f.json @@ -1,14 +1,6 @@ { - "id": "aws-3af47420-3e7b-11ea-bb0a-69c3ca1d410f", - "type": "dashboard", - "namespaces": [ - "default" - ], - "updated_at": "2022-08-01T13:47:45.463Z", - "version": "Wzg1MCwxXQ==", "attributes": { "description": "Logs AWS ELB Access Log Overview Dashboard", - "hits": 0, "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], @@ -20,26 +12,36 @@ }, "optionsJSON": { "hidePanelTitles": false, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, "useMargins": true }, "panelsJSON": [ { "embeddableConfig": { + "attributes": { + "description": "", + "layerListJSON": "[{\"alpha\":1,\"id\":\"19047c4c-18d7-4aec-b0ce-98de2828244d\",\"label\":\"Hits\",\"maxZoom\":24,\"minZoom\":0,\"sourceDescriptor\":{\"isAutoSelect\":true,\"type\":\"EMS_TMS\",\"lightModeDefault\":\"road_map\"},\"style\":{},\"type\":\"EMS_VECTOR_TILE\",\"visible\":true},{\"alpha\":0.75,\"id\":\"1d457cd4-01be-4f96-95fd-af4ac535ebea\",\"label\":null,\"maxZoom\":24,\"minZoom\":0,\"sourceDescriptor\":{\"applyGlobalQuery\":true,\"geoField\":\"source.geo.location\",\"id\":\"1e82f50f-424a-4718-905b-ad45db14db62\",\"requestType\":\"point\",\"resolution\":\"COARSE\",\"type\":\"ES_GEO_GRID\",\"indexPatternRefName\":\"layer_1_source_index_pattern\"},\"style\":{\"properties\":{\"fillColor\":{\"options\":{\"color\":\"Blues\",\"field\":{\"label\":\"count\",\"name\":\"doc_count\",\"origin\":\"source\"},\"fieldMetaOptions\":{\"isEnabled\":false,\"sigma\":3}},\"type\":\"DYNAMIC\"},\"icon\":{\"type\":\"STATIC\",\"options\":{\"value\":\"marker\"}},\"iconOrientation\":{\"options\":{\"orientation\":0},\"type\":\"STATIC\"},\"iconSize\":{\"options\":{\"field\":{\"label\":\"count\",\"name\":\"doc_count\",\"origin\":\"source\"},\"fieldMetaOptions\":{\"isEnabled\":false,\"sigma\":3},\"maxSize\":32,\"minSize\":4},\"type\":\"DYNAMIC\"},\"lineColor\":{\"options\":{\"color\":\"#167a6d\"},\"type\":\"STATIC\"},\"lineWidth\":{\"options\":{\"size\":1},\"type\":\"STATIC\"},\"symbolizeAs\":{\"options\":{\"value\":\"circle\"}}},\"type\":\"VECTOR\"},\"type\":\"GEOJSON_VECTOR\",\"visible\":true}]", + "mapStateJSON": "{\"center\":{\"lat\":50.97903,\"lon\":13.666},\"filters\":[{\"$state\":{\"store\":\"appState\"},\"meta\":{\"alias\":null,\"disabled\":false,\"index\":\"logs-*\",\"key\":\"data_stream.dataset\",\"negate\":false,\"params\":{\"query\":\"aws.elb_logs\"},\"type\":\"phrase\",\"value\":\"elb\"},\"query\":{\"match\":{\"data_stream.dataset\":{\"query\":\"aws.elb_logs\",\"type\":\"phrase\"}}}}],\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"refreshConfig\":{\"interval\":0,\"isPaused\":false},\"timeFilters\":{\"from\":\"now-15m\",\"to\":\"now\"},\"zoom\":3.9,\"settings\":{\"autoFitToDataBounds\":false}}", + "title": "ELB Requests Geolocation [Logs AWS]", + "uiStateJSON": "{\"isLayerTOCOpen\":true,\"openTOCDetails\":[]}" + }, + "enhancements": {}, + "hiddenLayers": [], "isLayerTOCOpen": false, + "mapBuffer": { + "maxLat": 31.95216, + "maxLon": 90, + "minLat": 0, + "minLon": 56.25 + }, "mapCenter": { "lat": 51.63808, "lon": 17.07232, "zoom": 3.47 }, - "openTOCDetails": [], - "title": "ELB Requests Geolocation", - "attributes": { - "title": "ELB Requests Geolocation [Logs AWS]", - "description": "", - "uiStateJSON": "{\"isLayerTOCOpen\":true,\"openTOCDetails\":[]}", - "mapStateJSON": "{\"center\":{\"lat\":50.97903,\"lon\":13.666},\"filters\":[{\"$state\":{\"store\":\"appState\"},\"meta\":{\"alias\":null,\"disabled\":false,\"index\":\"logs-*\",\"key\":\"data_stream.dataset\",\"negate\":false,\"params\":{\"query\":\"aws.elb_logs\"},\"type\":\"phrase\",\"value\":\"elb\"},\"query\":{\"match\":{\"data_stream.dataset\":{\"query\":\"aws.elb_logs\",\"type\":\"phrase\"}}}}],\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"refreshConfig\":{\"interval\":0,\"isPaused\":false},\"timeFilters\":{\"from\":\"now-15m\",\"to\":\"now\"},\"zoom\":3.9,\"settings\":{\"autoFitToDataBounds\":false}}", - "layerListJSON": "[{\"alpha\":1,\"id\":\"19047c4c-18d7-4aec-b0ce-98de2828244d\",\"label\":\"Hits\",\"maxZoom\":24,\"minZoom\":0,\"sourceDescriptor\":{\"isAutoSelect\":true,\"type\":\"EMS_TMS\",\"lightModeDefault\":\"road_map\"},\"style\":{},\"type\":\"EMS_VECTOR_TILE\",\"visible\":true},{\"alpha\":0.75,\"id\":\"1d457cd4-01be-4f96-95fd-af4ac535ebea\",\"label\":null,\"maxZoom\":24,\"minZoom\":0,\"sourceDescriptor\":{\"applyGlobalQuery\":true,\"geoField\":\"source.geo.location\",\"id\":\"1e82f50f-424a-4718-905b-ad45db14db62\",\"indexPatternRefName\":\"layer_1_source_index_pattern\",\"requestType\":\"point\",\"resolution\":\"COARSE\",\"type\":\"ES_GEO_GRID\"},\"style\":{\"properties\":{\"fillColor\":{\"options\":{\"color\":\"Blues\",\"field\":{\"label\":\"count\",\"name\":\"doc_count\",\"origin\":\"source\"},\"fieldMetaOptions\":{\"isEnabled\":false,\"sigma\":3}},\"type\":\"DYNAMIC\"},\"icon\":{\"type\":\"STATIC\",\"options\":{\"value\":\"marker\"}},\"iconOrientation\":{\"options\":{\"orientation\":0},\"type\":\"STATIC\"},\"iconSize\":{\"options\":{\"field\":{\"label\":\"count\",\"name\":\"doc_count\",\"origin\":\"source\"},\"fieldMetaOptions\":{\"isEnabled\":false,\"sigma\":3},\"maxSize\":32,\"minSize\":4},\"type\":\"DYNAMIC\"},\"lineColor\":{\"options\":{\"color\":\"#167a6d\"},\"type\":\"STATIC\"},\"lineWidth\":{\"options\":{\"size\":1},\"type\":\"STATIC\"},\"symbolizeAs\":{\"options\":{\"value\":\"circle\"}}},\"type\":\"VECTOR\"},\"type\":\"GEOJSON_VECTOR\",\"visible\":true}]" - } + "openTOCDetails": [] }, "gridData": { "h": 14, @@ -50,69 +52,186 @@ }, "panelIndex": "2c97b32e-5548-429d-9ce0-1bbc3d2398ac", "title": "ELB Requests Geolocation", - "version": "8.1.0", - "type": "map" + "type": "map", + "version": "8.7.1" }, { "embeddableConfig": { - "title": "ELB Inbound Traffic", - "savedVis": { - "title": "ELB Inbound Traffic [Logs AWS]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": "0", - "axis_position": "left", - "axis_scale": "normal", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "logs-*", - "interval": "", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(104,204,202,1)", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "data_stream.dataset : \"aws.elb_logs\"" - }, - "formatter": "bytes", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Inbound", - "line_width": 1, - "metrics": [ - { - "field": "source.bytes", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "sum" + "attributes": { + "references": [ + { + "id": "logs-*", + "name": "indexpattern-datasource-layer-b523aefa-50f2-4cd9-b251-c80f9b62163b", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "b523aefa-50f2-4cd9-b251-c80f9b62163b": { + "columnOrder": [ + "942ee10a-e829-4c77-bfd9-cb0d4802d476", + "02284852-8ba0-4f5d-9b67-bc3b9f1604b6", + "bac932da-5697-471b-b822-4b5694a57b50" + ], + "columns": { + "02284852-8ba0-4f5d-9b67-bc3b9f1604b6": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of aws.elb.name", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": {}, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.elb.name" + }, + "942ee10a-e829-4c77-bfd9-cb0d4802d476": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "bac932da-5697-471b-b822-4b5694a57b50": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Inbound", + "operationType": "sum", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes" + } + }, + "scale": "ratio", + "sourceField": "source.bytes" + } + }, + "incompleteColumns": {} } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "aws.elb.name", - "type": "timeseries" + } + }, + "textBased": { + "layers": {} } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "data_stream.dataset : \"aws.elb_logs\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": true, + "fillOpacity": 0.5, + "fittingFunction": "Zero", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "bac932da-5697-471b-b822-4b5694a57b50" + ], + "layerId": "b523aefa-50f2-4cd9-b251-c80f9b62163b", + "layerType": "data", + "palette": { + "name": "positive", + "type": "palette" + }, + "seriesType": "area", + "splitAccessor": "02284852-8ba0-4f5d-9b67-bc3b9f1604b6", + "xAccessor": "942ee10a-e829-4c77-bfd9-cb0d4802d476", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(104,204,202,1)", + "forAccessor": "bac932da-5697-471b-b822-4b5694a57b50" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full" + }, + "yRightScale": "linear", + "yTitle": "Traffic" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 14, @@ -123,99 +242,131 @@ }, "panelIndex": "26ebbde3-ee0c-4b4d-8ab9-404cbe5786a9", "title": "ELB Inbound Traffic", - "version": "8.0.0", - "type": "visualization" + "type": "lens", + "version": "8.7.1" }, { "embeddableConfig": { - "title": "ELB Top User Agents", - "savedVis": { - "title": "ELB Top User Agents [Logs AWS]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": "0", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "29527130-3e86-11ea-9067-cf383a4ea3b3" + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "66dc09e8-7c65-4290-a6b0-cb916af4a5f6": { + "allowNoIndex": true, + "fieldAttrs": { + "user_agent.original": {} + }, + "fieldFormats": {}, + "id": "66dc09e8-7c65-4290-a6b0-cb916af4a5f6", + "name": "logs-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "timeFieldName": "@timestamp", + "title": "logs-*" } - ], - "bar_color_rules": [ - { - "id": "cc6d5070-3e85-11ea-9067-cf383a4ea3b3" + }, + "datasourceStates": { + "formBased": { + "layers": { + "cfd66122-3894-416f-892d-0b2456b3e591": { + "columnOrder": [ + "deedb9f6-2d94-40be-88fb-dd2511e57e36", + "b281f847-fba9-453e-b0ae-78af9e470f03" + ], + "columns": { + "b281f847-fba9-453e-b0ae-78af9e470f03": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "deedb9f6-2d94-40be-88fb-dd2511e57e36": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "User Agent", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": {}, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "user_agent.original" + } + }, + "incompleteColumns": {} + } + } + }, + "textBased": { + "layers": {} } - ], - "gauge_color_rules": [ + }, + "filters": [], + "internalReferences": [ { - "id": "2b29c940-3e86-11ea-9067-cf383a4ea3b3" + "id": "66dc09e8-7c65-4290-a6b0-cb916af4a5f6", + "name": "indexpattern-datasource-layer-cfd66122-3894-416f-892d-0b2456b3e591", + "type": "index-pattern" } ], - "gauge_inner_width": 10, - "gauge_style": "half", - "gauge_width": 10, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "logs-*", - "interval": "", - "isModelInvalid": false, - "legend_position": "bottom", - "pivot_id": "user_agent.original", - "pivot_type": "string", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(104,188,0,1)", - "color_rules": [ - { - "id": "42e14220-3e86-11ea-9067-cf383a4ea3b3" - } - ], - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "data_stream.dataset : \"aws.elb_logs\" " + "query": { + "language": "kuery", + "query": "data_stream.dataset : \"aws.elb_logs\" " + }, + "visualization": { + "columns": [ + { + "columnId": "deedb9f6-2d94-40be-88fb-dd2511e57e36", + "width": 429.5 }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "User Agent", - "line_width": 1, - "metrics": [ - { - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "count" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "2010cb20-3e87-11ea-9067-cf383a4ea3b3", - "type": "cumulative_sum" - } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "user_agent.original", - "type": "timeseries" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "top_n", - "use_kibana_indexes": false, - "hide_last_value_indicator": true, - "drop_last_bucket": 1 + { + "columnId": "b281f847-fba9-453e-b0ae-78af9e470f03" + } + ], + "layerId": "cfd66122-3894-416f-892d-0b2456b3e591", + "layerType": "data", + "rowHeight": "auto" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsDatatable" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 14, @@ -226,68 +377,195 @@ }, "panelIndex": "48ecb39f-57a5-4805-a8a9-77385a996d75", "title": "ELB Top User Agents", - "version": "8.0.0", - "type": "visualization" + "type": "lens", + "version": "8.7.1" }, { "embeddableConfig": { - "title": "ELB Total Requests", - "savedVis": { - "title": "ELB Total Requests [Logs AWS]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": "0", - "axis_position": "left", - "axis_scale": "normal", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "logs-*", - "interval": "", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(115,216,255,1)", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "data_stream.dataset : \"aws.elb_logs\" " - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Total Requests", - "line_width": 1, - "metrics": [ - { - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "count" + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "tsvb_ad_hoc_logs-*/@timestamp": { + "allowNoIndex": true, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "logs-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "timeFieldName": "@timestamp", + "title": "logs-*" + } + }, + "datasourceStates": { + "formBased": { + "layers": { + "6877df4d-f731-4ec5-b108-3a24b48119d9": { + "columnOrder": [ + "4c346010-2f82-453f-b978-f2b749cad506", + "56b275c7-9ab0-4258-ae8b-152dc8bf4c16", + "c441926d-b7a5-4b4e-925b-8f4cc9596f62" + ], + "columns": { + "4c346010-2f82-453f-b978-f2b749cad506": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "56b275c7-9ab0-4258-ae8b-152dc8bf4c16": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of aws.elb.name", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": {}, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.elb.name" + }, + "c441926d-b7a5-4b4e-925b-8f4cc9596f62": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Total Requests", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + } + }, + "incompleteColumns": {} } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "aws.elb.name", - "type": "timeseries" + } + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [ + { + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "indexpattern-datasource-layer-6877df4d-f731-4ec5-b108-3a24b48119d9", + "type": "index-pattern" } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + "query": { + "language": "kuery", + "query": "data_stream.dataset : \"aws.elb_logs\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": true, + "fillOpacity": 0.5, + "fittingFunction": "Zero", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "c441926d-b7a5-4b4e-925b-8f4cc9596f62" + ], + "layerId": "6877df4d-f731-4ec5-b108-3a24b48119d9", + "layerType": "data", + "palette": { + "name": "cool", + "type": "palette" + }, + "seriesType": "area", + "splitAccessor": "56b275c7-9ab0-4258-ae8b-152dc8bf4c16", + "xAccessor": "4c346010-2f82-453f-b978-f2b749cad506", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(115,216,255,1)", + "forAccessor": "c441926d-b7a5-4b4e-925b-8f4cc9596f62" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full" + }, + "yRightScale": "linear", + "yTitle": "Count" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 14, @@ -298,99 +576,169 @@ }, "panelIndex": "9812996e-ba10-41bd-b134-c9705a0973b4", "title": "ELB Total Requests", - "version": "8.0.0", - "type": "visualization" + "type": "lens", + "version": "8.7.1" }, { "embeddableConfig": { - "title": "ELB Top IP Addresses", - "savedVis": { - "title": "ELB Top IP Addresses [Logs AWS]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": "0", - "axis_position": "left", - "axis_scale": "normal", - "background_color_rules": [ - { - "id": "29527130-3e86-11ea-9067-cf383a4ea3b3" + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "tsvb_ad_hoc_logs-*/@timestamp": { + "allowNoIndex": true, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "logs-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "timeFieldName": "@timestamp", + "title": "logs-*" } - ], - "bar_color_rules": [ - { - "id": "cc6d5070-3e85-11ea-9067-cf383a4ea3b3" + }, + "datasourceStates": { + "formBased": { + "layers": { + "f9aa71e8-b238-407a-b401-836774b6561b": { + "columnOrder": [ + "323d2f8b-eefd-495e-a0cc-09497c2a64ba", + "9fb3cfe5-72fa-46e4-bdc7-e2c81dae01c9" + ], + "columns": { + "323d2f8b-eefd-495e-a0cc-09497c2a64ba": { + "dataType": "ip", + "isBucketed": true, + "label": "Top 10 values of source.ip", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": {}, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "source.ip" + }, + "9fb3cfe5-72fa-46e4-bdc7-e2c81dae01c9": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "IP address", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + } + }, + "incompleteColumns": {} + } + } + }, + "textBased": { + "layers": {} } - ], - "gauge_color_rules": [ + }, + "filters": [], + "internalReferences": [ { - "id": "2b29c940-3e86-11ea-9067-cf383a4ea3b3" + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "indexpattern-datasource-layer-f9aa71e8-b238-407a-b401-836774b6561b", + "type": "index-pattern" } ], - "gauge_inner_width": 10, - "gauge_style": "half", - "gauge_width": 10, - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "logs-*", - "interval": "", - "isModelInvalid": false, - "legend_position": "bottom", - "pivot_id": "user_agent.original", - "pivot_type": "string", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(115,216,255,1)", - "color_rules": [ - { - "id": "42e14220-3e86-11ea-9067-cf383a4ea3b3" - } - ], - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "data_stream.dataset : \"aws.elb_logs\" " - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "IP address", - "line_width": 1, - "metrics": [ - { - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "count" + "query": { + "language": "kuery", + "query": "data_stream.dataset : \"aws.elb_logs\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": false + }, + "fillOpacity": 0.5, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": false + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "9fb3cfe5-72fa-46e4-bdc7-e2c81dae01c9" + ], + "layerId": "f9aa71e8-b238-407a-b401-836774b6561b", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "40c52370-3e87-11ea-9067-cf383a4ea3b3", - "type": "cumulative_sum" - } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "source.ip", - "type": "timeseries" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "top_n", - "use_kibana_indexes": false, - "hide_last_value_indicator": true, - "drop_last_bucket": 1 + "seriesType": "bar_horizontal", + "xAccessor": "323d2f8b-eefd-495e-a0cc-09497c2a64ba", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(115,216,255,1)", + "forAccessor": "9fb3cfe5-72fa-46e4-bdc7-e2c81dae01c9" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": false, + "yRight": false + }, + "valueLabels": "show" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 14, @@ -401,69 +749,198 @@ }, "panelIndex": "bb25b36e-0787-48fd-aa22-7ba8c08a9c36", "title": "ELB Top IP Addresses", - "version": "8.0.0", - "type": "visualization" + "type": "lens", + "version": "8.7.1" }, { "embeddableConfig": { - "title": "ELB Outbound Traffic", - "savedVis": { - "title": "ELB Outbound Traffic [Logs AWS]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": "0", - "axis_position": "left", - "axis_scale": "normal", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "logs-*", - "interval": "", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(253,161,255,1)", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "data_stream.dataset : \"aws.elb_logs\"" - }, - "formatter": "bytes", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Outbound", - "line_width": 1, - "metrics": [ - { - "field": "destination.bytes", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "sum" + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "tsvb_ad_hoc_logs-*/@timestamp": { + "allowNoIndex": true, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "logs-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "timeFieldName": "@timestamp", + "title": "logs-*" + } + }, + "datasourceStates": { + "formBased": { + "layers": { + "d848dd07-1541-4bef-99a4-3624bb452efa": { + "columnOrder": [ + "a3a62cc9-57a7-4b07-94a0-b099cb49f3d2", + "b0400a62-bdcf-4565-a009-440cc5f921c6", + "e045eea2-b6d2-4f1e-a387-1776bba6703c" + ], + "columns": { + "a3a62cc9-57a7-4b07-94a0-b099cb49f3d2": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "b0400a62-bdcf-4565-a009-440cc5f921c6": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of aws.elb.name", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": {}, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.elb.name" + }, + "e045eea2-b6d2-4f1e-a387-1776bba6703c": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "" + }, + "isBucketed": false, + "label": "Outbound", + "operationType": "sum", + "params": { + "emptyAsNull": true, + "format": { + "id": "bytes" + } + }, + "scale": "ratio", + "sourceField": "destination.bytes" + } + }, + "incompleteColumns": {} } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "aws.elb.name", - "type": "timeseries" + } + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [ + { + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "indexpattern-datasource-layer-d848dd07-1541-4bef-99a4-3624bb452efa", + "type": "index-pattern" } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + "query": { + "language": "kuery", + "query": "data_stream.dataset : \"aws.elb_logs\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": true, + "fillOpacity": 0.5, + "fittingFunction": "Zero", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "e045eea2-b6d2-4f1e-a387-1776bba6703c" + ], + "layerId": "d848dd07-1541-4bef-99a4-3624bb452efa", + "layerType": "data", + "palette": { + "name": "warm", + "type": "palette" + }, + "seriesType": "area", + "splitAccessor": "b0400a62-bdcf-4565-a009-440cc5f921c6", + "xAccessor": "a3a62cc9-57a7-4b07-94a0-b099cb49f3d2", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(253,161,255,1)", + "forAccessor": "e045eea2-b6d2-4f1e-a387-1776bba6703c" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full" + }, + "yRightScale": "linear", + "yTitle": "Traffic" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 14, @@ -474,68 +951,195 @@ }, "panelIndex": "bf43580d-cc26-415b-ae36-d678a232b544", "title": "ELB Outbound Traffic", - "version": "8.0.0", - "type": "visualization" + "type": "lens", + "version": "8.7.1" }, { "embeddableConfig": { - "title": "ELB HTTP 2xx", - "savedVis": { - "title": "ELB HTTP 2xx [Logs AWS]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": "0", - "axis_position": "left", - "axis_scale": "normal", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "logs-*", - "interval": "", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(164,221,0,1)", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "data_stream.dataset : \"aws.elb_logs\" and http.response.status_code \u003e= 200 and http.response.status_code\t\u003c 300" - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "HTTP 2xx", - "line_width": 1, - "metrics": [ - { - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "count" + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "tsvb_ad_hoc_logs-*/@timestamp": { + "allowNoIndex": true, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "logs-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "timeFieldName": "@timestamp", + "title": "logs-*" + } + }, + "datasourceStates": { + "formBased": { + "layers": { + "e5093980-9173-4b68-bc33-1796ed8423b2": { + "columnOrder": [ + "898b24bd-c207-40c9-82be-e7591d9f41d9", + "f9fcb0a9-3cf8-4a29-9788-2d24a3332ff3", + "cd7404bb-a676-4496-9221-89a0cbd1d5dc" + ], + "columns": { + "898b24bd-c207-40c9-82be-e7591d9f41d9": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "cd7404bb-a676-4496-9221-89a0cbd1d5dc": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "http.response.status_code \u003e= 200 and http.response.status_code\t\u003c 300" + }, + "isBucketed": false, + "label": "HTTP 2xx", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "f9fcb0a9-3cf8-4a29-9788-2d24a3332ff3": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of aws.elb.name", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": {}, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.elb.name" + } + }, + "incompleteColumns": {} } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "aws.elb.name", - "type": "timeseries" + } + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [ + { + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "indexpattern-datasource-layer-e5093980-9173-4b68-bc33-1796ed8423b2", + "type": "index-pattern" } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + "query": { + "language": "kuery", + "query": "data_stream.dataset : \"aws.elb_logs\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": true, + "fillOpacity": 0.5, + "fittingFunction": "Zero", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "cd7404bb-a676-4496-9221-89a0cbd1d5dc" + ], + "layerId": "e5093980-9173-4b68-bc33-1796ed8423b2", + "layerType": "data", + "palette": { + "name": "positive", + "type": "palette" + }, + "seriesType": "area", + "splitAccessor": "f9fcb0a9-3cf8-4a29-9788-2d24a3332ff3", + "xAccessor": "898b24bd-c207-40c9-82be-e7591d9f41d9", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(164,221,0,1)", + "forAccessor": "cd7404bb-a676-4496-9221-89a0cbd1d5dc" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full" + }, + "yRightScale": "linear", + "yTitle": "Count" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 14, @@ -546,68 +1150,195 @@ }, "panelIndex": "466e825b-6ee2-43c3-b221-21abe27612dd", "title": "ELB HTTP 2xx", - "version": "8.0.0", - "type": "visualization" + "type": "lens", + "version": "8.7.1" }, { "embeddableConfig": { - "title": "ELB HTTP 4xx", - "savedVis": { - "title": "ELB HTTP 4xx [Logs AWS]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": "0", - "axis_position": "left", - "axis_scale": "normal", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "logs-*", - "interval": "", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(174,161,255,1)", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "data_stream.dataset : \"aws.elb_logs\" and http.response.status_code \u003e= 400 and http.response.status_code \u003c 500" - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "HTTP 4xx", - "line_width": 1, - "metrics": [ - { - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "count" + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "tsvb_ad_hoc_logs-*/@timestamp": { + "allowNoIndex": true, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "logs-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "timeFieldName": "@timestamp", + "title": "logs-*" + } + }, + "datasourceStates": { + "formBased": { + "layers": { + "2d968df4-fa66-4dfe-aa7f-aa2b9de0a1bb": { + "columnOrder": [ + "654eb510-5d8b-4798-b6b6-c7665254595b", + "ea4ff8a5-00ac-484f-94ee-081b04e4e7eb", + "f1ef973b-ac52-4d84-af06-e4b0e66ceec3" + ], + "columns": { + "654eb510-5d8b-4798-b6b6-c7665254595b": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "ea4ff8a5-00ac-484f-94ee-081b04e4e7eb": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of aws.elb.name", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": {}, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.elb.name" + }, + "f1ef973b-ac52-4d84-af06-e4b0e66ceec3": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "http.response.status_code \u003e= 400 and http.response.status_code \u003c 500" + }, + "isBucketed": false, + "label": "HTTP 4xx", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + } + }, + "incompleteColumns": {} } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "aws.elb.name", - "type": "timeseries" + } + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [ + { + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "indexpattern-datasource-layer-2d968df4-fa66-4dfe-aa7f-aa2b9de0a1bb", + "type": "index-pattern" } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + "query": { + "language": "kuery", + "query": "data_stream.dataset : \"aws.elb_logs\"" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": true, + "fillOpacity": 0.5, + "fittingFunction": "Zero", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "f1ef973b-ac52-4d84-af06-e4b0e66ceec3" + ], + "layerId": "2d968df4-fa66-4dfe-aa7f-aa2b9de0a1bb", + "layerType": "data", + "palette": { + "name": "cool", + "type": "palette" + }, + "seriesType": "area", + "splitAccessor": "ea4ff8a5-00ac-484f-94ee-081b04e4e7eb", + "xAccessor": "654eb510-5d8b-4798-b6b6-c7665254595b", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(174,161,255,1)", + "forAccessor": "f1ef973b-ac52-4d84-af06-e4b0e66ceec3" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full" + }, + "yRightScale": "linear", + "yTitle": "Count" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 14, @@ -618,68 +1349,195 @@ }, "panelIndex": "d42994a6-922c-4f86-bf99-a46f87ff106d", "title": "ELB HTTP 4xx", - "version": "8.0.0", - "type": "visualization" + "type": "lens", + "version": "8.7.1" }, { "embeddableConfig": { - "title": "ELB HTTP 5xx", - "savedVis": { - "title": "ELB HTTP 5xx [Logs AWS]", - "description": "", - "uiState": {}, - "params": { - "axis_formatter": "number", - "axis_min": "0", - "axis_position": "left", - "axis_scale": "normal", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "logs-*", - "interval": "", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(244,78,59,1)", - "fill": 0.5, - "filter": { - "language": "kuery", - "query": "data_stream.dataset : \"aws.elb_logs\" and http.response.status_code \u003e= 500 and http.response.status_code \u003c 600" - }, - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "HTTP 5xx", - "line_width": 1, - "metrics": [ - { - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "count" + "attributes": { + "references": [], + "state": { + "adHocDataViews": { + "tsvb_ad_hoc_logs-*/@timestamp": { + "allowNoIndex": true, + "fieldAttrs": {}, + "fieldFormats": {}, + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "logs-*", + "runtimeFieldMap": {}, + "sourceFilters": [], + "timeFieldName": "@timestamp", + "title": "logs-*" + } + }, + "datasourceStates": { + "formBased": { + "layers": { + "86b89961-e138-4250-817f-09ccb9fde890": { + "columnOrder": [ + "19d2218b-2f84-49c9-9d13-f63bc8dbe9dc", + "d9bf042d-0783-4602-bddb-f9dfd2ec80e5", + "6bf8fa1a-eef6-433e-96ab-ea9805d75c90" + ], + "columns": { + "19d2218b-2f84-49c9-9d13-f63bc8dbe9dc": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "6bf8fa1a-eef6-433e-96ab-ea9805d75c90": { + "customLabel": true, + "dataType": "number", + "filter": { + "language": "kuery", + "query": "http.response.status_code \u003e= 500 and http.response.status_code \u003c 600" + }, + "isBucketed": false, + "label": "HTTP 5xx", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "d9bf042d-0783-4602-bddb-f9dfd2ec80e5": { + "dataType": "string", + "isBucketed": true, + "label": "Top 10 values of aws.elb.name", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderAgg": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": {}, + "scale": "ratio", + "sourceField": "___records___" + }, + "orderBy": { + "type": "custom" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "terms" + }, + "secondaryFields": [], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "aws.elb.name" + } + }, + "incompleteColumns": {} } - ], - "point_size": 1, - "separate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "terms", - "stacked": "none", - "terms_field": "aws.elb.name", - "type": "timeseries" + } + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [ + { + "id": "tsvb_ad_hoc_logs-*/@timestamp", + "name": "indexpattern-datasource-layer-86b89961-e138-4250-817f-09ccb9fde890", + "type": "index-pattern" } ], - "show_grid": 1, - "show_legend": 1, - "time_field": "", - "type": "timeseries", - "use_kibana_indexes": false, - "drop_last_bucket": 1 + "query": { + "language": "kuery", + "query": "data_stream.dataset : \"aws.elb_logs\" " + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": true, + "fillOpacity": 0.5, + "fittingFunction": "Zero", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "6bf8fa1a-eef6-433e-96ab-ea9805d75c90" + ], + "layerId": "86b89961-e138-4250-817f-09ccb9fde890", + "layerType": "data", + "palette": { + "name": "negative", + "type": "palette" + }, + "seriesType": "area", + "splitAccessor": "d9bf042d-0783-4602-bddb-f9dfd2ec80e5", + "xAccessor": "19d2218b-2f84-49c9-9d13-f63bc8dbe9dc", + "yConfig": [ + { + "axisMode": "left", + "color": "rgba(244,78,59,1)", + "forAccessor": "6bf8fa1a-eef6-433e-96ab-ea9805d75c90" + } + ] + } + ], + "legend": { + "isVisible": true, + "maxLines": 1, + "position": "bottom", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftExtent": { + "mode": "full" + }, + "yLeftScale": "linear", + "yRightExtent": { + "mode": "full" + }, + "yRightScale": "linear", + "yTitle": "Count" + } }, - "type": "metrics", - "data": { - "aggs": [], - "searchSource": {} - } - } + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 14, @@ -690,23 +1548,31 @@ }, "panelIndex": "f45aaa2c-c244-4d1a-8ad4-4794130b9827", "title": "ELB HTTP 5xx", - "version": "8.0.0", - "type": "visualization" + "type": "lens", + "version": "8.7.1" } ], "timeRestore": false, "title": "[Logs AWS] ELB Access Log Overview", "version": 1 }, + "coreMigrationVersion": "8.7.1", + "created_at": "2023-06-07T09:42:00.733Z", + "id": "aws-3af47420-3e7b-11ea-bb0a-69c3ca1d410f", + "migrationVersion": { + "dashboard": "8.7.0" + }, "references": [ { - "type": "index-pattern", + "id": "logs-*", "name": "2c97b32e-5548-429d-9ce0-1bbc3d2398ac:layer_1_source_index_pattern", - "id": "logs-*" + "type": "index-pattern" + }, + { + "id": "logs-*", + "name": "26ebbde3-ee0c-4b4d-8ab9-404cbe5786a9:indexpattern-datasource-layer-b523aefa-50f2-4cd9-b251-c80f9b62163b", + "type": "index-pattern" } ], - "migrationVersion": { - "dashboard": "8.1.0" - }, - "coreMigrationVersion": "8.1.0" + "type": "dashboard" } \ No newline at end of file diff --git a/packages/aws/manifest.yml b/packages/aws/manifest.yml index a581abe855b..faec7bd9035 100644 --- a/packages/aws/manifest.yml +++ b/packages/aws/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: aws title: AWS -version: 1.44.2 +version: 1.44.3 license: basic description: Collect logs and metrics from Amazon Web Services (AWS) with Elastic Agent. type: integration