diff --git a/packages/redis/changelog.yml b/packages/redis/changelog.yml index 5ee19cb45fd..e227bde5a8c 100644 --- a/packages/redis/changelog.yml +++ b/packages/redis/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.8.0" + changes: + - description: Migrate `Key Metrics` dashboard visualizations to lens. + type: enhancement + link: https://github.com/elastic/integrations/pull/5659 - version: "1.7.0" changes: - description: Migrate `Overview` dashboard visualizations to lens. diff --git a/packages/redis/img/metricbeat_redis_key_dashboard.png b/packages/redis/img/metricbeat_redis_key_dashboard.png index 76d414b86c4..54fa08b1c49 100644 Binary files a/packages/redis/img/metricbeat_redis_key_dashboard.png and b/packages/redis/img/metricbeat_redis_key_dashboard.png differ diff --git a/packages/redis/kibana/dashboard/redis-28969190-0511-11e9-9c60-d582a238e2c5.json b/packages/redis/kibana/dashboard/redis-28969190-0511-11e9-9c60-d582a238e2c5.json index b83111fa4d1..d872f81e2d6 100644 --- a/packages/redis/kibana/dashboard/redis-28969190-0511-11e9-9c60-d582a238e2c5.json +++ b/packages/redis/kibana/dashboard/redis-28969190-0511-11e9-9c60-d582a238e2c5.json @@ -1,5 +1,11 @@ { "attributes": { + "controlGroupInput": { + "chainingSystem": "HIERARCHICAL", + "controlStyle": "oneLine", + "ignoreParentSettingsJSON": "{\"ignoreFilters\":false,\"ignoreQuery\":false,\"ignoreTimerange\":false,\"ignoreValidations\":false}", + "panelsJSON": "{\"88495d21-6261-4c60-8de6-e9aa688b2085\":{\"order\":0,\"width\":\"medium\",\"grow\":true,\"type\":\"optionsListControl\",\"explicitInput\":{\"title\":\"Keyspace\",\"fieldName\":\"redis.keyspace.id\",\"id\":\"88495d21-6261-4c60-8de6-e9aa688b2085\",\"selectedOptions\":[\"db0\",\"db1\"],\"enhancements\":{}}}}" + }, "description": "Redis keys metrics", "hits": 0, "kibanaSavedObjectMeta": { @@ -11,7 +17,6 @@ }, "meta": { "alias": null, - "controlledBy": "1545388837304", "disabled": false, "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", "key": "redis.keyspace.id", @@ -20,8 +25,7 @@ "db0", "db1" ], - "type": "phrases", - "value": "db0, db1" + "type": "phrases" }, "query": { "bool": { @@ -55,87 +59,686 @@ }, "panelsJSON": [ { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-9d7816a6-2ec8-4b54-aecf-ae00937afd79", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "9d7816a6-2ec8-4b54-aecf-ae00937afd79": { + "columnOrder": [ + "6b75ecc1-b2d2-4493-82db-b6d84d591a29", + "fc3ea097-f4a0-4adf-8f5e-e511e2daa39e", + "7489bf17-cd18-46e5-b971-4b8000b11708" + ], + "columns": { + "6b75ecc1-b2d2-4493-82db-b6d84d591a29": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Key type", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "7489bf17-cd18-46e5-b971-4b8000b11708", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "redis.key.type" + }, + "7489bf17-cd18-46e5-b971-4b8000b11708": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Number of keys", + "operationType": "unique_count", + "scale": "ratio", + "sourceField": "redis.key.id" + }, + "fc3ea097-f4a0-4adf-8f5e-e511e2daa39e": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "emphasizeFitting": false, + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "7489bf17-cd18-46e5-b971-4b8000b11708" + ], + "layerId": "9d7816a6-2ec8-4b54-aecf-ae00937afd79", + "layerType": "data", + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "6b75ecc1-b2d2-4493-82db-b6d84d591a29", + "xAccessor": "fc3ea097-f4a0-4adf-8f5e-e511e2daa39e", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "7489bf17-cd18-46e5-b971-4b8000b11708" + } + ] + } + ], + "legend": { + "isVisible": false, + "legendSize": "auto", + "position": "right", + "showSingleSeries": false + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "Number of keys" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { - "h": 5, - "i": "1", + "h": 15, + "i": "79fa7446-f3ce-466c-a4b5-bd4fde483e5d", "w": 12, "x": 0, "y": 0 }, - "panelIndex": "1", - "panelRefName": "panel_0", - "title": "Keyspace selector", - "version": "7.3.0" + "panelIndex": "79fa7446-f3ce-466c-a4b5-bd4fde483e5d", + "title": "Keys by type", + "type": "lens", + "version": "8.3.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-ab5b97a3-2883-46a9-8740-a9e19a13bc0d", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "dd769d1f-2e9d-43b5-b55c-07041bda88c6", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "ab5b97a3-2883-46a9-8740-a9e19a13bc0d": { + "columnOrder": [ + "e515d55b-1227-4b78-af88-7062dd8a3195", + "984c366d-3801-4b1d-af7c-d486ee563cf5", + "39b25dd7-6f66-4279-a12e-23689aa73f60" + ], + "columns": { + "39b25dd7-6f66-4279-a12e-23689aa73f60": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Number of elements", + "operationType": "max", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "redis.key.length" + }, + "984c366d-3801-4b1d-af7c-d486ee563cf5": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "e515d55b-1227-4b78-af88-7062dd8a3195": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Keyspace", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "39b25dd7-6f66-4279-a12e-23689aa73f60", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "multi_terms" + }, + "secondaryFields": [ + "redis.key.name" + ], + "size": 10 + }, + "scale": "ordinal", + "sourceField": "redis.keyspace.id" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [ + { + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "index": "dd769d1f-2e9d-43b5-b55c-07041bda88c6", + "key": "redis.key.type", + "negate": false, + "params": { + "query": "list" + }, + "type": "phrase" + }, + "query": { + "match_phrase": { + "redis.key.type": "list" + } + } + } + ], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "curveType": "LINEAR", + "endValue": "None", + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "39b25dd7-6f66-4279-a12e-23689aa73f60" + ], + "layerId": "ab5b97a3-2883-46a9-8740-a9e19a13bc0d", + "layerType": "data", + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "e515d55b-1227-4b78-af88-7062dd8a3195", + "xAccessor": "984c366d-3801-4b1d-af7c-d486ee563cf5", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "39b25dd7-6f66-4279-a12e-23689aa73f60" + } + ] + } + ], + "legend": { + "isVisible": true, + "legendSize": "large", + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "yTitle": "Number of elements" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { "h": 15, - "i": "2", + "i": "3199303d-19cf-430f-ab40-ac73f0ec9ea2", "w": 36, "x": 12, "y": 0 }, - "panelIndex": "2", - "panelRefName": "panel_1", + "panelIndex": "3199303d-19cf-430f-ab40-ac73f0ec9ea2", "title": "Lists length", - "version": "7.3.0" + "type": "lens", + "version": "8.3.0" }, { "embeddableConfig": { - "vis": { - "legendOpen": false - } - }, - "gridData": { - "h": 10, - "i": "3", - "w": 12, - "x": 0, - "y": 5 + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-a99f131f-7844-46d3-801d-3023f3eb35d2", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "5febc991-5629-423b-adfd-8d8fafa8c72d", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "a99f131f-7844-46d3-801d-3023f3eb35d2": { + "columnOrder": [ + "d754cd8e-a5c1-4776-a991-0d6f76d283a8", + "55655d47-efcd-4fd4-8f44-aecf4a2df817", + "8323e01e-804a-48fe-857f-520ea53f8466" + ], + "columns": { + "55655d47-efcd-4fd4-8f44-aecf4a2df817": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "8323e01e-804a-48fe-857f-520ea53f8466": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Average key size", + "operationType": "average", + "scale": "ratio", + "sourceField": "redis.key.length" + }, + "d754cd8e-a5c1-4776-a991-0d6f76d283a8": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Keyspace", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "8323e01e-804a-48fe-857f-520ea53f8466", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "size": 5 + }, + "scale": "ordinal", + "sourceField": "redis.keyspace.id" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [ + { + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "index": "5febc991-5629-423b-adfd-8d8fafa8c72d", + "key": "redis.key.type", + "negate": false, + "params": { + "query": "string" + }, + "type": "phrase" + }, + "query": { + "match_phrase": { + "redis.key.type": "string" + } + } + } + ], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "8323e01e-804a-48fe-857f-520ea53f8466" + ], + "layerId": "a99f131f-7844-46d3-801d-3023f3eb35d2", + "layerType": "data", + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "d754cd8e-a5c1-4776-a991-0d6f76d283a8", + "xAccessor": "55655d47-efcd-4fd4-8f44-aecf4a2df817", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "8323e01e-804a-48fe-857f-520ea53f8466" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "yLeftExtent": { + "mode": "full" + }, + "yRightExtent": { + "mode": "full" + }, + "yTitle": "Average key size" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false }, - "panelIndex": "3", - "panelRefName": "panel_2", - "title": "Keys by type", - "version": "7.3.0" - }, - { - "embeddableConfig": {}, "gridData": { "h": 15, - "i": "4", + "i": "161bf113-0b65-4f2c-ad1c-64f06c8b2344", "w": 24, "x": 0, "y": 15 }, - "panelIndex": "4", - "panelRefName": "panel_3", + "panelIndex": "161bf113-0b65-4f2c-ad1c-64f06c8b2344", "title": "Average size of string keys", - "version": "7.3.0" + "type": "lens", + "version": "8.3.0" }, { - "embeddableConfig": {}, + "embeddableConfig": { + "attributes": { + "references": [ + { + "id": "metrics-*", + "name": "indexpattern-datasource-layer-93604465-9546-445d-8756-e2fe12469522", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "ed708dfe-6273-4fab-a1fb-8ed22b65de53", + "type": "index-pattern" + } + ], + "state": { + "datasourceStates": { + "indexpattern": { + "layers": { + "93604465-9546-445d-8756-e2fe12469522": { + "columnOrder": [ + "88176cc2-3242-443a-b717-ca7e61a68ebb", + "abc8f7d8-aa5e-489a-b23a-3a62e53f84eb", + "f14d54b6-0cbc-46f1-a221-135fd946367a" + ], + "columns": { + "88176cc2-3242-443a-b717-ca7e61a68ebb": { + "customLabel": true, + "dataType": "string", + "isBucketed": true, + "label": "Keyspace", + "operationType": "terms", + "params": { + "missingBucket": false, + "orderBy": { + "columnId": "f14d54b6-0cbc-46f1-a221-135fd946367a", + "type": "column" + }, + "orderDirection": "desc", + "otherBucket": false, + "parentFormat": { + "id": "multi_terms" + }, + "secondaryFields": [ + "redis.key.type" + ], + "size": 5 + }, + "scale": "ordinal", + "sourceField": "redis.keyspace.id" + }, + "abc8f7d8-aa5e-489a-b23a-3a62e53f84eb": { + "dataType": "date", + "isBucketed": true, + "label": "@timestamp", + "operationType": "date_histogram", + "params": { + "dropPartials": false, + "includeEmptyRows": false, + "interval": "auto" + }, + "scale": "interval", + "sourceField": "@timestamp" + }, + "f14d54b6-0cbc-46f1-a221-135fd946367a": { + "customLabel": true, + "dataType": "number", + "isBucketed": false, + "label": "Average TTL", + "operationType": "average", + "params": { + "emptyAsNull": true + }, + "scale": "ratio", + "sourceField": "redis.key.expire.ttl" + } + }, + "incompleteColumns": {} + } + } + } + }, + "filters": [ + { + "$state": { + "store": "appState" + }, + "meta": { + "alias": null, + "disabled": false, + "index": "ed708dfe-6273-4fab-a1fb-8ed22b65de53", + "key": "redis.key.expire.ttl", + "negate": false, + "params": { + "gte": 0, + "lt": null + }, + "type": "range" + }, + "query": { + "range": { + "redis.key.expire.ttl": { + "gte": 0, + "lt": null + } + } + } + } + ], + "query": { + "language": "kuery", + "query": "" + }, + "visualization": { + "axisTitlesVisibilitySettings": { + "x": true, + "yLeft": true, + "yRight": true + }, + "endValue": "None", + "fittingFunction": "Linear", + "gridlinesVisibilitySettings": { + "x": false, + "yLeft": false, + "yRight": true + }, + "layers": [ + { + "accessors": [ + "f14d54b6-0cbc-46f1-a221-135fd946367a" + ], + "layerId": "93604465-9546-445d-8756-e2fe12469522", + "layerType": "data", + "palette": { + "name": "kibana_palette", + "type": "palette" + }, + "position": "top", + "seriesType": "line", + "showGridlines": false, + "splitAccessor": "88176cc2-3242-443a-b717-ca7e61a68ebb", + "xAccessor": "abc8f7d8-aa5e-489a-b23a-3a62e53f84eb", + "yConfig": [ + { + "axisMode": "left", + "forAccessor": "f14d54b6-0cbc-46f1-a221-135fd946367a" + } + ] + } + ], + "legend": { + "isVisible": true, + "position": "right", + "shouldTruncate": true, + "showSingleSeries": true + }, + "preferredSeriesType": "line", + "title": "Empty XY chart", + "valueLabels": "hide", + "yTitle": "Average TTL" + } + }, + "title": "", + "type": "lens", + "visualizationType": "lnsXY" + }, + "enhancements": {}, + "hidePanelTitles": false + }, "gridData": { "h": 15, - "i": "5", + "i": "375cffab-4569-45e7-8848-c4464789a543", "w": 24, "x": 24, "y": 15 }, - "panelIndex": "5", - "panelRefName": "panel_4", + "panelIndex": "375cffab-4569-45e7-8848-c4464789a543", "title": "Average keys TTL", - "version": "7.3.0" + "type": "lens", + "version": "8.3.0" } ], "timeRestore": false, "title": "[Metrics Redis] Keys", "version": 1 }, + "coreMigrationVersion": "8.3.0", "id": "redis-28969190-0511-11e9-9c60-d582a238e2c5", "migrationVersion": { - "dashboard": "7.3.0" + "dashboard": "8.3.0" }, "references": [ { @@ -144,29 +747,44 @@ "type": "index-pattern" }, { - "id": "redis-00d39210-050d-11e9-9c60-d582a238e2c5", - "name": "panel_0", - "type": "visualization" + "id": "metrics-*", + "name": "79fa7446-f3ce-466c-a4b5-bd4fde483e5d:indexpattern-datasource-layer-9d7816a6-2ec8-4b54-aecf-ae00937afd79", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "3199303d-19cf-430f-ab40-ac73f0ec9ea2:indexpattern-datasource-layer-ab5b97a3-2883-46a9-8740-a9e19a13bc0d", + "type": "index-pattern" }, { - "id": "redis-7f4bc7d0-050c-11e9-9c60-d582a238e2c5", - "name": "panel_1", - "type": "visualization" + "id": "metrics-*", + "name": "3199303d-19cf-430f-ab40-ac73f0ec9ea2:dd769d1f-2e9d-43b5-b55c-07041bda88c6", + "type": "index-pattern" }, { - "id": "redis-4435ac40-050e-11e9-9c60-d582a238e2c5", - "name": "panel_2", - "type": "visualization" + "id": "metrics-*", + "name": "161bf113-0b65-4f2c-ad1c-64f06c8b2344:indexpattern-datasource-layer-a99f131f-7844-46d3-801d-3023f3eb35d2", + "type": "index-pattern" }, { - "id": "redis-8541a4a0-0513-11e9-9c60-d582a238e2c5", - "name": "panel_3", - "type": "visualization" + "id": "metrics-*", + "name": "161bf113-0b65-4f2c-ad1c-64f06c8b2344:5febc991-5629-423b-adfd-8d8fafa8c72d", + "type": "index-pattern" }, { - "id": "redis-517a5fd0-0514-11e9-9c60-d582a238e2c5", - "name": "panel_4", - "type": "visualization" + "id": "metrics-*", + "name": "375cffab-4569-45e7-8848-c4464789a543:indexpattern-datasource-layer-93604465-9546-445d-8756-e2fe12469522", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "375cffab-4569-45e7-8848-c4464789a543:ed708dfe-6273-4fab-a1fb-8ed22b65de53", + "type": "index-pattern" + }, + { + "id": "metrics-*", + "name": "controlGroup_88495d21-6261-4c60-8de6-e9aa688b2085:optionsListDataView", + "type": "index-pattern" } ], "type": "dashboard" diff --git a/packages/redis/kibana/search/redis-Metrics-Redis.json b/packages/redis/kibana/search/redis-Metrics-Redis.json deleted file mode 100644 index e3acb456812..00000000000 --- a/packages/redis/kibana/search/redis-Metrics-Redis.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "attributes": { - "columns": [ - "_source" - ], - "description": "", - "hits": 0, - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "highlight": { - "fields": { - "*": {} - }, - "fragment_size": 2147483647, - "post_tags": [ - "@/kibana-highlighted-field@" - ], - "pre_tags": [ - "@kibana-highlighted-field@" - ], - "require_field_match": false - }, - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "(data_stream.dataset:redis.info OR data_stream.dataset:redis.key OR data_stream.dataset:redis.keyspace)" - } - } - }, - "sort": [ - [ - "@timestamp", - "desc" - ] - ], - "title": "Metrics Redis", - "version": 1 - }, - "id": "redis-Metrics-Redis", - "migrationVersion": { - "search": "7.4.0" - }, - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "search" -} \ No newline at end of file diff --git a/packages/redis/kibana/visualization/redis-00d39210-050d-11e9-9c60-d582a238e2c5.json b/packages/redis/kibana/visualization/redis-00d39210-050d-11e9-9c60-d582a238e2c5.json deleted file mode 100644 index ad8a9378ff6..00000000000 --- a/packages/redis/kibana/visualization/redis-00d39210-050d-11e9-9c60-d582a238e2c5.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Keyspace selector [Metrics Redis]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [], - "params": { - "controls": [ - { - "fieldName": "redis.keyspace.id", - "id": "1545388837304", - "indexPatternRefName": "control_0_index_pattern", - "label": "Keyspace", - "options": { - "dynamicOptions": true, - "multiselect": true, - "order": "desc", - "size": 5, - "type": "terms" - }, - "parent": "", - "type": "list" - } - ], - "pinFilters": false, - "updateFiltersOnChange": true, - "useTimeFilter": false - }, - "title": "Keyspace selector [Metrics Redis]", - "type": "input_control_vis" - } - }, - "id": "redis-00d39210-050d-11e9-9c60-d582a238e2c5", - "migrationVersion": { - "visualization": "7.8.0" - }, - "references": [ - { - "id": "metrics-*", - "name": "control_0_index_pattern", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/redis/kibana/visualization/redis-4435ac40-050e-11e9-9c60-d582a238e2c5.json b/packages/redis/kibana/visualization/redis-4435ac40-050e-11e9-9c60-d582a238e2c5.json deleted file mode 100644 index 7507fae1b77..00000000000 --- a/packages/redis/kibana/visualization/redis-4435ac40-050e-11e9-9c60-d582a238e2c5.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Keys by type [Metrics Redis]", - "uiStateJSON": { - "vis": { - "legendOpen": false - } - }, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Number of keys", - "field": "redis.key.id" - }, - "schema": "metric", - "type": "cardinality" - }, - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Key type", - "field": "redis.key.type", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 5 - }, - "schema": "group", - "type": "terms" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "", - "drop_partials": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "timeRange": { - "from": "now-15m", - "mode": "quick", - "to": "now" - }, - "useNormalizedEsInterval": true - }, - "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": "Number of keys" - }, - "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": "Number of keys" - }, - "type": "value" - } - ] - }, - "title": "Keys by type [Metrics Redis]", - "type": "line" - } - }, - "id": "redis-4435ac40-050e-11e9-9c60-d582a238e2c5", - "migrationVersion": { - "visualization": "7.8.0" - }, - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/redis/kibana/visualization/redis-517a5fd0-0514-11e9-9c60-d582a238e2c5.json b/packages/redis/kibana/visualization/redis-517a5fd0-0514-11e9-9c60-d582a238e2c5.json deleted file mode 100644 index 26aaab63aed..00000000000 --- a/packages/redis/kibana/visualization/redis-517a5fd0-0514-11e9-9c60-d582a238e2c5.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [ - { - "$state": { - "store": "appState" - }, - "meta": { - "alias": null, - "disabled": false, - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", - "key": "redis.key.expire.ttl", - "negate": false, - "params": { - "gte": 0, - "lt": null - }, - "type": "range", - "value": "0 to +∞" - }, - "range": { - "redis.key.expire.ttl": { - "gte": 0, - "lt": null - } - } - } - ], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Average keys TTL [Metrics Redis]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Average TTL", - "field": "redis.key.expire.ttl" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "4", - "params": { - "customLabel": "Keyspace", - "field": "redis.keyspace.id", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 5 - }, - "schema": "group", - "type": "terms" - }, - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Key type", - "field": "redis.key.type", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 5 - }, - "schema": "group", - "type": "terms" - }, - { - "enabled": true, - "id": "3", - "params": { - "drop_partials": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "timeRange": { - "from": "now-15m", - "mode": "quick", - "to": "now" - }, - "useNormalizedEsInterval": true - }, - "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": "Average TTL" - }, - "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": "Average TTL" - }, - "type": "value" - } - ] - }, - "title": "Average keys TTL [Metrics Redis]", - "type": "line" - } - }, - "id": "redis-517a5fd0-0514-11e9-9c60-d582a238e2c5", - "migrationVersion": { - "visualization": "7.8.0" - }, - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - }, - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/redis/kibana/visualization/redis-7f4bc7d0-050c-11e9-9c60-d582a238e2c5.json b/packages/redis/kibana/visualization/redis-7f4bc7d0-050c-11e9-9c60-d582a238e2c5.json deleted file mode 100644 index b5cf86b25e7..00000000000 --- a/packages/redis/kibana/visualization/redis-7f4bc7d0-050c-11e9-9c60-d582a238e2c5.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [ - { - "$state": { - "store": "appState" - }, - "meta": { - "alias": null, - "disabled": false, - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", - "key": "redis.key.type", - "negate": false, - "params": { - "query": "list", - "type": "phrase" - }, - "type": "phrase", - "value": "list" - }, - "query": { - "match": { - "redis.key.type": { - "query": "list", - "type": "phrase" - } - } - } - } - ], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Lists length [Metrics Redis]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Number of elements", - "field": "redis.key.length" - }, - "schema": "metric", - "type": "max" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Keyspace", - "field": "redis.keyspace.id", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 16 - }, - "schema": "group", - "type": "terms" - }, - { - "enabled": true, - "id": "2", - "params": { - "customLabel": "Key name", - "field": "redis.key.name", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": true, - "otherBucketLabel": "Other", - "size": 20 - }, - "schema": "group", - "type": "terms" - }, - { - "enabled": true, - "id": "4", - "params": { - "drop_partials": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "timeRange": { - "from": "now-15m", - "mode": "quick", - "to": "now" - }, - "useNormalizedEsInterval": true - }, - "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": "Number of elements" - }, - "drawLinesBetweenPoints": true, - "interpolate": "linear", - "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": "Number of elements" - }, - "type": "value" - } - ] - }, - "title": "Lists length [Metrics Redis]", - "type": "line" - } - }, - "id": "redis-7f4bc7d0-050c-11e9-9c60-d582a238e2c5", - "migrationVersion": { - "visualization": "7.8.0" - }, - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - }, - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/redis/kibana/visualization/redis-8541a4a0-0513-11e9-9c60-d582a238e2c5.json b/packages/redis/kibana/visualization/redis-8541a4a0-0513-11e9-9c60-d582a238e2c5.json deleted file mode 100644 index 68cd398fc26..00000000000 --- a/packages/redis/kibana/visualization/redis-8541a4a0-0513-11e9-9c60-d582a238e2c5.json +++ /dev/null @@ -1,182 +0,0 @@ -{ - "attributes": { - "description": "", - "kibanaSavedObjectMeta": { - "searchSourceJSON": { - "filter": [ - { - "$state": { - "store": "appState" - }, - "meta": { - "alias": null, - "disabled": false, - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", - "key": "redis.key.type", - "negate": false, - "params": { - "query": "string", - "type": "phrase" - }, - "type": "phrase", - "value": "string" - }, - "query": { - "match": { - "redis.key.type": { - "query": "string", - "type": "phrase" - } - } - } - } - ], - "indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index", - "query": { - "language": "kuery", - "query": "" - } - } - }, - "title": "Average string key size [Metrics Redis]", - "uiStateJSON": {}, - "version": 1, - "visState": { - "aggs": [ - { - "enabled": true, - "id": "1", - "params": { - "customLabel": "Average key size", - "field": "redis.key.length" - }, - "schema": "metric", - "type": "avg" - }, - { - "enabled": true, - "id": "3", - "params": { - "customLabel": "Keyspace", - "field": "redis.keyspace.id", - "missingBucket": false, - "missingBucketLabel": "Missing", - "order": "desc", - "orderBy": "1", - "otherBucket": false, - "otherBucketLabel": "Other", - "size": 5 - }, - "schema": "group", - "type": "terms" - }, - { - "enabled": true, - "id": "2", - "params": { - "drop_partials": false, - "extended_bounds": {}, - "field": "@timestamp", - "interval": "auto", - "min_doc_count": 1, - "timeRange": { - "from": "now-15m", - "mode": "quick", - "to": "now" - }, - "useNormalizedEsInterval": true - }, - "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": "Average key size" - }, - "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": "Average key size" - }, - "type": "value" - } - ] - }, - "title": "Average string key size [Metrics Redis]", - "type": "line" - } - }, - "id": "redis-8541a4a0-0513-11e9-9c60-d582a238e2c5", - "migrationVersion": { - "visualization": "7.8.0" - }, - "references": [ - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.index", - "type": "index-pattern" - }, - { - "id": "metrics-*", - "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index", - "type": "index-pattern" - } - ], - "type": "visualization" -} \ No newline at end of file diff --git a/packages/redis/manifest.yml b/packages/redis/manifest.yml index e03fb64604a..9d3baa8429c 100644 --- a/packages/redis/manifest.yml +++ b/packages/redis/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: redis title: Redis -version: 1.7.0 +version: 1.8.0 license: basic description: Collect logs and metrics from Redis servers with Elastic Agent. type: integration