diff --git a/packages/nats/changelog.yml b/packages/nats/changelog.yml index 6338e299661..9c8d2daaf75 100644 --- a/packages/nats/changelog.yml +++ b/packages/nats/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.3.3" + changes: + - description: Migrate Logs Overview dashboard visualizations to lens. + type: enhancement + link: https://github.com/elastic/integrations/pull/1 #FIXME - version: "1.3.2" changes: - description: Add null check to the rename processor diff --git a/packages/nats/img/filebeat_nats_dashboard.png b/packages/nats/img/filebeat_nats_dashboard.png index 5b6cbe27dfc..ed81b4e2586 100644 Binary files a/packages/nats/img/filebeat_nats_dashboard.png and b/packages/nats/img/filebeat_nats_dashboard.png differ diff --git a/packages/nats/kibana/dashboard/nats-Logs-nats-overview.json b/packages/nats/kibana/dashboard/nats-Logs-nats-overview.json index 6bcec1a8905..d2896e186e1 100644 --- a/packages/nats/kibana/dashboard/nats-Logs-nats-overview.json +++ b/packages/nats/kibana/dashboard/nats-Logs-nats-overview.json @@ -1,7 +1,6 @@ { "attributes": { "description": "Overview of NATS server statistics", - "hits": 0, "kibanaSavedObjectMeta": { "searchSourceJSON": { "filter": [], @@ -12,15 +11,180 @@ } }, "optionsJSON": { - "darkTheme": false, "hidePanelTitles": false, + "syncColors": false, + "syncCursor": true, + "syncTooltips": false, "useMargins": true }, "panelsJSON": [ { "embeddableConfig": { - "hidePanelTitles": false, - "title": "Message Types Timeline" + "attributes": { + "description": "", + "references": [ + { + "id": "logs-*", + "name": "indexpattern-datasource-layer-925ee679-1d09-456c-830a-ae642deb4bc2", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "925ee679-1d09-456c-830a-ae642deb4bc2": { + "columnOrder": [ + "79b880b3-7a64-498e-8602-dd2e797fe3f4", + "2c80a065-40e7-4387-aa23-72309ba7f6da", + "78a63af2-97d5-496f-81be-b426a613f909" + ], + "columns": { + "2c80a065-40e7-4387-aa23-72309ba7f6da": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Top 15 unusual terms in nats.log.msg.type", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderBy": { + "type": "significant" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 15 + }, + "scale": "ordinal", + "sourceField": "nats.log.msg.type" + }, + "78a63af2-97d5-496f-81be-b426a613f909": { + "dataType": "number", + "isBucketed": false, + "label": "Count of records", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "79b880b3-7a64-498e-8602-dd2e797fe3f4": { + "customLabel": true, + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "ignoreGlobalFilters": false, + "incompleteColumns": {} + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "data_stream.dataset: nats.log" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "curveType": "CURVE_MONOTONE_X", + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": -90 + }, + "layers": [ + { + "accessors": [ + "78a63af2-97d5-496f-81be-b426a613f909" + ], + "isHistogram": true, + "layerId": "925ee679-1d09-456c-830a-ae642deb4bc2", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "simpleView": false, + "splitAccessor": "2c80a065-40e7-4387-aa23-72309ba7f6da", + "xAccessor": "79b880b3-7a64-498e-8602-dd2e797fe3f4", + "xScaleType": "time", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "78a63af2-97d5-496f-81be-b426a613f909" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": false, + "yLeftExtent": { + "enforce": true, + "mode": "full" + }, + "yLeftScale": "linear", + "yRightScale": "linear", + "yTitle": "Count" + } + }, + "title": "Message Types Timeline", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 11, @@ -30,14 +194,177 @@ "y": 0 }, "panelIndex": "1", - "panelRefName": "panel_0", - "title": "Message Types Timeline", - "version": "7.10.0" + "type": "lens", + "version": "8.10.2" }, { "embeddableConfig": { - "hidePanelTitles": false, - "title": "Communication Directions" + "attributes": { + "description": "", + "references": [ + { + "id": "logs-*", + "name": "indexpattern-datasource-layer-5c796f36-f2b8-466e-816e-ab7b4bcc6ee4", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "5c796f36-f2b8-466e-816e-ab7b4bcc6ee4": { + "columnOrder": [ + "c09dfbfb-10f0-4017-bc14-a5bdd998e2aa", + "cc45a132-4764-4037-acc1-63067b326097", + "153a8060-44be-4c1e-9175-1687c8e051cc" + ], + "columns": { + "153a8060-44be-4c1e-9175-1687c8e051cc": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "c09dfbfb-10f0-4017-bc14-a5bdd998e2aa": { + "customLabel": true, + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "cc45a132-4764-4037-acc1-63067b326097": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Top 2 unusual terms in network.direction", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderBy": { + "type": "significant" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 2 + }, + "scale": "ordinal", + "sourceField": "network.direction" + } + }, + "ignoreGlobalFilters": false, + "incompleteColumns": {} + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "data_stream.dataset: nats.log" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": -90 + }, + "layers": [ + { + "accessors": [ + "153a8060-44be-4c1e-9175-1687c8e051cc" + ], + "isHistogram": true, + "layerId": "5c796f36-f2b8-466e-816e-ab7b4bcc6ee4", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "simpleView": false, + "splitAccessor": "cc45a132-4764-4037-acc1-63067b326097", + "xAccessor": "c09dfbfb-10f0-4017-bc14-a5bdd998e2aa", + "xScaleType": "time", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "153a8060-44be-4c1e-9175-1687c8e051cc" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": false, + "yLeftExtent": { + "enforce": true, + "mode": "full" + }, + "yLeftScale": "linear", + "yRightScale": "linear", + "yTitle": "Count" + } + }, + "title": "Communication Directions", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 11, @@ -47,14 +374,177 @@ "y": 0 }, "panelIndex": "2", - "panelRefName": "panel_1", - "title": "Communication Directions", - "version": "7.10.0" + "type": "lens", + "version": "8.10.2" }, { "embeddableConfig": { - "hidePanelTitles": false, - "title": "Topics Timeline" + "attributes": { + "description": "", + "references": [ + { + "id": "logs-*", + "name": "indexpattern-datasource-layer-ee4b8f80-6f2c-4354-8b2b-c485826903df", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "ee4b8f80-6f2c-4354-8b2b-c485826903df": { + "columnOrder": [ + "955a307b-a35d-45eb-ab08-07c93d1d586d", + "17e17ee5-238a-433f-a232-de5cc27be1b5", + "857f62d5-5b8a-4781-884f-8187b3e60f36" + ], + "columns": { + "17e17ee5-238a-433f-a232-de5cc27be1b5": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Top 5 unusual terms in nats.log.msg.subject", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderBy": { + "type": "significant" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "nats.log.msg.subject" + }, + "857f62d5-5b8a-4781-884f-8187b3e60f36": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "955a307b-a35d-45eb-ab08-07c93d1d586d": { + "customLabel": true, + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "ignoreGlobalFilters": false, + "incompleteColumns": {} + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "data_stream.dataset: nats.log" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": -90 + }, + "layers": [ + { + "accessors": [ + "857f62d5-5b8a-4781-884f-8187b3e60f36" + ], + "isHistogram": true, + "layerId": "ee4b8f80-6f2c-4354-8b2b-c485826903df", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "line", + "simpleView": false, + "splitAccessor": "17e17ee5-238a-433f-a232-de5cc27be1b5", + "xAccessor": "955a307b-a35d-45eb-ab08-07c93d1d586d", + "xScaleType": "time", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "857f62d5-5b8a-4781-884f-8187b3e60f36" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": false, + "yLeftExtent": { + "enforce": true, + "mode": "full" + }, + "yLeftScale": "linear", + "yRightScale": "linear", + "yTitle": "Count" + } + }, + "title": "Topics Timeline", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 12, @@ -64,17 +554,150 @@ "y": 20 }, "panelIndex": "3", - "panelRefName": "panel_2", - "title": "Topics Timeline", - "version": "7.10.0" + "type": "lens", + "version": "8.10.2" }, { "embeddableConfig": { - "hidePanelTitles": false, - "title": " Bytes Timeline", - "vis": { - "legendOpen": false - } + "attributes": { + "description": "", + "references": [ + { + "id": "logs-*", + "name": "indexpattern-datasource-layer-f8e267a2-2708-4abd-85e9-8e6b4b4a6f57", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "f8e267a2-2708-4abd-85e9-8e6b4b4a6f57": { + "columnOrder": [ + "755f646c-b501-4189-9a2d-5e573f8887ae", + "89136dfa-2822-463a-8bc7-2620076bb4cb" + ], + "columns": { + "755f646c-b501-4189-9a2d-5e573f8887ae": { + "customLabel": true, + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "89136dfa-2822-463a-8bc7-2620076bb4cb": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Sum of Message Bytes", + "operationType": "sum", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "nats.log.msg.bytes" + } + }, + "ignoreGlobalFilters": false, + "incompleteColumns": {} + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "data_stream.dataset: nats.log" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": -90 + }, + "layers": [ + { + "accessors": [ + "89136dfa-2822-463a-8bc7-2620076bb4cb" + ], + "isHistogram": true, + "layerId": "f8e267a2-2708-4abd-85e9-8e6b4b4a6f57", + "layerType": "data", + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "seriesType": "line", + "simpleView": false, + "xAccessor": "755f646c-b501-4189-9a2d-5e573f8887ae", + "xScaleType": "time", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "89136dfa-2822-463a-8bc7-2620076bb4cb" + } + ] + } + ], + "legend": { + "isVisible": false, + "legendSize": "auto", + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": false, + "yLeftExtent": { + "enforce": true, + "mode": "full" + }, + "yLeftScale": "linear", + "yRightScale": "linear", + "yTitle": "Sum of Message Bytes" + } + }, + "title": " Bytes Timeline", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 9, @@ -84,17 +707,125 @@ "y": 11 }, "panelIndex": "4", - "panelRefName": "panel_3", - "title": " Bytes Timeline", - "version": "7.10.0" + "type": "lens", + "version": "8.10.2" }, { "embeddableConfig": { - "hidePanelTitles": false, - "title": "Communication Directions Distribution", - "vis": { - "legendOpen": false - } + "attributes": { + "description": "", + "references": [ + { + "id": "logs-*", + "name": "indexpattern-datasource-layer-830db7a7-a4c8-4d75-a98f-4a25f204fcec", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "830db7a7-a4c8-4d75-a98f-4a25f204fcec": { + "columnOrder": [ + "5b80e3e5-6b55-4724-ac19-e025b990dc7e", + "45f7477a-663b-49e0-b4a4-e88e1d14ff3b" + ], + "columns": { + "45f7477a-663b-49e0-b4a4-e88e1d14ff3b": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "5b80e3e5-6b55-4724-ac19-e025b990dc7e": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Top 2 unusual terms in network.direction", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderBy": { + "type": "significant" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 2 + }, + "scale": "ordinal", + "sourceField": "network.direction" + } + }, + "ignoreGlobalFilters": false, + "incompleteColumns": {} + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "data_stream.dataset: nats.log" + }, + "visualization": { + "layers": [ + { + "categoryDisplay": "hide", + "emptySizeRatio": 0.3, + "layerId": "830db7a7-a4c8-4d75-a98f-4a25f204fcec", + "layerType": "data", + "legendDisplay": "hide", + "legendMaxLines": 1, + "legendPosition": "right", + "legendSize": "auto", + "metrics": [ + "45f7477a-663b-49e0-b4a4-e88e1d14ff3b" + ], + "nestedLegend": false, + "numberDisplay": "percent", + "percentDecimals": 2, + "primaryGroups": [ + "5b80e3e5-6b55-4724-ac19-e025b990dc7e" + ], + "secondaryGroups": [], + "showValuesInLegend": true, + "truncateLegend": true + } + ], + "palette": { + "name": "default", + "type": "palette" + }, + "shape": "donut" + } + }, + "title": "Communication Directions Distribution", + "type": "lens", + "visualizationType": "lnsPie" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 9, @@ -104,17 +835,125 @@ "y": 11 }, "panelIndex": "5", - "panelRefName": "panel_4", - "title": "Communication Directions Distribution", - "version": "7.10.0" + "type": "lens", + "version": "8.10.2" }, { "embeddableConfig": { - "hidePanelTitles": false, - "title": "Log Level Distribution", - "vis": { - "legendOpen": false - } + "attributes": { + "description": "", + "references": [ + { + "id": "logs-*", + "name": "indexpattern-datasource-layer-29b8485d-9e01-47ee-93a1-46be8dfdf4df", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "29b8485d-9e01-47ee-93a1-46be8dfdf4df": { + "columnOrder": [ + "7dcf210c-4daa-4761-8ce6-9fb3238a4832", + "0c40efc9-492c-4e98-b7a6-2d00a644de8e" + ], + "columns": { + "0c40efc9-492c-4e98-b7a6-2d00a644de8e": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "7dcf210c-4daa-4761-8ce6-9fb3238a4832": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Top 10 unusual terms in log.level", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderBy": { + "type": "significant" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "log.level" + } + }, + "ignoreGlobalFilters": false, + "incompleteColumns": {} + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "data_stream.dataset: nats.log" + }, + "visualization": { + "layers": [ + { + "categoryDisplay": "hide", + "emptySizeRatio": 0.3, + "layerId": "29b8485d-9e01-47ee-93a1-46be8dfdf4df", + "layerType": "data", + "legendDisplay": "hide", + "legendMaxLines": 1, + "legendPosition": "right", + "legendSize": "auto", + "metrics": [ + "0c40efc9-492c-4e98-b7a6-2d00a644de8e" + ], + "nestedLegend": false, + "numberDisplay": "percent", + "percentDecimals": 2, + "primaryGroups": [ + "7dcf210c-4daa-4761-8ce6-9fb3238a4832" + ], + "secondaryGroups": [], + "showValuesInLegend": true, + "truncateLegend": true + } + ], + "palette": { + "name": "default", + "type": "palette" + }, + "shape": "donut" + } + }, + "title": "Log Level Distribution", + "type": "lens", + "visualizationType": "lnsPie" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 9, @@ -124,17 +963,125 @@ "y": 11 }, "panelIndex": "6", - "panelRefName": "panel_5", - "title": "Log Level Distribution", - "version": "7.10.0" + "type": "lens", + "version": "8.10.2" }, { "embeddableConfig": { - "hidePanelTitles": false, - "title": "Message Type Distribution", - "vis": { - "legendOpen": false - } + "attributes": { + "description": "", + "references": [ + { + "id": "logs-*", + "name": "indexpattern-datasource-layer-701c8504-e718-41e6-8257-70f2099a9100", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "701c8504-e718-41e6-8257-70f2099a9100": { + "columnOrder": [ + "e03d7873-bfd1-41fa-9393-c674709e8017", + "5b86c571-cce5-4bac-992b-9b6db20532b5" + ], + "columns": { + "5b86c571-cce5-4bac-992b-9b6db20532b5": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "e03d7873-bfd1-41fa-9393-c674709e8017": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Top 15 unusual terms in nats.log.msg.type", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderBy": { + "type": "significant" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 15 + }, + "scale": "ordinal", + "sourceField": "nats.log.msg.type" + } + }, + "ignoreGlobalFilters": false, + "incompleteColumns": {} + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "data_stream.dataset: nats.log" + }, + "visualization": { + "layers": [ + { + "categoryDisplay": "default", + "emptySizeRatio": 0.3, + "layerId": "701c8504-e718-41e6-8257-70f2099a9100", + "layerType": "data", + "legendDisplay": "hide", + "legendMaxLines": 1, + "legendPosition": "right", + "legendSize": "auto", + "metrics": [ + "5b86c571-cce5-4bac-992b-9b6db20532b5" + ], + "nestedLegend": false, + "numberDisplay": "percent", + "percentDecimals": 2, + "primaryGroups": [ + "e03d7873-bfd1-41fa-9393-c674709e8017" + ], + "secondaryGroups": [], + "showValuesInLegend": true, + "truncateLegend": true + } + ], + "palette": { + "name": "default", + "type": "palette" + }, + "shape": "donut" + } + }, + "title": "Message Type Distribution", + "type": "lens", + "visualizationType": "lnsPie" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 11, @@ -144,14 +1091,177 @@ "y": 0 }, "panelIndex": "7", - "panelRefName": "panel_6", - "title": "Message Type Distribution", - "version": "7.10.0" + "type": "lens", + "version": "8.10.2" }, { "embeddableConfig": { - "hidePanelTitles": false, - "title": "Log Level Timeline" + "attributes": { + "description": "", + "references": [ + { + "id": "logs-*", + "name": "indexpattern-datasource-layer-9723407e-f7f8-44fc-b117-b67efbc9ffa4", + "type": "index-pattern" + } + ], + "state": { + "adHocDataViews": {}, + "datasourceStates": { + "formBased": { + "layers": { + "9723407e-f7f8-44fc-b117-b67efbc9ffa4": { + "columnOrder": [ + "f9adab8a-e26e-45f0-89ac-afcb2c43a847", + "5a88f569-4961-4d3c-acd7-537844854bea", + "3dcf45e0-14ba-41bf-900c-b16ba9897ee0" + ], + "columns": { + "3dcf45e0-14ba-41bf-900c-b16ba9897ee0": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Count", + "operationType": "count", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "___records___" + }, + "5a88f569-4961-4d3c-acd7-537844854bea": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Top 10 unusual terms in log.level", + "operationType": "terms", + "params": { + "exclude": [], + "excludeIsRegex": false, + "include": [], + "includeIsRegex": false, + "missingBucket": false, + "orderBy": { + "type": "significant" + }, + "orderDirection": "desc", + "otherBucket": true, + "parentFormat": { + "id": "terms" + }, + "size": 10 + }, + "scale": "ordinal", + "sourceField": "log.level" + }, + "f9adab8a-e26e-45f0-89ac-afcb2c43a847": { + "customLabel": true, + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "ignoreGlobalFilters": false, + "incompleteColumns": {} + } + } + }, + "indexpattern": { + "layers": {} + }, + "textBased": { + "layers": {} + } + }, + "filters": [], + "internalReferences": [], + "query": { + "language": "kuery", + "query": "data_stream.dataset: nats.log" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "curveType": "LINEAR", + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "labelsOrientation": { + "x": 0, + "yLeft": 0, + "yRight": -90 + }, + "layers": [ + { + "accessors": [ + "3dcf45e0-14ba-41bf-900c-b16ba9897ee0" + ], + "isHistogram": true, + "layerId": "9723407e-f7f8-44fc-b117-b67efbc9ffa4", + "layerType": "data", + "palette": { + "name": "default", + "type": "palette" + }, + "seriesType": "area_stacked", + "simpleView": false, + "splitAccessor": "5a88f569-4961-4d3c-acd7-537844854bea", + "xAccessor": "f9adab8a-e26e-45f0-89ac-afcb2c43a847", + "xScaleType": "time", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "3dcf45e0-14ba-41bf-900c-b16ba9897ee0" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "auto", + "maxLines": 1, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "bar_stacked", + "showCurrentTimeMarker": false, + "tickLabelsVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "valueLabels": "hide", + "valuesInLegend": false, + "yLeftExtent": { + "enforce": true, + "mode": "full" + }, + "yLeftScale": "linear", + "yRightScale": "linear", + "yTitle": "Count" + } + }, + "title": "Log Level Timeline", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 9, @@ -161,14 +1271,13 @@ "y": 11 }, "panelIndex": "8", - "panelRefName": "panel_7", - "title": "Log Level Timeline", - "version": "7.10.0" + "type": "lens", + "version": "8.10.2" }, { "embeddableConfig": { - "hidePanelTitles": false, - "title": "Client IP Count Timeline" + "enhancements": {}, + "hidePanelTitles": false }, "gridData": { "h": 12, @@ -178,68 +1287,67 @@ "y": 20 }, "panelIndex": "9", - "panelRefName": "panel_8", + "panelRefName": "panel_9", "title": "Client IP Count Timeline", - "version": "7.10.0" + "type": "visualization", + "version": "8.10.2" } ], "timeRestore": false, "title": "[Logs NATS] Overview", "version": 1 }, + "coreMigrationVersion": "8.8.0", + "created_at": "2023-10-03T05:56:30.704Z", "id": "nats-Logs-nats-overview", - "migrationVersion": { - "dashboard": "7.9.3" - }, - "namespaces": [ - "default" - ], + "managed": false, "references": [ { - "id": "nats-6987a800-41a8-11e9-a4da-b1df688edbcd", - "name": "panel_0", - "type": "visualization" + "id": "logs-*", + "name": "1:indexpattern-datasource-layer-925ee679-1d09-456c-830a-ae642deb4bc2", + "type": "index-pattern" }, { - "id": "nats-0b2061d0-41ad-11e9-a4da-b1df688edbcd", - "name": "panel_1", - "type": "visualization" + "id": "logs-*", + "name": "2:indexpattern-datasource-layer-5c796f36-f2b8-466e-816e-ab7b4bcc6ee4", + "type": "index-pattern" }, { - "id": "nats-4a6d9ec0-41a8-11e9-a4da-b1df688edbcd", - "name": "panel_2", - "type": "visualization" + "id": "logs-*", + "name": "3:indexpattern-datasource-layer-ee4b8f80-6f2c-4354-8b2b-c485826903df", + "type": "index-pattern" }, { - "id": "nats-c3d1ab80-41a8-11e9-a4da-b1df688edbcd", - "name": "panel_3", - "type": "visualization" + "id": "logs-*", + "name": "4:indexpattern-datasource-layer-f8e267a2-2708-4abd-85e9-8e6b4b4a6f57", + "type": "index-pattern" }, { - "id": "nats-7716c780-41ad-11e9-a4da-b1df688edbcd", - "name": "panel_4", - "type": "visualization" + "id": "logs-*", + "name": "5:indexpattern-datasource-layer-830db7a7-a4c8-4d75-a98f-4a25f204fcec", + "type": "index-pattern" }, { - "id": "nats-3f6cca40-41ae-11e9-a4da-b1df688edbcd", - "name": "panel_5", - "type": "visualization" + "id": "logs-*", + "name": "6:indexpattern-datasource-layer-29b8485d-9e01-47ee-93a1-46be8dfdf4df", + "type": "index-pattern" }, { - "id": "nats-7ed62870-41ae-11e9-a4da-b1df688edbcd", - "name": "panel_6", - "type": "visualization" + "id": "logs-*", + "name": "7:indexpattern-datasource-layer-701c8504-e718-41e6-8257-70f2099a9100", + "type": "index-pattern" }, { - "id": "nats-04083600-41af-11e9-a4da-b1df688edbcd", - "name": "panel_7", - "type": "visualization" + "id": "logs-*", + "name": "8:indexpattern-datasource-layer-9723407e-f7f8-44fc-b117-b67efbc9ffa4", + "type": "index-pattern" }, { "id": "nats-c669ae20-41ed-11e9-ac5c-71ffa38a62e3", - "name": "panel_8", + "name": "9:panel_9", "type": "visualization" } ], - "type": "dashboard" + "type": "dashboard", + "typeMigrationVersion": "8.9.0" } \ No newline at end of file diff --git a/packages/nats/kibana/visualization/nats-04083600-41af-11e9-a4da-b1df688edbcd.json b/packages/nats/kibana/visualization/nats-04083600-41af-11e9-a4da-b1df688edbcd.json deleted file mode 100644 index cc5a1483b25..00000000000 --- a/packages/nats/kibana/visualization/nats-04083600-41af-11e9-a4da-b1df688edbcd.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "data_stream.dataset: nats.log" - } - } - }, - "title": "Log Level Timeline [Logs NATS]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": {}, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "field": "log.level", - "size": 10 - }, - "schema": "group", - "type": "significant_terms" - } - ], - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "area", - "valueAxis": "ValueAxis-1" - } - ], - "times": [], - "type": "area", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Count" - }, - "type": "value" - } - ] - }, - "title": "Log Level Timeline [Logs NATS]", - "type": "area" - } - }, - "id": "nats-04083600-41af-11e9-a4da-b1df688edbcd", - "migrationVersion": { - "visualization": "7.10.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "logs-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nats/kibana/visualization/nats-0b2061d0-41ad-11e9-a4da-b1df688edbcd.json b/packages/nats/kibana/visualization/nats-0b2061d0-41ad-11e9-a4da-b1df688edbcd.json deleted file mode 100644 index 9c4532331db..00000000000 --- a/packages/nats/kibana/visualization/nats-0b2061d0-41ad-11e9-a4da-b1df688edbcd.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "data_stream.dataset: nats.log" - } - } - }, - "title": "Communication Directions [Logs NATS]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": {}, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "field": "network.direction", - "size": 2 - }, - "schema": "group", - "type": "significant_terms" - } - ], - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-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": "Count" - }, - "type": "value" - } - ] - }, - "title": "Communication Directions [Logs NATS]", - "type": "line" - } - }, - "id": "nats-0b2061d0-41ad-11e9-a4da-b1df688edbcd", - "migrationVersion": { - "visualization": "7.10.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "logs-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nats/kibana/visualization/nats-3f6cca40-41ae-11e9-a4da-b1df688edbcd.json b/packages/nats/kibana/visualization/nats-3f6cca40-41ae-11e9-a4da-b1df688edbcd.json deleted file mode 100644 index 68f6d60afee..00000000000 --- a/packages/nats/kibana/visualization/nats-3f6cca40-41ae-11e9-a4da-b1df688edbcd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "data_stream.dataset: nats.log" - } - } - }, - "title": "Log Level Distribution [Logs NATS]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": {}, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "params": { - "field": "log.level", - "size": 10 - }, - "schema": "segment", - "type": "significant_terms" - } - ], - "params": { - "addLegend": true, - "addTooltip": true, - "isDonut": true, - "labels": { - "last_level": true, - "show": true, - "truncate": 100, - "values": true - }, - "legendPosition": "right", - "type": "pie" - }, - "title": "Log Level Distribution [Logs NATS]", - "type": "pie" - } - }, - "id": "nats-3f6cca40-41ae-11e9-a4da-b1df688edbcd", - "migrationVersion": { - "visualization": "7.10.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "logs-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nats/kibana/visualization/nats-4a6d9ec0-41a8-11e9-a4da-b1df688edbcd.json b/packages/nats/kibana/visualization/nats-4a6d9ec0-41a8-11e9-a4da-b1df688edbcd.json deleted file mode 100644 index ce2640266aa..00000000000 --- a/packages/nats/kibana/visualization/nats-4a6d9ec0-41a8-11e9-a4da-b1df688edbcd.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "data_stream.dataset: nats.log" - } - } - }, - "title": "Topics Timeline [Logs NATS]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": {}, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "field": "nats.log.msg.subject", - "size": 5 - }, - "schema": "group", - "type": "significant_terms" - } - ], - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-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": "Count" - }, - "type": "value" - } - ] - }, - "title": "Topics Timeline [Logs NATS]", - "type": "line" - } - }, - "id": "nats-4a6d9ec0-41a8-11e9-a4da-b1df688edbcd", - "migrationVersion": { - "visualization": "7.10.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "logs-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nats/kibana/visualization/nats-6987a800-41a8-11e9-a4da-b1df688edbcd.json b/packages/nats/kibana/visualization/nats-6987a800-41a8-11e9-a4da-b1df688edbcd.json deleted file mode 100644 index d6736f46441..00000000000 --- a/packages/nats/kibana/visualization/nats-6987a800-41a8-11e9-a4da-b1df688edbcd.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "data_stream.dataset: nats.log" - } - } - }, - "title": "Message Types Timeline [Logs NATS]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "" - }, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "schema": "segment", - "type": "date_histogram" - }, - { - "enabled": true, - "id": "3", - "params": { - "field": "nats.log.msg.type", - "size": 15 - }, - "schema": "group", - "type": "significant_terms" - } - ], - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-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": "Count" - }, - "type": "value" - } - ] - }, - "title": "Message Types Timeline [Logs NATS]", - "type": "line" - } - }, - "id": "nats-6987a800-41a8-11e9-a4da-b1df688edbcd", - "migrationVersion": { - "visualization": "7.10.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "logs-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nats/kibana/visualization/nats-7716c780-41ad-11e9-a4da-b1df688edbcd.json b/packages/nats/kibana/visualization/nats-7716c780-41ad-11e9-a4da-b1df688edbcd.json deleted file mode 100644 index 2b3ab99a4d0..00000000000 --- a/packages/nats/kibana/visualization/nats-7716c780-41ad-11e9-a4da-b1df688edbcd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "data_stream.dataset: nats.log" - } - } - }, - "title": "Communication Directions Distribution [Logs NATS]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": {}, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "params": { - "field": "network.direction", - "size": 2 - }, - "schema": "segment", - "type": "significant_terms" - } - ], - "params": { - "addLegend": true, - "addTooltip": true, - "isDonut": true, - "labels": { - "last_level": true, - "show": true, - "truncate": 100, - "values": true - }, - "legendPosition": "right", - "type": "pie" - }, - "title": "Communication Directions Distribution [Logs NATS]", - "type": "pie" - } - }, - "id": "nats-7716c780-41ad-11e9-a4da-b1df688edbcd", - "migrationVersion": { - "visualization": "7.10.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "logs-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nats/kibana/visualization/nats-7ed62870-41ae-11e9-a4da-b1df688edbcd.json b/packages/nats/kibana/visualization/nats-7ed62870-41ae-11e9-a4da-b1df688edbcd.json deleted file mode 100644 index e2878ffb974..00000000000 --- a/packages/nats/kibana/visualization/nats-7ed62870-41ae-11e9-a4da-b1df688edbcd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "data_stream.dataset: nats.log" - } - } - }, - "title": "Message Type Distribution [Logs NATS]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": {}, - "schema": "metric", - "type": "count" - }, - { - "enabled": true, - "id": "2", - "params": { - "field": "nats.log.msg.type", - "size": 15 - }, - "schema": "segment", - "type": "significant_terms" - } - ], - "params": { - "addLegend": true, - "addTooltip": true, - "isDonut": true, - "labels": { - "last_level": true, - "show": true, - "truncate": 100, - "values": true - }, - "legendPosition": "right", - "type": "pie" - }, - "title": "Message Type Distribution [Logs NATS]", - "type": "pie" - } - }, - "id": "nats-7ed62870-41ae-11e9-a4da-b1df688edbcd", - "migrationVersion": { - "visualization": "7.10.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "logs-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nats/kibana/visualization/nats-c3d1ab80-41a8-11e9-a4da-b1df688edbcd.json b/packages/nats/kibana/visualization/nats-c3d1ab80-41a8-11e9-a4da-b1df688edbcd.json deleted file mode 100644 index 8bf46f338a7..00000000000 --- a/packages/nats/kibana/visualization/nats-c3d1ab80-41a8-11e9-a4da-b1df688edbcd.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "data_stream.dataset: nats.log" - } - } - }, - "title": " Bytes Timeline [Logs NATS]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Sum of Message Bytes", - "field": "nats.log.msg.bytes" - }, - "schema": "metric", - "type": "sum" - }, - { - "enabled": true, - "id": "2", - "schema": "segment", - "type": "date_histogram" - } - ], - "params": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Sum of Message Bytes" - }, - "drawLinesBetweenPoints": true, - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-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": "Sum of Message Bytes" - }, - "type": "value" - } - ] - }, - "title": " Bytes Timeline [Logs NATS]", - "type": "line" - } - }, - "id": "nats-c3d1ab80-41a8-11e9-a4da-b1df688edbcd", - "migrationVersion": { - "visualization": "7.10.0" - }, - "namespaces": [ - "default" - ], - "references": [ - { - "id": "logs-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/nats/kibana/visualization/nats-c669ae20-41ed-11e9-ac5c-71ffa38a62e3.json b/packages/nats/kibana/visualization/nats-c669ae20-41ed-11e9-ac5c-71ffa38a62e3.json index 0adaae6ca4a..7dccbcd93bd 100644 --- a/packages/nats/kibana/visualization/nats-c669ae20-41ed-11e9-ac5c-71ffa38a62e3.json +++ b/packages/nats/kibana/visualization/nats-c669ae20-41ed-11e9-ac5c-71ffa38a62e3.json @@ -68,6 +68,7 @@ { "id": "CategoryAxis-1", "labels": { + "filter": true, "show": true, "truncate": 100 }, @@ -81,15 +82,24 @@ "type": "category" } ], + "detailedTooltip": true, + "fittingFunction": "linear", "grid": { "categoryLines": false, "style": { "color": "#eee" } }, + "isVislibVis": true, "legendPosition": "right", + "legendSize": "auto", + "palette": { + "name": "kibana_palette", + "type": "palette" + }, "seriesParams": [ { + "circlesRadius": 1, "data": { "id": "1", "label": "Count" @@ -132,13 +142,10 @@ "type": "line" } }, + "coreMigrationVersion": "8.8.0", + "created_at": "2023-09-29T07:14:01.519Z", "id": "nats-c669ae20-41ed-11e9-ac5c-71ffa38a62e3", - "migrationVersion": { - "visualization": "7.10.0" - }, - "namespaces": [ - "default" - ], + "managed": true, "references": [ { "id": "logs-*", @@ -146,5 +153,6 @@ "type": "index-pattern" } ], - "type": "visualization" + "type": "visualization", + "typeMigrationVersion": "8.5.0" } \ No newline at end of file diff --git a/packages/nats/manifest.yml b/packages/nats/manifest.yml index bc44f286d18..8e88d986ae2 100644 --- a/packages/nats/manifest.yml +++ b/packages/nats/manifest.yml @@ -1,6 +1,6 @@ name: nats title: NATS -version: 1.3.2 +version: 1.3.3 release: ga description: Collect logs and metrics from NATS servers with Elastic Agent. type: integration @@ -15,7 +15,7 @@ categories: - observability - message_queue conditions: - kibana.version: "^7.14.0 || ^8.0.0" + kibana.version: "^8.10.2" screenshots: - src: /img/filebeat_nats_dashboard.png title: Filebeat NATS Dashboard