diff --git a/packages/nginx/changelog.yml b/packages/nginx/changelog.yml index f4c0a3ff2d2..940ea840843 100644 --- a/packages/nginx/changelog.yml +++ b/packages/nginx/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.9.0" + changes: + - description: Migrate "Metrics Overview" dashboard visualizations to lens. + type: enhancement + link: https://github.com/elastic/integrations/pull/5780 - version: "1.8.0" changes: - description: Added changes to support TSDB Enablement. diff --git a/packages/nginx/data_stream/stubstatus/fields/agent.yml b/packages/nginx/data_stream/stubstatus/fields/agent.yml index fedf28e5ffd..4f62096bf6e 100644 --- a/packages/nginx/data_stream/stubstatus/fields/agent.yml +++ b/packages/nginx/data_stream/stubstatus/fields/agent.yml @@ -208,4 +208,4 @@ - name: id type: keyword ignore_above: 1024 - dimension: true \ No newline at end of file + dimension: true diff --git a/packages/nginx/img/nginx-metrics-overview.png b/packages/nginx/img/nginx-metrics-overview.png index 442cac85b4d..155f6b9c9d0 100644 Binary files a/packages/nginx/img/nginx-metrics-overview.png and b/packages/nginx/img/nginx-metrics-overview.png differ diff --git a/packages/nginx/kibana/dashboard/nginx-023d2930-f1a5-11e7-a9ef-93c69af7b129.json b/packages/nginx/kibana/dashboard/nginx-023d2930-f1a5-11e7-a9ef-93c69af7b129.json index a10d6748496..03bf35c737b 100644 --- a/packages/nginx/kibana/dashboard/nginx-023d2930-f1a5-11e7-a9ef-93c69af7b129.json +++ b/packages/nginx/kibana/dashboard/nginx-023d2930-f1a5-11e7-a9ef-93c69af7b129.json @@ -1,5 +1,11 @@ { "attributes": { + "controlGroupInput": { + "chainingSystem": "HIERARCHICAL", + "controlStyle": "oneLine", + "ignoreParentSettingsJSON": "{\"ignoreFilters\":false,\"ignoreQuery\":false,\"ignoreTimerange\":false,\"ignoreValidations\":false}", + "panelsJSON": "{\"14c79fd5-2185-457a-b152-44354b36244e\":{\"order\":0,\"width\":\"medium\",\"grow\":true,\"type\":\"optionsListControl\",\"explicitInput\":{\"fieldName\":\"host.hostname\",\"title\":\"Nginx instance\",\"singleSelect\":true,\"id\":\"14c79fd5-2185-457a-b152-44354b36244e\",\"selectedOptions\":[],\"enhancements\":{}}}}" + }, "description": "Overview dashboard for the Nginx integration in Metrics", "hits": 0, "kibanaSavedObjectMeta": { @@ -16,198 +22,1144 @@ "optionsJSON": { "darkTheme": false, "hidePanelTitles": false, + "syncColors": true, "useMargins": true }, "panelsJSON": [ { "embeddableConfig": { - "enhancements": {} + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-a10daa47-9387-4872-9e49-688d33a1f576", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "a10daa47-9387-4872-9e49-688d33a1f576": { + "columnOrder": [ + "8acae8c0-404d-4baa-91bc-961e0c95cff8", + "fccc7cc1-e8c9-4c7d-b2f2-2295e8f0e492" + ], + "columns": { + "8acae8c0-404d-4baa-91bc-961e0c95cff8": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "fccc7cc1-e8c9-4c7d-b2f2-2295e8f0e492": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Total", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.requests" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": true, + "fittingFunction": "Linear", + "layers": [ + { + "accessors": [ + "fccc7cc1-e8c9-4c7d-b2f2-2295e8f0e492" + ], + "layerId": "a10daa47-9387-4872-9e49-688d33a1f576", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "xAccessor": "8acae8c0-404d-4baa-91bc-961e0c95cff8", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "fccc7cc1-e8c9-4c7d-b2f2-2295e8f0e492" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": false, + "yTitle": "Total" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { - "h": 12, - "i": "1", + "h": 10, + "i": "634a8822-9fdf-4abd-a881-b22fa0a43883", "w": 16, "x": 0, - "y": 22 + "y": 0 }, - "panelIndex": "1", - "panelRefName": "panel_0", - "version": "7.9.3" + "panelIndex": "634a8822-9fdf-4abd-a881-b22fa0a43883", + "title": "Total requests [Metrics Nginx]", + "type": "lens", + "version": "8.5.0" }, { "embeddableConfig": { - "enhancements": {} + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-bded0ab3-b4c5-4629-8f41-46be94b014fa", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "bded0ab3-b4c5-4629-8f41-46be94b014fa": { + "columnOrder": [ + "6c45da72-ebae-4247-85b7-e47c7b713247", + "74e742f1-8311-41b9-a8aa-b73f57ce8a5f" + ], + "columns": { + "6c45da72-ebae-4247-85b7-e47c7b713247": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "74e742f1-8311-41b9-a8aa-b73f57ce8a5f": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Processed", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.handled" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "emphasizeFitting": true, + "fittingFunction": "Linear", + "layers": [ + { + "accessors": [ + "74e742f1-8311-41b9-a8aa-b73f57ce8a5f" + ], + "layerId": "bded0ab3-b4c5-4629-8f41-46be94b014fa", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "xAccessor": "6c45da72-ebae-4247-85b7-e47c7b713247", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "74e742f1-8311-41b9-a8aa-b73f57ce8a5f" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { - "h": 12, - "i": "2", + "h": 10, + "i": "7feb4b0c-7f27-4f31-9745-e93376a773b5", "w": 16, "x": 16, - "y": 22 + "y": 0 }, - "panelIndex": "2", - "panelRefName": "panel_1", - "version": "7.9.3" + "panelIndex": "7feb4b0c-7f27-4f31-9745-e93376a773b5", + "title": "Processed requests [Metrics Nginx]", + "type": "lens", + "version": "8.5.0" }, { "embeddableConfig": { - "enhancements": {} + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-792df28f-eb30-4aef-b064-bcf4c3db950e", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "792df28f-eb30-4aef-b064-bcf4c3db950e": { + "columnOrder": [ + "43164511-72b1-4abc-8ced-f0cbbfcbf223", + "628c1c93-7dab-408e-9d44-f21751ea881b" + ], + "columns": { + "43164511-72b1-4abc-8ced-f0cbbfcbf223": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "628c1c93-7dab-408e-9d44-f21751ea881b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Up", + "operationType": "unique_count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "host.hostname" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "emphasizeFitting": true, + "fittingFunction": "Linear", + "layers": [ + { + "accessors": [ + "628c1c93-7dab-408e-9d44-f21751ea881b" + ], + "layerId": "792df28f-eb30-4aef-b064-bcf4c3db950e", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "xAccessor": "43164511-72b1-4abc-8ced-f0cbbfcbf223", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "628c1c93-7dab-408e-9d44-f21751ea881b" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { - "h": 12, - "i": "3", + "h": 10, + "i": "16841075-2904-4a7e-b305-988646a2e88a", "w": 16, "x": 32, - "y": 22 + "y": 0 }, - "panelIndex": "3", - "panelRefName": "panel_2", - "version": "7.9.3" + "panelIndex": "16841075-2904-4a7e-b305-988646a2e88a", + "title": "Heartbeat / Up [Metrics Nginx]", + "type": "lens", + "version": "8.5.0" }, { "embeddableConfig": { - "enhancements": {} + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-68f5be4d-ee84-4e26-b918-34348165b200", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "68f5be4d-ee84-4e26-b918-34348165b200": { + "columnOrder": [ + "757abe76-bbd8-4f53-b9c3-27f3254da784", + "010509b7-ae6d-4c48-9f5b-b32891c2dd04" + ], + "columns": { + "010509b7-ae6d-4c48-9f5b-b32891c2dd04": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Active", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 0 + } + } + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.active" + }, + "757abe76-bbd8-4f53-b9c3-27f3254da784": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "010509b7-ae6d-4c48-9f5b-b32891c2dd04" + ], + "layerId": "68f5be4d-ee84-4e26-b918-34348165b200", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "xAccessor": "757abe76-bbd8-4f53-b9c3-27f3254da784", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "010509b7-ae6d-4c48-9f5b-b32891c2dd04" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "Active" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { - "h": 12, - "i": "4", + "h": 13, + "i": "45dee013-0721-4e1f-8d06-b8fb5e6ec462", "w": 23, "x": 0, "y": 10 }, - "panelIndex": "4", - "panelRefName": "panel_3", - "version": "7.9.3" + "panelIndex": "45dee013-0721-4e1f-8d06-b8fb5e6ec462", + "title": "Active connections [Metrics Nginx]", + "type": "lens", + "version": "8.5.0" }, { "embeddableConfig": { - "enhancements": {} + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-60eb8a28-fc70-48b8-8ff3-d29c526dae62", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "60eb8a28-fc70-48b8-8ff3-d29c526dae62": { + "columnOrder": [ + "e422a592-7efa-491b-98fa-8ebb2912f1b0", + "38e9b4b9-6de8-4761-91e6-aefd6140c286", + "af5e92ad-bbaa-4f5c-952f-acbc148071cd", + "1f8ad12b-a4e2-4d57-8def-2baf64172170" + ], + "columns": { + "1f8ad12b-a4e2-4d57-8def-2baf64172170": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Waiting", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 1 + } + } + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.waiting" + }, + "38e9b4b9-6de8-4761-91e6-aefd6140c286": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Reading", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 1 + } + } + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.reading" + }, + "af5e92ad-bbaa-4f5c-952f-acbc148071cd": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Writing", + "operationType": "average", + "params": { + "emptyAsNull": true, + "format": { + "id": "number", + "params": { + "decimals": 1 + } + } + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.writing" + }, + "e422a592-7efa-491b-98fa-8ebb2912f1b0": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "38e9b4b9-6de8-4761-91e6-aefd6140c286", + "af5e92ad-bbaa-4f5c-952f-acbc148071cd", + "1f8ad12b-a4e2-4d57-8def-2baf64172170" + ], + "layerId": "60eb8a28-fc70-48b8-8ff3-d29c526dae62", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "xAccessor": "e422a592-7efa-491b-98fa-8ebb2912f1b0", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "38e9b4b9-6de8-4761-91e6-aefd6140c286" + }, + { + "axisMode": "left", + "color": "#fcdc00", + "forAccessor": "1f8ad12b-a4e2-4d57-8def-2baf64172170" + }, + { + "color": "#009ce0", + "forAccessor": "af5e92ad-bbaa-4f5c-952f-acbc148071cd" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "Rate" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { - "h": 12, - "i": "5", + "h": 13, + "i": "194effcd-61a9-4239-8b53-9d8793cefde1", "w": 25, "x": 23, "y": 10 }, - "panelIndex": "5", - "panelRefName": "panel_4", - "version": "7.9.3" + "panelIndex": "194effcd-61a9-4239-8b53-9d8793cefde1", + "title": "Reading / Writing / Waiting Rates [Metrics Nginx]", + "type": "lens", + "version": "8.5.0" }, { "embeddableConfig": { - "enhancements": {} + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-a13ca8f1-f1f8-4db1-9788-8eb69c734338", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "a13ca8f1-f1f8-4db1-9788-8eb69c734338": { + "columnOrder": [ + "5e2012a5-8325-4678-baae-3ad48c69bdf1", + "4f3c2fa0-8ba9-4c2c-aa79-f13d3bd5e7bd", + "7e52bcac-e687-4e5c-bdec-474e2b432e0a" + ], + "columns": { + "4f3c2fa0-8ba9-4c2c-aa79-f13d3bd5e7bd": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Request rate", + "operationType": "differences", + "params": {}, + "references": [ + "7e52bcac-e687-4e5c-bdec-474e2b432e0a" + ], + "scale": "ratio" + }, + "5e2012a5-8325-4678-baae-3ad48c69bdf1": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "7e52bcac-e687-4e5c-bdec-474e2b432e0a": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of nginx.stubstatus.requests", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.requests" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "4f3c2fa0-8ba9-4c2c-aa79-f13d3bd5e7bd" + ], + "layerId": "a13ca8f1-f1f8-4db1-9788-8eb69c734338", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "xAccessor": "5e2012a5-8325-4678-baae-3ad48c69bdf1", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "4f3c2fa0-8ba9-4c2c-aa79-f13d3bd5e7bd" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yLeftScale": "linear", + "yTitle": "Rate" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { - "h": 5, - "i": "a6064ee6-47de-4c0f-81a0-69fbaca6e843", - "w": 9, + "h": 12, + "i": "ffa68274-1f0b-468e-9ff5-f486a1501307", + "w": 16, "x": 0, - "y": 0 + "y": 23 }, - "panelIndex": "a6064ee6-47de-4c0f-81a0-69fbaca6e843", - "panelRefName": "panel_5", - "version": "7.9.3" + "panelIndex": "ffa68274-1f0b-468e-9ff5-f486a1501307", + "title": "Request Rate [Metrics Nginx]", + "type": "lens", + "version": "8.5.0" }, { "embeddableConfig": { - "enhancements": {} + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-e6f11ede-9943-4073-b9f3-1f69d0e934a8", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "xy-visualization-layer-16f0980e-4f7a-43d0-b5aa-e8c75c4cd930", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "e6f11ede-9943-4073-b9f3-1f69d0e934a8": { + "columnOrder": [ + "8362014d-fc6c-4f9e-b63f-c0cd9a3227e6", + "794480e4-7b28-48f8-b134-9eb2663c7555", + "62bd04a2-24d4-4a3c-b87c-048838ffa64b", + "8da7e0b1-770d-4f2d-aac8-53a331ac1829", + "cd72fe6a-bf00-4504-8c64-05f052fcd724" + ], + "columns": { + "62bd04a2-24d4-4a3c-b87c-048838ffa64b": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of nginx.stubstatus.accepts", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.accepts" + }, + "794480e4-7b28-48f8-b134-9eb2663c7555": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Accepts rate", + "operationType": "differences", + "references": [ + "62bd04a2-24d4-4a3c-b87c-048838ffa64b" + ], + "scale": "ratio" + }, + "8362014d-fc6c-4f9e-b63f-c0cd9a3227e6": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "8da7e0b1-770d-4f2d-aac8-53a331ac1829": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Handled rate", + "operationType": "differences", + "params": {}, + "references": [ + "cd72fe6a-bf00-4504-8c64-05f052fcd724" + ], + "scale": "ratio" + }, + "cd72fe6a-bf00-4504-8c64-05f052fcd724": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of nginx.stubstatus.handled", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.handled" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "794480e4-7b28-48f8-b134-9eb2663c7555", + "8da7e0b1-770d-4f2d-aac8-53a331ac1829" + ], + "layerId": "e6f11ede-9943-4073-b9f3-1f69d0e934a8", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "xAccessor": "8362014d-fc6c-4f9e-b63f-c0cd9a3227e6", + "yConfig": [ + { + "axisMode": "left", + "color": "#68bc00", + "forAccessor": "794480e4-7b28-48f8-b134-9eb2663c7555" + }, + { + "axisMode": "left", + "color": "#009ce0", + "forAccessor": "8da7e0b1-770d-4f2d-aac8-53a331ac1829" + } + ] + }, + { + "annotations": [ + { + "color": "#ff0000", + "icon": "triangle", + "id": "cf13a990-6a33-427a-a85a-2f271116776a", + "key": { + "type": "point_in_time" + }, + "label": "Event", + "timeField": "@timestamp", + "type": "query" + } + ], + "ignoreGlobalFilters": true, + "layerId": "16f0980e-4f7a-43d0-b5aa-e8c75c4cd930", + "layerType": "annotations" + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "Rate" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { - "h": 10, - "i": "98a96fa3-86b3-47b9-9b08-ed2bb0839702", - "w": 13, - "x": 9, - "y": 0 - }, - "panelIndex": "98a96fa3-86b3-47b9-9b08-ed2bb0839702", - "panelRefName": "panel_6", - "version": "7.9.3" - }, - { - "embeddableConfig": { - "enhancements": {} - }, - "gridData": { - "h": 10, - "i": "fec121fc-be02-4a94-8916-a0220a50ea8b", - "w": 13, - "x": 22, - "y": 0 + "h": 12, + "i": "1711ea62-d9f5-418c-b244-81dc1832b9ef", + "w": 16, + "x": 16, + "y": 23 }, - "panelIndex": "fec121fc-be02-4a94-8916-a0220a50ea8b", - "panelRefName": "panel_7", - "version": "7.9.3" + "panelIndex": "1711ea62-d9f5-418c-b244-81dc1832b9ef", + "title": "Accepts and Handled Rate [Metrics Nginx]", + "type": "lens", + "version": "8.5.0" }, { "embeddableConfig": { - "enhancements": {} + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-f6abe70e-16d5-49ee-969f-99d0d3a324b0", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "indexpattern": { + "layers": { + "f6abe70e-16d5-49ee-969f-99d0d3a324b0": { + "columnOrder": [ + "a727bf69-dc76-4b27-9851-92ff5ca4a2f6", + "3e6b77bc-ca83-4077-ab28-fdd0f2b71d24", + "0fc94f76-019c-46d8-b7b8-121bd176e57b" + ], + "columns": { + "0fc94f76-019c-46d8-b7b8-121bd176e57b": { + "dataType": "number", + "isBucketed": false, + "label": "Maximum of nginx.stubstatus.dropped", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "nginx.stubstatus.dropped" + }, + "3e6b77bc-ca83-4077-ab28-fdd0f2b71d24": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Drops rate", + "operationType": "differences", + "references": [ + "0fc94f76-019c-46d8-b7b8-121bd176e57b" + ], + "scale": "ratio" + }, + "a727bf69-dc76-4b27-9851-92ff5ca4a2f6": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": true, + "includeEmptyRows": true, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "fittingFunction": "None", + "gridlinesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": 0 + }, + "layers": [ + { + "accessors": [ + "3e6b77bc-ca83-4077-ab28-fdd0f2b71d24" + ], + "layerId": "f6abe70e-16d5-49ee-969f-99d0d3a324b0", + "layerType": "data", + "position": "top", + "seriesType": "line", + "showGridlines": false, + "xAccessor": "a727bf69-dc76-4b27-9851-92ff5ca4a2f6", + "yConfig": [ + { + "axisMode": "left", + "color": "#bc0041", + "forAccessor": "3e6b77bc-ca83-4077-ab28-fdd0f2b71d24" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "bottom", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": true, + "yTitle": "Rate" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { - "h": 10, - "i": "0793bfb0-c51d-4684-82bd-4c7b64bfa1b7", - "w": 13, - "x": 35, - "y": 0 + "h": 12, + "i": "8fd75d58-0b72-47f4-b500-d0091e60bf3e", + "w": 16, + "x": 32, + "y": 23 }, - "panelIndex": "0793bfb0-c51d-4684-82bd-4c7b64bfa1b7", - "panelRefName": "panel_8", - "version": "7.9.3" + "panelIndex": "8fd75d58-0b72-47f4-b500-d0091e60bf3e", + "title": "Drops Rate [Metrics Nginx]", + "type": "lens", + "version": "8.5.0" } ], "timeRestore": false, "title": "[Metrics Nginx] Overview", "version": 1 }, + "coreMigrationVersion": "8.5.0", "id": "nginx-023d2930-f1a5-11e7-a9ef-93c69af7b129", "migrationVersion": { - "dashboard": "7.11.0" + "dashboard": "8.5.0" }, "references": [ { - "id": "nginx-555df8a0-f1a1-11e7-a9ef-93c69af7b129", - "name": "panel_0", - "type": "visualization" + "id": "metrics-*", + "name": "634a8822-9fdf-4abd-a881-b22fa0a43883:indexpattern-datasource-layer-a10daa47-9387-4872-9e49-688d33a1f576", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "7feb4b0c-7f27-4f31-9745-e93376a773b5:indexpattern-datasource-layer-bded0ab3-b4c5-4629-8f41-46be94b014fa", + "type": "index-pattern" }, { - "id": "nginx-a1d92240-f1a1-11e7-a9ef-93c69af7b129", - "name": "panel_1", - "type": "visualization" + "id": "metrics-*", + "name": "16841075-2904-4a7e-b305-988646a2e88a:indexpattern-datasource-layer-792df28f-eb30-4aef-b064-bcf4c3db950e", + "type": "index-pattern" }, { - "id": "nginx-d763a570-f1a1-11e7-a9ef-93c69af7b129", - "name": "panel_2", - "type": "visualization" + "id": "metrics-*", + "name": "45dee013-0721-4e1f-8d06-b8fb5e6ec462:indexpattern-datasource-layer-68f5be4d-ee84-4e26-b918-34348165b200", + "type": "index-pattern" }, { - "id": "nginx-47a8e0f0-f1a4-11e7-a9ef-93c69af7b129", - "name": "panel_3", - "type": "visualization" + "id": "metrics-*", + "name": "194effcd-61a9-4239-8b53-9d8793cefde1:indexpattern-datasource-layer-60eb8a28-fc70-48b8-8ff3-d29c526dae62", + "type": "index-pattern" }, { - "id": "nginx-dcbffe30-f1a4-11e7-a9ef-93c69af7b129", - "name": "panel_4", - "type": "visualization" + "id": "metrics-*", + "name": "ffa68274-1f0b-468e-9ff5-f486a1501307:indexpattern-datasource-layer-a13ca8f1-f1f8-4db1-9788-8eb69c734338", + "type": "index-pattern" }, { - "id": "nginx-ea7f9e10-3af6-11eb-94b7-0dab91df36a6", - "name": "panel_5", - "type": "visualization" + "id": "metrics-*", + "name": "1711ea62-d9f5-418c-b244-81dc1832b9ef:indexpattern-datasource-layer-e6f11ede-9943-4073-b9f3-1f69d0e934a8", + "type": "index-pattern" }, { - "id": "nginx-7cc9ea40-3af8-11eb-94b7-0dab91df36a6", - "name": "panel_6", - "type": "visualization" + "id": "metrics-*", + "name": "1711ea62-d9f5-418c-b244-81dc1832b9ef:xy-visualization-layer-16f0980e-4f7a-43d0-b5aa-e8c75c4cd930", + "type": "index-pattern" }, { - "id": "nginx-823b3c80-3af9-11eb-94b7-0dab91df36a6", - "name": "panel_7", - "type": "visualization" + "id": "metrics-*", + "name": "8fd75d58-0b72-47f4-b500-d0091e60bf3e:indexpattern-datasource-layer-f6abe70e-16d5-49ee-969f-99d0d3a324b0", + "type": "index-pattern" }, { - "id": "nginx-e302b5a0-3afb-11eb-94b7-0dab91df36a6", - "name": "panel_8", - "type": "visualization" + "id": "metrics-*", + "name": "controlGroup_14c79fd5-2185-457a-b152-44354b36244e:optionsListDataView", + "type": "index-pattern" } ], "type": "dashboard" diff --git a/packages/nginx/kibana/visualization/nginx-47a8e0f0-f1a4-11e7-a9ef-93c69af7b129.json b/packages/nginx/kibana/visualization/nginx-47a8e0f0-f1a4-11e7-a9ef-93c69af7b129.json deleted file mode 100644 index eea98143912..00000000000 --- a/packages/nginx/kibana/visualization/nginx-47a8e0f0-f1a4-11e7-a9ef-93c69af7b129.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Active connections [Metrics Nginx]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "default_index_pattern": "metrics-*", - "default_timefield": "@timestamp", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Active", - "line_width": "1", - "metrics": [ - { - "field": "nginx.stubstatus.active", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" - } - ], - "point_size": "0", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "tooltip_mode": "show_all", - "type": "timeseries" - }, - "title": "Active connections [Metrics Nginx]", - "type": "metrics" - } - }, - "id": "nginx-47a8e0f0-f1a4-11e7-a9ef-93c69af7b129", - "migrationVersion": { - "visualization": "7.9.3" - }, - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nginx/kibana/visualization/nginx-555df8a0-f1a1-11e7-a9ef-93c69af7b129.json b/packages/nginx/kibana/visualization/nginx-555df8a0-f1a1-11e7-a9ef-93c69af7b129.json deleted file mode 100644 index 7aebbafe6bd..00000000000 --- a/packages/nginx/kibana/visualization/nginx-555df8a0-f1a1-11e7-a9ef-93c69af7b129.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Request Rate [Metrics Nginx]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "default_index_pattern": "metrics-*", - "default_timefield": "@timestamp", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Request rate", - "line_width": 1, - "metrics": [ - { - "field": "nginx.stubstatus.requests", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "max" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "396ec980-f1a1-11e7-95d0-8ddf041d42a2", - "type": "derivative", - "unit": "" - } - ], - "point_size": "0", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "tooltip_mode": "show_all", - "type": "timeseries" - }, - "title": "Request Rate [Metrics Nginx]", - "type": "metrics" - } - }, - "id": "nginx-555df8a0-f1a1-11e7-a9ef-93c69af7b129", - "migrationVersion": { - "visualization": "7.9.3" - }, - "references": [], - "type": "visualization" -} diff --git a/packages/nginx/kibana/visualization/nginx-7cc9ea40-3af8-11eb-94b7-0dab91df36a6.json b/packages/nginx/kibana/visualization/nginx-7cc9ea40-3af8-11eb-94b7-0dab91df36a6.json deleted file mode 100644 index d10f38378d1..00000000000 --- a/packages/nginx/kibana/visualization/nginx-7cc9ea40-3af8-11eb-94b7-0dab91df36a6.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Total requests [Metrics Nginx]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Total", - "field": "nginx.stubstatus.requests" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "2", - "params": { - "drop_partials": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "scaleMetricValues": false, - "timeRange": { - "from": "now-15m", - "to": "now" - }, - "useNormalizedEsInterval": true - }, - "schema": "segment", - "type": "date_histogram" - } - ], - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "filter": true, - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false - }, - "labels": {}, - "legendPosition": "bottom", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Total" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "lineWidth": 2, - "mode": "normal", - "show": true, - "showCircles": false, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ], - "thresholdLine": { - "color": "#E7664C", - "show": false, - "style": "full", - "value": 10, - "width": 1 - }, - "times": [], - "type": "line", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Total" - }, - "type": "value" - } - ] - }, - "title": "Total requests [Metrics Nginx]", - "type": "line" - } - }, - "id": "nginx-7cc9ea40-3af8-11eb-94b7-0dab91df36a6", - "migrationVersion": { - "visualization": "7.9.3" - }, - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nginx/kibana/visualization/nginx-823b3c80-3af9-11eb-94b7-0dab91df36a6.json b/packages/nginx/kibana/visualization/nginx-823b3c80-3af9-11eb-94b7-0dab91df36a6.json deleted file mode 100644 index a9b46d54f8e..00000000000 --- a/packages/nginx/kibana/visualization/nginx-823b3c80-3af9-11eb-94b7-0dab91df36a6.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Processed requests [Metrics Nginx]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Processed", - "field": "nginx.stubstatus.handled" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "2", - "params": { - "drop_partials": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "scaleMetricValues": false, - "timeRange": { - "from": "now-15m", - "to": "now" - }, - "useNormalizedEsInterval": true - }, - "schema": "segment", - "type": "date_histogram" - } - ], - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "filter": true, - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false - }, - "labels": {}, - "legendPosition": "bottom", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Processed" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "lineWidth": 2, - "mode": "normal", - "show": true, - "showCircles": false, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ], - "thresholdLine": { - "color": "#E7664C", - "show": false, - "style": "full", - "value": 10, - "width": 1 - }, - "times": [], - "type": "line", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Processed" - }, - "type": "value" - } - ] - }, - "title": "Processed requests [Metrics Nginx]", - "type": "line" - } - }, - "id": "nginx-823b3c80-3af9-11eb-94b7-0dab91df36a6", - "migrationVersion": { - "visualization": "7.9.3" - }, - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nginx/kibana/visualization/nginx-a1d92240-f1a1-11e7-a9ef-93c69af7b129.json b/packages/nginx/kibana/visualization/nginx-a1d92240-f1a1-11e7-a9ef-93c69af7b129.json deleted file mode 100644 index 6b3341217b2..00000000000 --- a/packages/nginx/kibana/visualization/nginx-a1d92240-f1a1-11e7-a9ef-93c69af7b129.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Accepts and Handled Rate [Metrics Nginx]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "annotations": [ - { - "color": "#F00", - "icon": "fa-tag", - "id": "8644f980-f1a3-11e7-95d0-8ddf041d42a2", - "ignore_global_filters": 1, - "ignore_panel_filters": 1, - "index_pattern": "*", - "time_field": "@timestamp" - } - ], - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "default_index_pattern": "metrics-*", - "default_timefield": "@timestamp", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Accepts rate", - "line_width": 1, - "metrics": [ - { - "field": "nginx.stubstatus.accepts", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "max" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "396ec980-f1a1-11e7-95d0-8ddf041d42a2", - "type": "derivative", - "unit": "" - } - ], - "point_size": "0", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(0,156,224,1)", - "fill": "0", - "formatter": "number", - "id": "56dd33b0-f1a3-11e7-95d0-8ddf041d42a2", - "label": "Handled rate", - "line_width": 1, - "metrics": [ - { - "field": "nginx.stubstatus.handled", - "id": "56dd33b1-f1a3-11e7-95d0-8ddf041d42a2", - "type": "max" - }, - { - "field": "56dd33b1-f1a3-11e7-95d0-8ddf041d42a2", - "id": "56dd33b2-f1a3-11e7-95d0-8ddf041d42a2", - "type": "derivative", - "unit": "" - } - ], - "point_size": "0", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "tooltip_mode": "show_all", - "type": "timeseries" - }, - "title": "Accepts and Handled Rate [Metrics Nginx]", - "type": "metrics" - } - }, - "id": "nginx-a1d92240-f1a1-11e7-a9ef-93c69af7b129", - "migrationVersion": { - "visualization": "7.9.3" - }, - "references": [], - "type": "visualization" -} diff --git a/packages/nginx/kibana/visualization/nginx-d763a570-f1a1-11e7-a9ef-93c69af7b129.json b/packages/nginx/kibana/visualization/nginx-d763a570-f1a1-11e7-a9ef-93c69af7b129.json deleted file mode 100644 index 4c1ae42f66d..00000000000 --- a/packages/nginx/kibana/visualization/nginx-d763a570-f1a1-11e7-a9ef-93c69af7b129.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Drops Rate [Metrics Nginx]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "default_index_pattern": "metrics-*", - "default_timefield": "@timestamp", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(188,0,65,1)", - "fill": "0", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Drops rate", - "line_width": 1, - "metrics": [ - { - "field": "nginx.stubstatus.dropped", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "max" - }, - { - "field": "61ca57f2-469d-11e7-af02-69e470af7417", - "id": "396ec980-f1a1-11e7-95d0-8ddf041d42a2", - "type": "derivative", - "unit": "" - } - ], - "point_size": "0", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "tooltip_mode": "show_all", - "type": "timeseries" - }, - "title": "Drops Rate [Metrics Nginx]", - "type": "metrics" - } - }, - "id": "nginx-d763a570-f1a1-11e7-a9ef-93c69af7b129", - "migrationVersion": { - "visualization": "7.9.3" - }, - "references": [], - "type": "visualization" -} diff --git a/packages/nginx/kibana/visualization/nginx-dcbffe30-f1a4-11e7-a9ef-93c69af7b129.json b/packages/nginx/kibana/visualization/nginx-dcbffe30-f1a4-11e7-a9ef-93c69af7b129.json deleted file mode 100644 index 948b78d829c..00000000000 --- a/packages/nginx/kibana/visualization/nginx-dcbffe30-f1a4-11e7-a9ef-93c69af7b129.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Reading / Writing / Waiting Rates [Metrics Nginx]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "axis_formatter": "number", - "axis_position": "left", - "axis_scale": "normal", - "default_index_pattern": "metrics-*", - "default_timefield": "@timestamp", - "id": "61ca57f0-469d-11e7-af02-69e470af7417", - "index_pattern": "metrics-*", - "interval": "auto", - "isModelInvalid": false, - "legend_position": "bottom", - "series": [ - { - "axis_position": "right", - "chart_type": "line", - "color": "#68BC00", - "fill": "0", - "formatter": "number", - "id": "61ca57f1-469d-11e7-af02-69e470af7417", - "label": "Reading", - "line_width": 1, - "metrics": [ - { - "field": "nginx.stubstatus.reading", - "id": "61ca57f2-469d-11e7-af02-69e470af7417", - "type": "avg" - } - ], - "point_size": "0", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(0,156,224,1)", - "fill": "0", - "formatter": "number", - "id": "b1773680-f1a4-11e7-95d0-8ddf041d42a2", - "label": "Writing", - "line_width": 1, - "metrics": [ - { - "field": "nginx.stubstatus.writing", - "id": "b1773681-f1a4-11e7-95d0-8ddf041d42a2", - "type": "avg" - } - ], - "point_size": "0", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - }, - { - "axis_position": "right", - "chart_type": "line", - "color": "rgba(252,220,0,1)", - "fill": "0", - "formatter": "number", - "id": "b68aa6c0-f1a4-11e7-95d0-8ddf041d42a2", - "label": "Waiting", - "line_width": 1, - "metrics": [ - { - "field": "nginx.stubstatus.waiting", - "id": "b68aa6c1-f1a4-11e7-95d0-8ddf041d42a2", - "type": "avg" - } - ], - "point_size": "0", - "seperate_axis": 0, - "split_color_mode": "gradient", - "split_mode": "everything", - "stacked": "none" - } - ], - "show_grid": 1, - "show_legend": 1, - "time_field": "@timestamp", - "tooltip_mode": "show_all", - "type": "timeseries" - }, - "title": "Reading / Writing / Waiting Rates [Metrics Nginx]", - "type": "metrics" - } - }, - "id": "nginx-dcbffe30-f1a4-11e7-a9ef-93c69af7b129", - "migrationVersion": { - "visualization": "7.9.3" - }, - "references": [], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nginx/kibana/visualization/nginx-e302b5a0-3afb-11eb-94b7-0dab91df36a6.json b/packages/nginx/kibana/visualization/nginx-e302b5a0-3afb-11eb-94b7-0dab91df36a6.json deleted file mode 100644 index 346e617d11a..00000000000 --- a/packages/nginx/kibana/visualization/nginx-e302b5a0-3afb-11eb-94b7-0dab91df36a6.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Heartbeat / Up [Metrics Nginx]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Up", - "field": "host.hostname" - }, - "schema": "metric", - "type": "cardinality" - }, - { - "enabled": true, - "id": "2", - "params": { - "drop_partials": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "scaleMetricValues": false, - "timeRange": { - "from": "now-15m", - "to": "now" - }, - "useNormalizedEsInterval": true - }, - "schema": "segment", - "type": "date_histogram" - } - ], - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "filter": true, - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false - }, - "labels": {}, - "legendPosition": "bottom", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Up" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "lineWidth": 2, - "mode": "normal", - "show": true, - "showCircles": false, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ], - "thresholdLine": { - "color": "#E7664C", - "show": false, - "style": "full", - "value": 10, - "width": 1 - }, - "times": [], - "type": "line", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Up" - }, - "type": "value" - } - ] - }, - "title": "Heartbeat / Up [Metrics Nginx]", - "type": "line" - } - }, - "id": "nginx-e302b5a0-3afb-11eb-94b7-0dab91df36a6", - "migrationVersion": { - "visualization": "7.9.3" - }, - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nginx/kibana/visualization/nginx-ea7f9e10-3af6-11eb-94b7-0dab91df36a6.json b/packages/nginx/kibana/visualization/nginx-ea7f9e10-3af6-11eb-94b7-0dab91df36a6.json deleted file mode 100644 index 6de0f9bf9e8..00000000000 --- a/packages/nginx/kibana/visualization/nginx-ea7f9e10-3af6-11eb-94b7-0dab91df36a6.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Nginx instance [Metrics Nginx]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "controls": [ - { - "fieldName": "host.hostname", - "id": "1607611131189", - "indexPatternRefName": "control_0_index_pattern", - "label": "Nginx instance", - "options": { - "dynamicOptions": true, - "multiselect": false, - "order": "desc", - "size": 5, - "type": "terms" - }, - "parent": "", - "type": "list" - } - ], - "pinFilters": false, - "updateFiltersOnChange": true, - "useTimeFilter": false - }, - "title": "Nginx instance [Metrics Nginx]", - "type": "input_control_vis" - } - }, - "id": "nginx-ea7f9e10-3af6-11eb-94b7-0dab91df36a6", - "migrationVersion": { - "visualization": "7.9.3" - }, - "references": [ - { - "id": "metrics-*", - "name": "control_0_index_pattern", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nginx/manifest.yml b/packages/nginx/manifest.yml index 964bc75eb75..694ad6d2484 100644 --- a/packages/nginx/manifest.yml +++ b/packages/nginx/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: nginx title: Nginx -version: 1.8.0 +version: 1.9.0 license: basic description: Collect logs and metrics from Nginx HTTP servers with Elastic Agent. type: integration @@ -10,7 +10,7 @@ categories: - observability release: ga conditions: - kibana.version: "^8.0.0" + kibana.version: "^8.5.0" screenshots: - src: /img/nginx-metrics-overview.png title: Nginx metrics overview