}
diff --git a/test/new_visualize_flow/fixtures/es_archiver/kibana/data.json b/test/new_visualize_flow/fixtures/es_archiver/kibana/data.json
new file mode 100644
index 00000000000000..14d67f9bfbc34d
--- /dev/null
+++ b/test/new_visualize_flow/fixtures/es_archiver/kibana/data.json
@@ -0,0 +1,4229 @@
+{
+ "type": "doc",
+ "value": {
+ "id": "search:a16d1990-3dca-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "search": "7.4.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "search": {
+ "columns": [
+ "animal",
+ "isDog",
+ "name",
+ "sound",
+ "weightLbs"
+ ],
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"highlightAll\":true,\"version\":true,\"query\":{\"language\":\"lucene\",\"query\":\"weightLbs:>40\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "sort": [
+ [
+ "weightLbs",
+ "desc"
+ ]
+ ],
+ "title": "animal weights",
+ "version": 1
+ },
+ "type": "search",
+ "updated_at": "2018-04-11T20:55:26.317Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "config:6.3.0",
+ "index": ".kibana_1",
+ "source": {
+ "config": {
+ "buildNum": 8467,
+ "defaultIndex": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c"
+ },
+ "references": [
+ ],
+ "type": "config",
+ "updated_at": "2018-04-11T20:43:55.434Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:61c58ad0-3dd3-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[{\"meta\":{\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"animal\",\"value\":\"dog\",\"params\":{\"query\":\"dog\",\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"animal\":{\"query\":\"dog\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[{\"gridData\":{\"w\":24,\"h\":15,\"x\":0,\"y\":0,\"i\":\"1\"},\"version\":\"7.3.0\",\"panelIndex\":\"1\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"},{\"gridData\":{\"w\":24,\"h\":15,\"x\":24,\"y\":0,\"i\":\"2\"},\"version\":\"7.3.0\",\"panelIndex\":\"2\",\"embeddableConfig\":{},\"panelRefName\":\"panel_1\"}]",
+ "refreshInterval": {
+ "display": "Off",
+ "pause": false,
+ "value": 0
+ },
+ "timeFrom": "Mon Apr 09 2018 17:56:08 GMT-0400",
+ "timeRestore": true,
+ "timeTo": "Wed Apr 11 2018 17:56:08 GMT-0400",
+ "title": "dashboard with filter",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "50643b60-3dd3-11e8-b2b9-5d5dc1715159",
+ "name": "panel_0",
+ "type": "visualization"
+ },
+ {
+ "id": "a16d1990-3dca-11e8-8660-4d65aa086b3c",
+ "name": "panel_1",
+ "type": "search"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T21:57:52.253Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:2ae34a60-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[{\"gridData\":{\"w\":24,\"h\":15,\"x\":0,\"y\":0,\"i\":\"1\"},\"version\":\"7.3.0\",\"panelIndex\":\"1\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"},{\"gridData\":{\"w\":24,\"h\":15,\"x\":24,\"y\":0,\"i\":\"2\"},\"version\":\"7.3.0\",\"panelIndex\":\"2\",\"embeddableConfig\":{},\"panelRefName\":\"panel_1\"}]",
+ "timeRestore": false,
+ "title": "couple panels",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "145ced90-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_0",
+ "type": "visualization"
+ },
+ {
+ "id": "e2023110-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_1",
+ "type": "visualization"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:03:29.670Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:76d03330-3dd3-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "and_descriptions_has_underscores",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "dashboard_with_underscores",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T21:58:27.555Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:9b780cd0-3dd3-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "* hi & $%!!@# 漢字 ^--=++[]{};'~`~<>?,./:\";'\\|\\\\ special chars",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:00:07.322Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:6c0b16e0-3dd3-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "dashboard-name-has-dashes",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T21:58:09.486Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:19523860-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "im empty too",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:03:00.198Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:14616b50-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "im empty",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:02:51.909Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:33bb8ad0-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[{\"panelIndex\":\"1\",\"gridData\":{\"x\":0,\"y\":0,\"w\":24,\"h\":15,\"i\":\"1\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"},{\"panelIndex\":\"2\",\"gridData\":{\"x\":24,\"y\":0,\"w\":24,\"h\":15,\"i\":\"2\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_1\"},{\"panelIndex\":\"3\",\"gridData\":{\"x\":0,\"y\":15,\"w\":24,\"h\":15,\"i\":\"3\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_2\"}]",
+ "timeRestore": false,
+ "title": "few panels",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "145ced90-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_0",
+ "type": "visualization"
+ },
+ {
+ "id": "e2023110-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_1",
+ "type": "visualization"
+ },
+ {
+ "id": "4b5d6ef0-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_2",
+ "type": "visualization"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:03:44.509Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:60659030-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "zz 2",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:04:59.443Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:65227c00-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "zz 3",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:05:07.392Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:6803a2f0-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "zz 4",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:05:12.223Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:6b18f940-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "zz 5",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:05:17.396Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:6e12ff60-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "zz 6",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:05:22.390Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:4f0fd980-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "zz",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:04:30.360Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:3de0bda0-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "1",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:04:01.530Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:46c8b580-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "2",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:04:16.472Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:708fe640-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "zz 7",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:05:26.564Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:7b8d50a0-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "Hi i have a lot of words in my dashboard name! It's pretty long i wonder what it'll look like",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:05:45.002Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:7e42d3b0-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "bye",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:05:49.547Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:846988b0-3dd4-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[]",
+ "timeRestore": false,
+ "title": "last",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-11T22:05:59.867Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:cbd3bc30-3e5a-11e8-9fc3-39e49624228e",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"weightLbs:<50\",\"language\":\"lucene\"},\"filter\":[{\"meta\":{\"negate\":true,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"name.keyword\",\"value\":\"Fee Fee\",\"params\":{\"query\":\"Fee Fee\",\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"name.keyword\":{\"query\":\"Fee Fee\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":true,\"useMargins\":true,\"hidePanelTitles\":true}",
+ "panelsJSON": "[{\"panelIndex\":\"1\",\"gridData\":{\"x\":0,\"y\":0,\"w\":24,\"h\":15,\"i\":\"1\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"},{\"panelIndex\":\"2\",\"gridData\":{\"x\":24,\"y\":0,\"w\":24,\"h\":15,\"i\":\"2\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_1\"},{\"panelIndex\":\"3\",\"gridData\":{\"x\":0,\"y\":15,\"w\":24,\"h\":15,\"i\":\"3\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_2\"}]",
+ "timeRestore": false,
+ "title": "bug",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "771b4f10-3e59-11e8-9fc3-39e49624228e",
+ "name": "panel_0",
+ "type": "visualization"
+ },
+ {
+ "id": "befdb6b0-3e59-11e8-9fc3-39e49624228e",
+ "name": "panel_1",
+ "type": "visualization"
+ },
+ {
+ "id": "4c0c3f90-3e5a-11e8-9fc3-39e49624228e",
+ "name": "panel_2",
+ "type": "visualization"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-12T14:07:12.243Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:5bac3a80-3e5b-11e8-9fc3-39e49624228e",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "dashboard with scripted filter, negated filter and query",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"language\":\"lucene\",\"query\":\"weightLbs:<50\"},\"filter\":[{\"$state\":{\"store\":\"appState\"},\"meta\":{\"alias\":null,\"disabled\":false,\"key\":\"name.keyword\",\"negate\":true,\"params\":{\"query\":\"Fee Fee\",\"type\":\"phrase\"},\"type\":\"phrase\",\"value\":\"Fee Fee\",\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"name.keyword\":{\"query\":\"Fee Fee\",\"type\":\"phrase\"}}}},{\"$state\":{\"store\":\"appState\"},\"meta\":{\"alias\":\"is dog\",\"disabled\":false,\"field\":\"isDog\",\"key\":\"isDog\",\"negate\":false,\"params\":{\"value\":true},\"type\":\"phrase\",\"value\":\"true\",\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index\"},\"script\":{\"script\":{\"inline\":\"boolean compare(Supplier s, def v) {return s.get() == v;}compare(() -> { return doc['animal.keyword'].value == 'dog' }, params.value);\",\"lang\":\"painless\",\"params\":{\"value\":true}}}}],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":true,\"hidePanelTitles\":false,\"useMargins\":true}",
+ "panelsJSON": "[{\"panelIndex\":\"1\",\"gridData\":{\"x\":0,\"y\":0,\"w\":24,\"h\":15,\"i\":\"1\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_0\"},{\"panelIndex\":\"3\",\"gridData\":{\"x\":24,\"y\":0,\"w\":24,\"h\":15,\"i\":\"3\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_1\"},{\"panelIndex\":\"4\",\"gridData\":{\"x\":0,\"y\":15,\"w\":24,\"h\":15,\"i\":\"4\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_2\"}]",
+ "refreshInterval": {
+ "display": "Off",
+ "pause": false,
+ "section": 0,
+ "value": 0
+ },
+ "timeFrom": "Wed Apr 12 2017 10:06:21 GMT-0400",
+ "timeRestore": true,
+ "timeTo": "Thu Apr 12 2018 10:06:21 GMT-0400",
+ "title": "filters",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "771b4f10-3e59-11e8-9fc3-39e49624228e",
+ "name": "panel_0",
+ "type": "visualization"
+ },
+ {
+ "id": "4c0c3f90-3e5a-11e8-9fc3-39e49624228e",
+ "name": "panel_1",
+ "type": "visualization"
+ },
+ {
+ "id": "50643b60-3dd3-11e8-b2b9-5d5dc1715159",
+ "name": "panel_2",
+ "type": "visualization"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-12T14:11:13.576Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "index-pattern:f908c8e0-3e6d-11e8-bbb9-e15942d5d48c",
+ "index": ".kibana_1",
+ "source": {
+ "index-pattern": {
+ "fields": "[{\"name\":\"_id\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_index\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_score\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_source\",\"type\":\"_source\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_type\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"activity level\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"barking level\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"breed\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"breed.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"size\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"size.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"trainability\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true}]",
+ "title": "dogbreeds"
+ },
+ "migrationVersion": {
+ "index-pattern": "7.6.0"
+ },
+ "references": [
+ ],
+ "type": "index-pattern",
+ "updated_at": "2018-04-12T16:24:29.357Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:84908bb0-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.10425,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:04:37.610Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:04:37.611Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:84908bb1-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "home",
+ "minutesOnScreen": 0.5708666666666666,
+ "numberOfClicks": 1,
+ "timestamp": "2020-05-31T11:04:37.610Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:04:37.611Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:951d7420-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 1.3920166666666667,
+ "numberOfClicks": 39,
+ "timestamp": "2020-05-31T11:05:05.378Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:05:05.378Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:a79fc3f0-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.45816666666666667,
+ "numberOfClicks": 8,
+ "timestamp": "2020-05-31T11:05:36.431Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:05:36.431Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:bc30cf80-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.5057333333333333,
+ "numberOfClicks": 14,
+ "timestamp": "2020-05-31T11:06:10.935Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:06:10.936Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:df4781d0-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.3740833333333333,
+ "numberOfClicks": 1,
+ "timestamp": "2020-05-31T11:07:09.804Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:07:09.805Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:dffd3d40-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.02105,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:07:10.996Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:07:10.996Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:e05dd3d0-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.010416666666666666,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:07:11.629Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:07:11.629Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:cfc85fe0-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.5466333333333333,
+ "numberOfClicks": 16,
+ "timestamp": "2020-05-31T11:06:43.806Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:06:43.806Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:00710a20-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.8720333333333333,
+ "numberOfClicks": 14,
+ "timestamp": "2020-05-31T11:08:05.442Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:08:05.442Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:e1454da0-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.01815,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:07:13.146Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:07:13.146Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:0eb5d750-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.33895,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:08:29.380Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:08:29.381Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:2e09dc50-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.08756666666666667,
+ "numberOfClicks": 3,
+ "timestamp": "2020-05-31T11:09:21.941Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:21.941Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:25916f20-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.5207166666666667,
+ "numberOfClicks": 5,
+ "timestamp": "2020-05-31T11:09:07.730Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:07.730Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:1e9c4690-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.38158333333333333,
+ "numberOfClicks": 17,
+ "timestamp": "2020-05-31T11:08:56.057Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:08:56.057Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:1f41ae50-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.0183,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:08:57.141Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:08:57.141Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:26923d50-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.0285,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:09:09.413Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:09.413Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:1024f7b0-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.0401,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:08:31.787Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:08:31.787Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:10f7d810-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.012,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:08:33.169Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:08:33.169Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:34f010c0-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.28990000000000005,
+ "numberOfClicks": 4,
+ "timestamp": "2020-05-31T11:09:33.515Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:33.516Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:35665230-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.012216666666666667,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:09:34.291Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:34.291Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:404deaa0-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.24620000000000003,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:09:52.586Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:52.586Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:415ac6c0-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.015816666666666666,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:09:54.348Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:54.348Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:40c898e0-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.013533333333333333,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:09:53.390Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:53.390Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:434a13a0-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.011566666666666666,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:09:57.594Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:57.594Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:42de5980-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.042,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:09:56.888Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:09:56.888Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:ffde98b0-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 2.983433333333333,
+ "numberOfClicks": 31,
+ "timestamp": "2020-05-31T11:15:13.979Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:15:13.979Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:46ca9260-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.3946,
+ "numberOfClicks": 4,
+ "timestamp": "2020-05-31T11:17:12.966Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:17:12.966Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:47072630-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.006116666666666667,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:17:13.363Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:17:13.363Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:3805bfc0-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.19001666666666667,
+ "numberOfClicks": 2,
+ "timestamp": "2020-05-31T11:16:48.188Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:16:48.188Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:38af4630-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.018766666666666668,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:16:49.299Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:16:49.299Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:3136e3e0-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.012466666666666666,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:16:36.766Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:16:36.766Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:fd3cebc0-a32f-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.5283,
+ "numberOfClicks": 17,
+ "timestamp": "2020-05-31T11:15:09.564Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:15:09.564Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:6463c800-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.28708333333333336,
+ "numberOfClicks": 10,
+ "timestamp": "2020-05-31T11:18:02.624Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:18:02.624Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:57b7c340-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.4411833333333333,
+ "numberOfClicks": 11,
+ "timestamp": "2020-05-31T11:17:41.364Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:17:41.364Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:67dbd7c0-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 2.4508833333333335,
+ "numberOfClicks": 5,
+ "timestamp": "2020-05-31T11:18:08.444Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:18:08.444Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:6bf41f20-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 2.5884833333333335,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:18:15.314Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:18:15.314Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:6c5ccc00-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.011383333333333334,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:18:16.000Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:18:16.000Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:6ce7f500-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.015066666666666667,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:18:16.912Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:18:16.912Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:5a178530-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.067,
+ "numberOfClicks": 3,
+ "timestamp": "2020-05-31T11:17:45.347Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:17:45.347Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:d10c66b0-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.030199999999999998,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:21:04.923Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:21:04.923Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:cd5aa950-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 2.2735666666666665,
+ "numberOfClicks": 21,
+ "timestamp": "2020-05-31T11:20:58.724Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:20:58.725Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:b2dee050-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.08906666666666667,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:20:14.293Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:20:14.293Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:d194a980-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.018183333333333333,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:21:05.816Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:21:05.816Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:72b406e0-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.14396666666666666,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:18:26.638Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:18:26.638Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:6d8e6e30-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.0179,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:18:18.003Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:18:18.003Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:5e085850-3e6e-11e8-bbb9-e15942d5d48c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "f908c8e0-3e6d-11e8-bbb9-e15942d5d48c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-12T16:27:17.973Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "non timebased line chart - dog data",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"non timebased line chart - dog data\",\"type\":\"line\",\"params\":{\"type\":\"line\",\"grid\":{\"categoryLines\":false,\"style\":{\"color\":\"#eee\"}},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"truncate\":100},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Max trainability\"}}],\"seriesParams\":[{\"show\":\"true\",\"type\":\"line\",\"mode\":\"normal\",\"data\":{\"label\":\"Max trainability\",\"id\":\"1\"},\"valueAxis\":\"ValueAxis-1\",\"drawLinesBetweenPoints\":true,\"showCircles\":true},{\"show\":true,\"mode\":\"normal\",\"type\":\"line\",\"drawLinesBetweenPoints\":true,\"showCircles\":true,\"data\":{\"id\":\"3\",\"label\":\"Max barking level\"},\"valueAxis\":\"ValueAxis-1\"},{\"show\":true,\"mode\":\"normal\",\"type\":\"line\",\"drawLinesBetweenPoints\":true,\"showCircles\":true,\"data\":{\"id\":\"4\",\"label\":\"Max activity level\"},\"valueAxis\":\"ValueAxis-1\"}],\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"max\",\"schema\":\"metric\",\"params\":{\"field\":\"trainability\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"breed.keyword\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"max\",\"schema\":\"metric\",\"params\":{\"field\":\"barking level\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"max\",\"schema\":\"metric\",\"params\":{\"field\":\"activity level\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:a5d56330-3e6e-11e8-bbb9-e15942d5d48c",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "I have two visualizations that are created off a non time based index",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
+ "panelsJSON": "[{\"gridData\":{\"w\":24,\"h\":15,\"x\":0,\"y\":0,\"i\":\"1\"},\"version\":\"7.3.0\",\"panelIndex\":\"1\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"},{\"gridData\":{\"w\":24,\"h\":15,\"x\":24,\"y\":0,\"i\":\"2\"},\"version\":\"7.3.0\",\"panelIndex\":\"2\",\"embeddableConfig\":{},\"panelRefName\":\"panel_1\"}]",
+ "timeRestore": false,
+ "title": "Non time based",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "5e085850-3e6e-11e8-bbb9-e15942d5d48c",
+ "name": "panel_0",
+ "type": "visualization"
+ },
+ {
+ "id": "8bc8d6c0-3e6e-11e8-bbb9-e15942d5d48c",
+ "name": "panel_1",
+ "type": "visualization"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-12T16:29:18.435Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:d2525040-3dcd-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "I have one of every visualization type since the last time I was created!",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"hidePanelTitles\":false,\"useMargins\":true}",
+ "panelsJSON": "[{\"panelIndex\":\"1\",\"gridData\":{\"x\":0,\"y\":0,\"w\":24,\"h\":15,\"i\":\"1\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_0\"},{\"panelIndex\":\"2\",\"gridData\":{\"x\":24,\"y\":0,\"w\":24,\"h\":15,\"i\":\"2\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_1\"},{\"panelIndex\":\"3\",\"gridData\":{\"x\":0,\"y\":15,\"w\":24,\"h\":15,\"i\":\"3\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_2\"},{\"panelIndex\":\"4\",\"gridData\":{\"x\":24,\"y\":15,\"w\":24,\"h\":15,\"i\":\"4\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_3\"},{\"panelIndex\":\"5\",\"gridData\":{\"x\":0,\"y\":30,\"w\":24,\"h\":15,\"i\":\"5\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_4\"},{\"panelIndex\":\"6\",\"gridData\":{\"x\":24,\"y\":30,\"w\":24,\"h\":15,\"i\":\"6\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_5\"},{\"panelIndex\":\"7\",\"gridData\":{\"x\":0,\"y\":45,\"w\":24,\"h\":15,\"i\":\"7\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_6\"},{\"panelIndex\":\"8\",\"gridData\":{\"x\":24,\"y\":45,\"w\":24,\"h\":15,\"i\":\"8\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_7\"},{\"panelIndex\":\"9\",\"gridData\":{\"x\":0,\"y\":60,\"w\":24,\"h\":15,\"i\":\"9\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_8\"},{\"panelIndex\":\"10\",\"gridData\":{\"x\":24,\"y\":60,\"w\":24,\"h\":15,\"i\":\"10\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_9\"},{\"panelIndex\":\"11\",\"gridData\":{\"x\":0,\"y\":75,\"w\":24,\"h\":15,\"i\":\"11\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_10\"},{\"panelIndex\":\"12\",\"gridData\":{\"x\":24,\"y\":75,\"w\":24,\"h\":15,\"i\":\"12\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_11\"},{\"panelIndex\":\"13\",\"gridData\":{\"x\":0,\"y\":90,\"w\":24,\"h\":15,\"i\":\"13\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_12\"},{\"panelIndex\":\"14\",\"gridData\":{\"x\":24,\"y\":90,\"w\":24,\"h\":15,\"i\":\"14\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_13\"},{\"panelIndex\":\"15\",\"gridData\":{\"x\":0,\"y\":105,\"w\":24,\"h\":15,\"i\":\"15\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_14\"},{\"panelIndex\":\"16\",\"gridData\":{\"x\":24,\"y\":105,\"w\":24,\"h\":15,\"i\":\"16\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_15\"},{\"panelIndex\":\"17\",\"gridData\":{\"x\":0,\"y\":120,\"w\":24,\"h\":15,\"i\":\"17\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_16\"},{\"panelIndex\":\"18\",\"gridData\":{\"x\":24,\"y\":120,\"w\":24,\"h\":15,\"i\":\"18\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_17\"},{\"panelIndex\":\"19\",\"gridData\":{\"x\":0,\"y\":135,\"w\":24,\"h\":15,\"i\":\"19\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_18\"},{\"panelIndex\":\"20\",\"gridData\":{\"x\":24,\"y\":135,\"w\":24,\"h\":15,\"i\":\"20\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_19\"},{\"panelIndex\":\"21\",\"gridData\":{\"x\":0,\"y\":150,\"w\":24,\"h\":15,\"i\":\"21\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_20\"},{\"panelIndex\":\"22\",\"gridData\":{\"x\":24,\"y\":150,\"w\":24,\"h\":15,\"i\":\"22\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_21\"},{\"panelIndex\":\"23\",\"gridData\":{\"x\":0,\"y\":165,\"w\":24,\"h\":15,\"i\":\"23\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_22\"},{\"panelIndex\":\"24\",\"gridData\":{\"x\":24,\"y\":165,\"w\":24,\"h\":15,\"i\":\"24\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_23\"},{\"panelIndex\":\"25\",\"gridData\":{\"x\":0,\"y\":180,\"w\":24,\"h\":15,\"i\":\"25\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_24\"},{\"panelIndex\":\"26\",\"gridData\":{\"x\":24,\"y\":180,\"w\":24,\"h\":15,\"i\":\"26\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_25\"},{\"panelIndex\":\"27\",\"gridData\":{\"x\":0,\"y\":195,\"w\":24,\"h\":15,\"i\":\"27\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_26\"},{\"panelIndex\":\"28\",\"gridData\":{\"x\":24,\"y\":195,\"w\":24,\"h\":15,\"i\":\"28\"},\"embeddableConfig\":{},\"version\":\"7.3.0\",\"panelRefName\":\"panel_27\"},{\"panelIndex\":\"29\",\"gridData\":{\"x\":0,\"y\":210,\"w\":24,\"h\":15,\"i\":\"29\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_28\"},{\"gridData\":{\"w\":24,\"h\":15,\"x\":24,\"y\":210,\"i\":\"30\"},\"version\":\"7.3.0\",\"panelIndex\":\"30\",\"embeddableConfig\":{},\"panelRefName\":\"panel_29\"}]",
+ "refreshInterval": {
+ "display": "Off",
+ "pause": false,
+ "value": 0
+ },
+ "timeFrom": "Mon Apr 09 2018 17:56:08 GMT-0400",
+ "timeRestore": true,
+ "timeTo": "Wed Apr 11 2018 17:56:08 GMT-0400",
+ "title": "dashboard with everything",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "e6140540-3dca-11e8-8660-4d65aa086b3c",
+ "name": "panel_0",
+ "type": "visualization"
+ },
+ {
+ "id": "3525b840-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_1",
+ "type": "visualization"
+ },
+ {
+ "id": "4b5d6ef0-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_2",
+ "type": "visualization"
+ },
+ {
+ "id": "37a541c0-3dcc-11e8-8660-4d65aa086b3c",
+ "name": "panel_3",
+ "type": "visualization"
+ },
+ {
+ "id": "ffa2e0c0-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_4",
+ "type": "visualization"
+ },
+ {
+ "id": "e2023110-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_5",
+ "type": "visualization"
+ },
+ {
+ "id": "145ced90-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_6",
+ "type": "visualization"
+ },
+ {
+ "id": "2d1b1620-3dcd-11e8-8660-4d65aa086b3c",
+ "name": "panel_7",
+ "type": "visualization"
+ },
+ {
+ "id": "42535e30-3dcd-11e8-8660-4d65aa086b3c",
+ "name": "panel_8",
+ "type": "visualization"
+ },
+ {
+ "id": "42535e30-3dcd-11e8-8660-4d65aa086b3c",
+ "name": "panel_9",
+ "type": "visualization"
+ },
+ {
+ "id": "4c0f47e0-3dcd-11e8-8660-4d65aa086b3c",
+ "name": "panel_10",
+ "type": "visualization"
+ },
+ {
+ "id": "11ae2bd0-3dcc-11e8-8660-4d65aa086b3c",
+ "name": "panel_11",
+ "type": "visualization"
+ },
+ {
+ "id": "3fe22200-3dcb-11e8-8660-4d65aa086b3c",
+ "name": "panel_12",
+ "type": "visualization"
+ },
+ {
+ "id": "4ca00ba0-3dcc-11e8-8660-4d65aa086b3c",
+ "name": "panel_13",
+ "type": "visualization"
+ },
+ {
+ "id": "78803be0-3dcd-11e8-8660-4d65aa086b3c",
+ "name": "panel_14",
+ "type": "visualization"
+ },
+ {
+ "id": "b92ae920-3dcc-11e8-8660-4d65aa086b3c",
+ "name": "panel_15",
+ "type": "visualization"
+ },
+ {
+ "id": "e4d8b430-3dcc-11e8-8660-4d65aa086b3c",
+ "name": "panel_16",
+ "type": "visualization"
+ },
+ {
+ "id": "f81134a0-3dcc-11e8-8660-4d65aa086b3c",
+ "name": "panel_17",
+ "type": "visualization"
+ },
+ {
+ "id": "cc43fab0-3dcc-11e8-8660-4d65aa086b3c",
+ "name": "panel_18",
+ "type": "visualization"
+ },
+ {
+ "id": "02a2e4e0-3dcd-11e8-8660-4d65aa086b3c",
+ "name": "panel_19",
+ "type": "visualization"
+ },
+ {
+ "id": "df815d20-3dcc-11e8-8660-4d65aa086b3c",
+ "name": "panel_20",
+ "type": "visualization"
+ },
+ {
+ "id": "c40f4d40-3dcc-11e8-8660-4d65aa086b3c",
+ "name": "panel_21",
+ "type": "visualization"
+ },
+ {
+ "id": "7fda8ee0-3dcd-11e8-8660-4d65aa086b3c",
+ "name": "panel_22",
+ "type": "visualization"
+ },
+ {
+ "id": "a16d1990-3dca-11e8-8660-4d65aa086b3c",
+ "name": "panel_23",
+ "type": "search"
+ },
+ {
+ "id": "be5accf0-3dca-11e8-8660-4d65aa086b3c",
+ "name": "panel_24",
+ "type": "search"
+ },
+ {
+ "id": "ca5ada40-3dca-11e8-8660-4d65aa086b3c",
+ "name": "panel_25",
+ "type": "search"
+ },
+ {
+ "id": "771b4f10-3e59-11e8-9fc3-39e49624228e",
+ "name": "panel_26",
+ "type": "visualization"
+ },
+ {
+ "id": "5e085850-3e6e-11e8-bbb9-e15942d5d48c",
+ "name": "panel_27",
+ "type": "visualization"
+ },
+ {
+ "id": "8bc8d6c0-3e6e-11e8-bbb9-e15942d5d48c",
+ "name": "panel_28",
+ "type": "visualization"
+ },
+ {
+ "id": "befdb6b0-3e59-11e8-9fc3-39e49624228e",
+ "name": "panel_29",
+ "type": "visualization"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-16T16:05:02.915Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:29bd0240-4197-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-16T16:56:53.092Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[{\"meta\":{\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"geo.src\",\"value\":\"CN\",\"params\":{\"query\":\"CN\",\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"geo.src\":{\"query\":\"CN\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"query\":\"bytes >= 10000\",\"language\":\"kuery\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Kuery: pie bytes with kuery and filter",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Kuery: pie bytes with kuery and filter\",\"type\":\"pie\",\"params\":{\"type\":\"pie\",\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"isDonut\":true,\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"bytes\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "index-pattern:0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "index-pattern": {
+ "fieldFormatMap": "{\"machine.ram\":{\"id\":\"number\",\"params\":{\"pattern\":\"0,0.[000] b\"}}}",
+ "fields": "[{\"name\":\"@message\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"@message.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"@tags\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"@tags.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"@timestamp\",\"type\":\"date\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"_id\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_index\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_score\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_source\",\"type\":\"_source\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_type\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"agent\",\"type\":\"string\",\"count\":2,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"agent.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"bytes\",\"type\":\"number\",\"count\":3,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"clientip\",\"type\":\"ip\",\"count\":3,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"extension\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"extension.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"geo.coordinates\",\"type\":\"geo_point\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"geo.dest\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"geo.src\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"geo.srcdest\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"headings\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"headings.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"host\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"host.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"id\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"index\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"index.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"ip\",\"type\":\"ip\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"links\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"links.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"machine.os\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"machine.os.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"machine.ram\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"memory\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"meta.char\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"meta.related\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"meta.user.firstname\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"meta.user.lastname\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"phpmemory\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"referer\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.article:modified_time\",\"type\":\"date\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.article:published_time\",\"type\":\"date\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.article:section\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.article:section.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.article:tag\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.article:tag.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.og:description\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.og:description.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.og:image\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.og:image.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.og:image:height\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.og:image:height.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.og:image:width\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.og:image:width.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.og:site_name\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.og:site_name.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.og:title\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.og:title.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.og:type\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.og:type.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.og:url\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.og:url.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.twitter:card\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.twitter:card.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.twitter:description\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.twitter:description.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.twitter:image\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.twitter:image.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.twitter:site\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.twitter:site.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.twitter:title\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.twitter:title.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"relatedContent.url\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"relatedContent.url.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"request\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"request.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"response\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"response.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"spaces\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"spaces.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"url\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"url.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"utc_time\",\"type\":\"date\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"xss\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"xss.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true}]",
+ "timeFieldName": "@timestamp",
+ "title": "logstash-*"
+ },
+ "migrationVersion": {
+ "index-pattern": "7.6.0"
+ },
+ "references": [
+ ],
+ "type": "index-pattern",
+ "updated_at": "2018-04-16T16:57:12.263Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "search:55d37a30-4197-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "search": "7.4.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "search": {
+ "columns": [
+ "agent",
+ "bytes",
+ "clientip"
+ ],
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"highlightAll\":true,\"version\":true,\"query\":{\"query\":\"clientip : 73.14.212.83\",\"language\":\"kuery\"},\"filter\":[{\"meta\":{\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"range\",\"key\":\"bytes\",\"value\":\"100 to 1,000\",\"params\":{\"gte\":100,\"lt\":1000},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"range\":{\"bytes\":{\"gte\":100,\"lt\":1000}},\"$state\":{\"store\":\"appState\"}}],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "sort": [
+ [
+ "@timestamp",
+ "desc"
+ ]
+ ],
+ "title": "Bytes and kuery in saved search with filter",
+ "version": 1
+ },
+ "type": "search",
+ "updated_at": "2018-04-16T16:58:07.059Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:b60de070-4197-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "Bytes bytes and more bytes",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"hidePanelTitles\":false,\"useMargins\":true}",
+ "panelsJSON": "[{\"panelIndex\":\"1\",\"gridData\":{\"x\":0,\"y\":0,\"w\":24,\"h\":15,\"i\":\"1\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"},{\"panelIndex\":\"2\",\"gridData\":{\"x\":24,\"y\":0,\"w\":24,\"h\":15,\"i\":\"2\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_1\"},{\"panelIndex\":\"3\",\"gridData\":{\"x\":0,\"y\":15,\"w\":24,\"h\":15,\"i\":\"3\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_2\"},{\"panelIndex\":\"4\",\"gridData\":{\"x\":24,\"y\":15,\"w\":17,\"h\":8,\"i\":\"4\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_3\"},{\"panelIndex\":\"5\",\"gridData\":{\"x\":0,\"y\":30,\"w\":18,\"h\":13,\"i\":\"5\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_4\"},{\"panelIndex\":\"6\",\"gridData\":{\"x\":24,\"y\":37,\"w\":24,\"h\":12,\"i\":\"6\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_5\"},{\"panelIndex\":\"7\",\"gridData\":{\"x\":18,\"y\":30,\"w\":9,\"h\":7,\"i\":\"7\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_6\"},{\"panelIndex\":\"8\",\"gridData\":{\"x\":28,\"y\":23,\"w\":15,\"h\":13,\"i\":\"8\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_7\"},{\"panelIndex\":\"9\",\"gridData\":{\"x\":0,\"y\":43,\"w\":24,\"h\":15,\"i\":\"9\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_8\"},{\"panelIndex\":\"10\",\"gridData\":{\"x\":24,\"y\":49,\"w\":18,\"h\":12,\"i\":\"10\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_9\"},{\"panelIndex\":\"11\",\"gridData\":{\"x\":0,\"y\":58,\"w\":24,\"h\":15,\"i\":\"11\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_10\"},{\"panelIndex\":\"12\",\"gridData\":{\"x\":24,\"y\":61,\"w\":5,\"h\":4,\"i\":\"12\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_11\"},{\"panelIndex\":\"13\",\"gridData\":{\"x\":0,\"y\":73,\"w\":17,\"h\":6,\"i\":\"13\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_12\"},{\"panelIndex\":\"14\",\"gridData\":{\"x\":24,\"y\":65,\"w\":24,\"h\":15,\"i\":\"14\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_13\"},{\"panelIndex\":\"15\",\"gridData\":{\"x\":0,\"y\":79,\"w\":24,\"h\":6,\"i\":\"15\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_14\"},{\"panelIndex\":\"16\",\"gridData\":{\"x\":24,\"y\":80,\"w\":24,\"h\":15,\"i\":\"16\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_15\"},{\"panelIndex\":\"17\",\"gridData\":{\"x\":0,\"y\":85,\"w\":13,\"h\":11,\"i\":\"17\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_16\"},{\"panelIndex\":\"18\",\"gridData\":{\"x\":24,\"y\":95,\"w\":23,\"h\":11,\"i\":\"18\"},\"version\":\"7.3.0\",\"embeddableConfig\":{},\"panelRefName\":\"panel_17\"}]",
+ "refreshInterval": {
+ "display": "Off",
+ "pause": false,
+ "value": 0
+ },
+ "timeFrom": "Mon Apr 09 2018 17:56:08 GMT-0400",
+ "timeRestore": true,
+ "timeTo": "Wed Apr 11 2018 17:56:08 GMT-0400",
+ "title": "All about those bytes",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "7ff2c4c0-4191-11e8-bb13-d53698fb349a",
+ "name": "panel_0",
+ "type": "visualization"
+ },
+ {
+ "id": "03d2afd0-4192-11e8-bb13-d53698fb349a",
+ "name": "panel_1",
+ "type": "visualization"
+ },
+ {
+ "id": "63983430-4192-11e8-bb13-d53698fb349a",
+ "name": "panel_2",
+ "type": "visualization"
+ },
+ {
+ "id": "0ca8c600-4195-11e8-bb13-d53698fb349a",
+ "name": "panel_3",
+ "type": "visualization"
+ },
+ {
+ "id": "c10c6b00-4191-11e8-bb13-d53698fb349a",
+ "name": "panel_4",
+ "type": "visualization"
+ },
+ {
+ "id": "760a9060-4190-11e8-bb13-d53698fb349a",
+ "name": "panel_5",
+ "type": "visualization"
+ },
+ {
+ "id": "1dcdfe30-4192-11e8-bb13-d53698fb349a",
+ "name": "panel_6",
+ "type": "visualization"
+ },
+ {
+ "id": "584c0300-4191-11e8-bb13-d53698fb349a",
+ "name": "panel_7",
+ "type": "visualization"
+ },
+ {
+ "id": "b3e70d00-4190-11e8-bb13-d53698fb349a",
+ "name": "panel_8",
+ "type": "visualization"
+ },
+ {
+ "id": "df72ad40-4194-11e8-bb13-d53698fb349a",
+ "name": "panel_9",
+ "type": "visualization"
+ },
+ {
+ "id": "9bebe980-4192-11e8-bb13-d53698fb349a",
+ "name": "panel_10",
+ "type": "visualization"
+ },
+ {
+ "id": "9fb4c670-4194-11e8-bb13-d53698fb349a",
+ "name": "panel_11",
+ "type": "visualization"
+ },
+ {
+ "id": "35417e50-4194-11e8-bb13-d53698fb349a",
+ "name": "panel_12",
+ "type": "visualization"
+ },
+ {
+ "id": "039e4770-4194-11e8-bb13-d53698fb349a",
+ "name": "panel_13",
+ "type": "visualization"
+ },
+ {
+ "id": "76c7f020-4194-11e8-bb13-d53698fb349a",
+ "name": "panel_14",
+ "type": "visualization"
+ },
+ {
+ "id": "8090dcb0-4195-11e8-bb13-d53698fb349a",
+ "name": "panel_15",
+ "type": "visualization"
+ },
+ {
+ "id": "29bd0240-4197-11e8-bb13-d53698fb349a",
+ "name": "panel_16",
+ "type": "visualization"
+ },
+ {
+ "id": "55d37a30-4197-11e8-bb13-d53698fb349a",
+ "name": "panel_17",
+ "type": "search"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-04-16T17:00:48.503Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:78803be0-3dcd-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:32.127Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: tag cloud",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: tag cloud\",\"type\":\"tagcloud\",\"params\":{\"scale\":\"linear\",\"orientation\":\"single\",\"minFontSize\":18,\"maxFontSize\":72,\"showLabel\":true},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"geo.src\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:3fe22200-3dcb-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:32.130Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: pie",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: pie\",\"type\":\"pie\",\"params\":{\"type\":\"pie\",\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"isDonut\":true,\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"bytes\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:4ca00ba0-3dcc-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:32.131Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: region map",
+ "uiStateJSON": "{\"mapZoom\":2,\"mapCenter\":[8.754794702435618,-9.140625000000002]}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: region map\",\"type\":\"region_map\",\"params\":{\"legendPosition\":\"bottomright\",\"addTooltip\":true,\"colorSchema\":\"Yellow to Red\",\"selectedLayer\":{\"attribution\":\"Made with NaturalEarth | Elastic Maps Service
\",\"name\":\"World Countries\",\"weight\":1,\"format\":{\"type\":\"geojson\"},\"url\":\"https://staging-dot-elastic-layer.appspot.com/blob/5715999101812736?elastic_tile_service_tos=agree&my_app_version=6.3.0\",\"fields\":[{\"name\":\"iso2\",\"description\":\"Two letter abbreviation\"},{\"name\":\"iso3\",\"description\":\"Three letter abbreviation\"},{\"name\":\"name\",\"description\":\"Country name\"}],\"created_at\":\"2017-07-31T16:00:19.996450\",\"tags\":[],\"id\":5715999101812736,\"layerId\":\"elastic_maps_service.World Countries\"},\"selectedJoinField\":{\"name\":\"iso2\",\"description\":\"Two letter abbreviation\"},\"isDisplayWarning\":true,\"wms\":{\"enabled\":false,\"options\":{\"format\":\"image/png\",\"transparent\":true},\"baseLayersAreLoaded\":{},\"tmsLayers\":[{\"id\":\"road_map\",\"url\":\"https://tiles-stage.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana&my_app_version=6.3.0\",\"minZoom\":0,\"maxZoom\":10,\"attribution\":\"© OpenStreetMap contributors | Elastic Maps Service
\",\"subdomains\":[]}],\"selectedTmsLayer\":{\"id\":\"road_map\",\"url\":\"https://tiles-stage.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana&my_app_version=6.3.0\",\"minZoom\":0,\"maxZoom\":10,\"attribution\":\"© OpenStreetMap contributors | Elastic Maps Service
\",\"subdomains\":[]}},\"mapZoom\":2,\"mapCenter\":[0,0],\"outlineWeight\":1,\"showAllShapes\":true},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"geo.src\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:11ae2bd0-3dcc-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:32.133Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: metric",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: metric\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"cardinality\",\"schema\":\"metric\",\"params\":{\"field\":\"bytes\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:145ced90-3dcb-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:32.134Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: heatmap",
+ "uiStateJSON": "{\"vis\":{\"defaultColors\":{\"0 - 15\":\"rgb(247,252,245)\",\"15 - 30\":\"rgb(199,233,192)\",\"30 - 45\":\"rgb(116,196,118)\",\"45 - 60\":\"rgb(35,139,69)\"}}}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: heatmap\",\"type\":\"heatmap\",\"params\":{\"type\":\"heatmap\",\"addTooltip\":true,\"addLegend\":true,\"enableHover\":false,\"legendPosition\":\"right\",\"times\":[],\"colorsNumber\":4,\"colorSchema\":\"Greens\",\"setColorRange\":false,\"colorsRange\":[],\"invertColors\":false,\"percentageMode\":false,\"valueAxes\":[{\"show\":false,\"id\":\"ValueAxis-1\",\"type\":\"value\",\"scale\":{\"type\":\"linear\",\"defaultYExtents\":false},\"labels\":{\"show\":false,\"rotate\":0,\"overwriteColor\":false,\"color\":\"#555\"}}]},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"bytes\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"geo.src\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:e2023110-3dcb-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:32.135Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: guage",
+ "uiStateJSON": "{\"vis\":{\"colors\":{\"0 - 50000\":\"#EF843C\",\"75000 - 10000000\":\"#3F6833\"},\"defaultColors\":{\"0 - 5000000\":\"rgb(0,104,55)\",\"50000000 - 74998990099\":\"rgb(165,0,38)\"}}}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: guage\",\"type\":\"gauge\",\"params\":{\"addLegend\":true,\"addTooltip\":true,\"gauge\":{\"backStyle\":\"Full\",\"colorSchema\":\"Green to Red\",\"colorsRange\":[{\"from\":0,\"to\":5000000},{\"from\":50000000,\"to\":74998990099}],\"extendRange\":true,\"gaugeColorMode\":\"Labels\",\"gaugeStyle\":\"Full\",\"gaugeType\":\"Arc\",\"invertColors\":false,\"labels\":{\"color\":\"black\",\"show\":true},\"orientation\":\"vertical\",\"percentageMode\":false,\"scale\":{\"color\":\"#333\",\"labels\":false,\"show\":true},\"style\":{\"bgColor\":false,\"bgFill\":\"#eee\",\"bgMask\":false,\"bgWidth\":0.9,\"fontSize\":60,\"labelColor\":true,\"mask\":false,\"maskBars\":50,\"subText\":\"\",\"width\":0.9},\"type\":\"meter\",\"alignment\":\"horizontal\"},\"isDisplayWarning\":false,\"type\":\"gauge\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"avg\",\"schema\":\"metric\",\"params\":{\"field\":\"machine.ram\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:b92ae920-3dcc-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:31.110Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: timelion",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: timelion\",\"type\":\"timelion\",\"params\":{\"expression\":\".es(*, metric=avg:bytes, split=ip:5)\",\"interval\":\"auto\"},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:e4d8b430-3dcc-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:31.106Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: tsvb-guage",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: tsvb-guage\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"gauge\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"everything\",\"metrics\":[{\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"split_color_mode\":\"gradient\"},{\"id\":\"d18e5970-3dcc-11e8-a2f6-c162ca6cf6ea\",\"color\":\"rgba(160,70,216,1)\",\"split_mode\":\"filter\",\"metrics\":[{\"id\":\"d18e5971-3dcc-11e8-a2f6-c162ca6cf6ea\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"filter\":{\"query\":\"bytes:>1000\",\"language\":\"lucene\"},\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"logstash-*\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1,\"background_color_rules\":[{\"id\":\"c50bd5b0-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"bar_color_rules\":[{\"id\":\"cd25a820-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"gauge_color_rules\":[{\"id\":\"e0be22e0-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"gauge_width\":10,\"gauge_inner_width\":10,\"gauge_style\":\"half\"},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:4c0f47e0-3dcd-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:31.111Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: markdown",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: markdown\",\"type\":\"markdown\",\"params\":{\"fontSize\":20,\"openLinksInNewTab\":false,\"markdown\":\"I'm a markdown!\"},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:2d1b1620-3dcd-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "control_0_index_pattern",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "control_1_index_pattern",
+ "type": "index-pattern"
+ },
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "control_2_index_pattern",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:31.123Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: input control",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: input control\",\"type\":\"input_control_vis\",\"params\":{\"controls\":[{\"id\":\"1523481142694\",\"fieldName\":\"bytes\",\"parent\":\"\",\"label\":\"Bytes Input List\",\"type\":\"list\",\"options\":{\"type\":\"terms\",\"multiselect\":true,\"size\":5,\"order\":\"desc\"},\"indexPatternRefName\":\"control_0_index_pattern\"},{\"id\":\"1523481163654\",\"fieldName\":\"bytes\",\"parent\":\"\",\"label\":\"Bytes range\",\"type\":\"range\",\"options\":{\"decimalPlaces\":0,\"step\":1},\"indexPatternRefName\":\"control_1_index_pattern\"},{\"id\":\"1523481176519\",\"fieldName\":\"sound.keyword\",\"parent\":\"\",\"label\":\"Animal sounds\",\"type\":\"list\",\"options\":{\"type\":\"terms\",\"multiselect\":true,\"size\":5,\"order\":\"desc\"},\"indexPatternRefName\":\"control_2_index_pattern\"}],\"updateFiltersOnChange\":false,\"useTimeFilter\":false,\"pinFilters\":false},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:8bc8d6c0-3e6e-11e8-bbb9-e15942d5d48c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "f908c8e0-3e6d-11e8-bbb9-e15942d5d48c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "f908c8e0-3e6d-11e8-bbb9-e15942d5d48c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:31.173Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[{\"meta\":{\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"size.keyword\",\"value\":\"extra large\",\"params\":{\"query\":\"extra large\",\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"size.keyword\":{\"query\":\"extra large\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: non timebased line chart - dog data - with filter",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"aggs\":[{\"enabled\":true,\"id\":\"1\",\"params\":{\"field\":\"trainability\"},\"schema\":\"metric\",\"type\":\"max\"},{\"enabled\":true,\"id\":\"2\",\"params\":{\"field\":\"breed.keyword\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"order\":\"desc\",\"orderBy\":\"1\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"size\":5},\"schema\":\"segment\",\"type\":\"terms\"},{\"enabled\":true,\"id\":\"3\",\"params\":{\"field\":\"barking level\"},\"schema\":\"metric\",\"type\":\"max\"},{\"enabled\":true,\"id\":\"4\",\"params\":{\"field\":\"activity level\"},\"schema\":\"metric\",\"type\":\"max\"}],\"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\":\"Max trainability\"},\"drawLinesBetweenPoints\":true,\"mode\":\"normal\",\"show\":\"true\",\"showCircles\":true,\"type\":\"line\",\"valueAxis\":\"ValueAxis-1\"},{\"data\":{\"id\":\"3\",\"label\":\"Max barking level\"},\"drawLinesBetweenPoints\":true,\"mode\":\"normal\",\"show\":true,\"showCircles\":true,\"type\":\"line\",\"valueAxis\":\"ValueAxis-1\"},{\"data\":{\"id\":\"4\",\"label\":\"Max activity level\"},\"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\":\"Max trainability\"},\"type\":\"value\"}]},\"title\":\"Rendering Test: non timebased line chart - dog data - with filter\",\"type\":\"line\"}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:42535e30-3dcd-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "control_0_index_pattern",
+ "type": "index-pattern"
+ },
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "control_1_index_pattern",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:31.124Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: input control parent",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: input control parent\",\"type\":\"input_control_vis\",\"params\":{\"controls\":[{\"id\":\"1523481216736\",\"fieldName\":\"animal.keyword\",\"parent\":\"\",\"label\":\"Animal type\",\"type\":\"list\",\"options\":{\"type\":\"terms\",\"multiselect\":true,\"size\":5,\"order\":\"desc\"},\"indexPatternRefName\":\"control_0_index_pattern\"},{\"id\":\"1523481176519\",\"fieldName\":\"sound.keyword\",\"parent\":\"1523481216736\",\"label\":\"Animal sounds\",\"type\":\"list\",\"options\":{\"type\":\"terms\",\"multiselect\":true,\"size\":5,\"order\":\"desc\"},\"indexPatternRefName\":\"control_1_index_pattern\"}],\"updateFiltersOnChange\":false,\"useTimeFilter\":false,\"pinFilters\":false},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:7fda8ee0-3dcd-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:30.344Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: vega",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: vega\",\"type\":\"vega\",\"params\":{\"spec\":\"{\\n/*\\n\\nWelcome to Vega visualizations. Here you can design your own dataviz from scratch using a declarative language called Vega, or its simpler form Vega-Lite. In Vega, you have the full control of what data is loaded, even from multiple sources, how that data is transformed, and what visual elements are used to show it. Use help icon to view Vega examples, tutorials, and other docs. Use the wrench icon to reformat this text, or to remove comments.\\n\\nThis example graph shows the document count in all indexes in the current time range. You might need to adjust the time filter in the upper right corner.\\n*/\\n\\n $schema: https://vega.github.io/schema/vega-lite/v2.json\\n title: Event counts from all indexes\\n\\n // Define the data source\\n data: {\\n url: {\\n/*\\nAn object instead of a string for the \\\"url\\\" param is treated as an Elasticsearch query. Anything inside this object is not part of the Vega language, but only understood by Kibana and Elasticsearch server. This query counts the number of documents per time interval, assuming you have a @timestamp field in your data.\\n\\nKibana has a special handling for the fields surrounded by \\\"%\\\". They are processed before the the query is sent to Elasticsearch. This way the query becomes context aware, and can use the time range and the dashboard filters.\\n*/\\n\\n // Apply dashboard context filters when set\\n %context%: true\\n // Filter the time picker (upper right corner) with this field\\n %timefield%: @timestamp\\n\\n/*\\nSee .search() documentation for : https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-search\\n*/\\n\\n // Which index to search\\n index: _all\\n // Aggregate data by the time field into time buckets, counting the number of documents in each bucket.\\n body: {\\n aggs: {\\n time_buckets: {\\n date_histogram: {\\n // Use date histogram aggregation on @timestamp field\\n field: @timestamp\\n // The interval value will depend on the daterange picker (true), or use an integer to set an approximate bucket count\\n interval: {%autointerval%: true}\\n // Make sure we get an entire range, even if it has no data\\n extended_bounds: {\\n // Use the current time range's start and end\\n min: {%timefilter%: \\\"min\\\"}\\n max: {%timefilter%: \\\"max\\\"}\\n }\\n // Use this for linear (e.g. line, area) graphs. Without it, empty buckets will not show up\\n min_doc_count: 0\\n }\\n }\\n }\\n // Speed up the response by only including aggregation results\\n size: 0\\n }\\n }\\n/*\\nElasticsearch will return results in this format:\\n\\naggregations: {\\n time_buckets: {\\n buckets: [\\n {\\n key_as_string: 2015-11-30T22:00:00.000Z\\n key: 1448920800000\\n doc_count: 0\\n },\\n {\\n key_as_string: 2015-11-30T23:00:00.000Z\\n key: 1448924400000\\n doc_count: 0\\n }\\n ...\\n ]\\n }\\n}\\n\\nFor our graph, we only need the list of bucket values. Use the format.property to discard everything else.\\n*/\\n format: {property: \\\"aggregations.time_buckets.buckets\\\"}\\n }\\n\\n // \\\"mark\\\" is the graphics element used to show our data. Other mark values are: area, bar, circle, line, point, rect, rule, square, text, and tick. See https://vega.github.io/vega-lite/docs/mark.html\\n mark: line\\n\\n // \\\"encoding\\\" tells the \\\"mark\\\" what data to use and in what way. See https://vega.github.io/vega-lite/docs/encoding.html\\n encoding: {\\n x: {\\n // The \\\"key\\\" value is the timestamp in milliseconds. Use it for X axis.\\n field: key\\n type: temporal\\n axis: {title: false} // Customize X axis format\\n }\\n y: {\\n // The \\\"doc_count\\\" is the count per bucket. Use it for Y axis.\\n field: doc_count\\n type: quantitative\\n axis: {title: \\\"Document count\\\"}\\n }\\n }\\n}\\n\"},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:02a2e4e0-3dcd-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:30.351Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: tsvb-table",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: tsvb-table\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"table\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"everything\",\"metrics\":[{\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"split_color_mode\":\"gradient\"},{\"id\":\"d18e5970-3dcc-11e8-a2f6-c162ca6cf6ea\",\"color\":\"rgba(160,70,216,1)\",\"split_mode\":\"filter\",\"metrics\":[{\"id\":\"d18e5971-3dcc-11e8-a2f6-c162ca6cf6ea\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"filter\":{\"query\":\"bytes:>1000\",\"language\":\"lucene\"},\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"logstash-*\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1,\"background_color_rules\":[{\"id\":\"c50bd5b0-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"bar_color_rules\":[{\"id\":\"cd25a820-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"gauge_color_rules\":[{\"id\":\"e0be22e0-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"gauge_width\":10,\"gauge_inner_width\":10,\"gauge_style\":\"half\",\"markdown\":\"\\nHi Avg last bytes: {{ average_of_bytes.last.raw }}\",\"pivot_id\":\"bytes\",\"pivot_label\":\"Hello\"},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:f81134a0-3dcc-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:30.355Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: tsvb-markdown",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: tsvb-markdown\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"markdown\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"everything\",\"metrics\":[{\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"split_color_mode\":\"gradient\"},{\"id\":\"d18e5970-3dcc-11e8-a2f6-c162ca6cf6ea\",\"color\":\"rgba(160,70,216,1)\",\"split_mode\":\"filter\",\"metrics\":[{\"id\":\"d18e5971-3dcc-11e8-a2f6-c162ca6cf6ea\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"filter\":{\"query\":\"bytes:>1000\",\"language\":\"lucene\"},\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"logstash-*\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1,\"background_color_rules\":[{\"id\":\"c50bd5b0-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"bar_color_rules\":[{\"id\":\"cd25a820-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"gauge_color_rules\":[{\"id\":\"e0be22e0-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"gauge_width\":10,\"gauge_inner_width\":10,\"gauge_style\":\"half\",\"markdown\":\"\\nHi Avg last bytes: {{ average_of_bytes.last.raw }}\"},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:df815d20-3dcc-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:30.349Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: tsvb-topn",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: tsvb-topn\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"top_n\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"everything\",\"metrics\":[{\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"split_color_mode\":\"gradient\"},{\"id\":\"d18e5970-3dcc-11e8-a2f6-c162ca6cf6ea\",\"color\":\"rgba(160,70,216,1)\",\"split_mode\":\"filter\",\"metrics\":[{\"id\":\"d18e5971-3dcc-11e8-a2f6-c162ca6cf6ea\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"filter\":{\"query\":\"bytes:>1000\",\"language\":\"lucene\"},\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"logstash-*\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1,\"background_color_rules\":[{\"id\":\"c50bd5b0-3dcc-11e8-a2f6-c162ca6cf6ea\"}],\"bar_color_rules\":[{\"id\":\"cd25a820-3dcc-11e8-a2f6-c162ca6cf6ea\"}]},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:cc43fab0-3dcc-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:30.353Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: tsvb-metric",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: tsvb-metric\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"metric\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"everything\",\"metrics\":[{\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"sum_of_squares\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"logstash-*\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1,\"background_color_rules\":[{\"id\":\"c50bd5b0-3dcc-11e8-a2f6-c162ca6cf6ea\"}]},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:c40f4d40-3dcc-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:30.347Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Rendering Test: tsvb-ts",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: tsvb-ts\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"timeseries\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"everything\",\"metrics\":[{\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"count\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:ffa2e0c0-3dcb-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:33.153Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: goal",
+ "uiStateJSON": "{\"vis\":{\"defaultColors\":{\"0 - 100\":\"rgb(0,104,55)\"}}}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: goal\",\"type\":\"goal\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"isDisplayWarning\":false,\"type\":\"gauge\",\"gauge\":{\"verticalSplit\":false,\"autoExtend\":false,\"percentageMode\":true,\"gaugeType\":\"Arc\",\"gaugeStyle\":\"Full\",\"backStyle\":\"Full\",\"orientation\":\"vertical\",\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"gaugeColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":4000}],\"invertColors\":false,\"labels\":{\"show\":true,\"color\":\"black\"},\"scale\":{\"show\":false,\"labels\":false,\"color\":\"#333\",\"width\":2},\"type\":\"meter\",\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"geo.src\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":2,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:37a541c0-3dcc-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:33.156Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[{\"meta\":{\"negate\":true,\"disabled\":false,\"alias\":null,\"type\":\"range\",\"key\":\"bytes\",\"value\":\"0 to 10,000\",\"params\":{\"gte\":0,\"lt\":10000},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"range\":{\"bytes\":{\"gte\":0,\"lt\":10000}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: geo map",
+ "uiStateJSON": "{\"mapZoom\":4,\"mapCenter\":[35.460669951495305,-85.60546875000001]}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: geo map\",\"type\":\"tile_map\",\"params\":{\"mapType\":\"Scaled Circle Markers\",\"isDesaturated\":true,\"addTooltip\":true,\"heatClusterSize\":1.5,\"legendPosition\":\"bottomright\",\"mapZoom\":2,\"mapCenter\":[0,0],\"wms\":{\"enabled\":false,\"options\":{\"format\":\"image/png\",\"transparent\":true},\"baseLayersAreLoaded\":{},\"tmsLayers\":[{\"id\":\"road_map\",\"url\":\"https://tiles-stage.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana&my_app_version=6.3.0\",\"minZoom\":0,\"maxZoom\":10,\"attribution\":\"© OpenStreetMap contributors | Elastic Maps Service
\",\"subdomains\":[]}],\"selectedTmsLayer\":{\"id\":\"road_map\",\"url\":\"https://tiles-stage.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana&my_app_version=6.3.0\",\"minZoom\":0,\"maxZoom\":10,\"attribution\":\"© OpenStreetMap contributors | Elastic Maps Service
\",\"subdomains\":[]}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"geohash_grid\",\"schema\":\"segment\",\"params\":{\"field\":\"geo.coordinates\",\"autoPrecision\":true,\"isFilteredByCollar\":true,\"useGeocentroid\":true,\"precision\":3}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:4b5d6ef0-3dcb-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:33.162Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: datatable",
+ "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: datatable\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"clientip\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:3525b840-3dcb-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:33.163Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: bar",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: bar\",\"type\":\"horizontal_bar\",\"params\":{\"type\":\"histogram\",\"grid\":{\"categoryLines\":false,\"style\":{\"color\":\"#eee\"}},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":200},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":75,\"filter\":true,\"truncate\":100},\"title\":{\"text\":\"Count\"}}],\"seriesParams\":[{\"show\":true,\"type\":\"histogram\",\"mode\":\"normal\",\"data\":{\"label\":\"Count\",\"id\":\"1\"},\"valueAxis\":\"ValueAxis-1\",\"drawLinesBetweenPoints\":true,\"showCircles\":true}],\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"date_histogram\",\"schema\":\"segment\",\"params\":{\"field\":\"@timestamp\",\"interval\":\"auto\",\"min_doc_count\":1,\"extended_bounds\":{}}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"geo.src\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":3,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:e6140540-3dca-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:33.165Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[{\"meta\":{\"negate\":true,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"geo.src\",\"value\":\"CN\",\"params\":{\"query\":\"CN\",\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"geo.src\":{\"query\":\"CN\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: area with not filter",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: area with not filter\",\"type\":\"area\",\"params\":{\"type\":\"area\",\"grid\":{\"categoryLines\":false,\"style\":{\"color\":\"#eee\"}},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"truncate\":100},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Count\"}}],\"seriesParams\":[{\"show\":\"true\",\"type\":\"area\",\"mode\":\"stacked\",\"data\":{\"label\":\"Count\",\"id\":\"1\"},\"drawLinesBetweenPoints\":true,\"showCircles\":true,\"interpolate\":\"linear\",\"valueAxis\":\"ValueAxis-1\"}],\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"date_histogram\",\"schema\":\"segment\",\"params\":{\"field\":\"@timestamp\",\"interval\":\"auto\",\"min_doc_count\":1,\"extended_bounds\":{}}},{\"id\":\"3\",\"enabled\":true,\"type\":\"filters\",\"schema\":\"group\",\"params\":{\"filters\":[{\"input\":{\"query\":\"bytes:>1000\",\"language\":\"lucene\"},\"label\":\"\"},{\"input\":{\"query\":\"bytes:>10\",\"language\":\"lucene\"}}]}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:4c0c3f90-3e5a-11e8-9fc3-39e49624228e",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:33.166Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[{\"meta\":{\"field\":\"isDog\",\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"isDog\",\"value\":\"true\",\"params\":{\"value\":true},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"script\":{\"script\":{\"inline\":\"boolean compare(Supplier s, def v) {return s.get() == v;}compare(() -> { return doc['animal.keyword'].value == 'dog' }, params.value);\",\"lang\":\"painless\",\"params\":{\"value\":true}}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"query\":\"weightLbs:>40\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: scripted filter and query",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: scripted filter and query\",\"type\":\"pie\",\"params\":{\"type\":\"pie\",\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"isDonut\":true,\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"sound.keyword\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:50643b60-3dd3-11e8-b2b9-5d5dc1715159",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:34.195Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Rendering Test: animal sounds pie",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: animal sounds pie\",\"type\":\"pie\",\"params\":{\"type\":\"pie\",\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"isDonut\":true,\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"sound.keyword\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:771b4f10-3e59-11e8-9fc3-39e49624228e",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "a16d1990-3dca-11e8-8660-4d65aa086b3c",
+ "name": "search_0",
+ "type": "search"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:34.200Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"}}"
+ },
+ "savedSearchRefName": "search_0",
+ "title": "Rendering Test: animal weights linked to search",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Rendering Test: animal weights linked to search\",\"type\":\"pie\",\"params\":{\"type\":\"pie\",\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"isDonut\":true,\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"name.keyword\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:76c7f020-4194-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:34.583Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Filter Bytes Test: tsvb top n with bytes filter",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: tsvb top n with bytes filter\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"top_n\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"filters\",\"metrics\":[{\"id\":\"482d6560-4194-11e8-a461-7d278185cba4\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"terms_field\":\"clientip\",\"filter\":{\"query\":\"Filter Bytes Test:>1000\",\"language\":\"lucene\"},\"override_index_pattern\":0,\"series_index_pattern\":\"logstash-*\",\"series_time_field\":\"utc_time\",\"series_interval\":\"1m\",\"value_template\":\"\",\"split_filters\":[{\"filter\":{\"query\":\"Filter Bytes Test:>100\",\"language\":\"lucene\"},\"label\":\"\",\"color\":\"#68BC00\",\"id\":\"39a107e0-4194-11e8-a461-7d278185cba4\"}],\"split_color_mode\":\"gradient\"},{\"id\":\"4fd5b150-4194-11e8-a461-7d278185cba4\",\"color\":\"#68BC00\",\"split_mode\":\"everything\",\"metrics\":[{\"id\":\"4fd5b151-4194-11e8-a461-7d278185cba4\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"filter\":{\"query\":\"Filter Bytes Test:>3000\",\"language\":\"lucene\"},\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"logstash-*\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1,\"background_color_rules\":[{\"id\":\"06893260-4194-11e8-a461-7d278185cba4\"}],\"bar_color_rules\":[{\"id\":\"36a0e740-4194-11e8-a461-7d278185cba4\"}]},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:0ca8c600-4195-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "control_0_index_pattern",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:35.229Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Filter Bytes Test: input control with filter",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: input control with filter\",\"type\":\"input_control_vis\",\"params\":{\"controls\":[{\"id\":\"1523896850250\",\"fieldName\":\"bytes\",\"parent\":\"\",\"label\":\"Byte Options\",\"type\":\"list\",\"options\":{\"type\":\"terms\",\"multiselect\":true,\"size\":10,\"order\":\"desc\"},\"indexPatternRefName\":\"control_0_index_pattern\"}],\"updateFiltersOnChange\":false,\"useTimeFilter\":false,\"pinFilters\":false},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:039e4770-4194-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:35.220Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Filter Bytes Test: tsvb time series with bytes filter split by clientip",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: tsvb time series with bytes filter split by clientip\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"timeseries\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"terms\",\"metrics\":[{\"value\":\"\",\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"sum\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"terms_field\":\"clientip\",\"filter\":{\"query\":\"Filter Bytes Test:>1000\",\"language\":\"lucene\"},\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"logstash-*\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:760a9060-4190-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:35.235Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[{\"meta\":{\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"geo.src\",\"value\":\"US\",\"params\":{\"query\":\"US\",\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"geo.src\":{\"query\":\"US\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Filter Bytes Test: max bytes in US - area chart with filter",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: max bytes in US - area chart with filter\",\"type\":\"area\",\"params\":{\"type\":\"area\",\"grid\":{\"categoryLines\":false,\"style\":{\"color\":\"#eee\"}},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"truncate\":100},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Max bytes\"}}],\"seriesParams\":[{\"show\":\"true\",\"type\":\"area\",\"mode\":\"stacked\",\"data\":{\"label\":\"Max bytes\",\"id\":\"1\"},\"drawLinesBetweenPoints\":true,\"showCircles\":true,\"interpolate\":\"linear\",\"valueAxis\":\"ValueAxis-1\"}],\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"max\",\"schema\":\"metric\",\"params\":{\"field\":\"bytes\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"date_histogram\",\"schema\":\"segment\",\"params\":{\"field\":\"@timestamp\",\"interval\":\"auto\",\"min_doc_count\":1,\"extended_bounds\":{}}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:b3e70d00-4190-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:35.236Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Filter Bytes Test: standard deviation heatmap with other bucket",
+ "uiStateJSON": "{\"vis\":{\"defaultColors\":{\"-4,000 - 1,000\":\"rgb(247,252,245)\",\"1,000 - 6,000\":\"rgb(199,233,192)\",\"6,000 - 11,000\":\"rgb(116,196,118)\",\"11,000 - 16,000\":\"rgb(35,139,69)\"}}}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: standard deviation heatmap with other bucket\",\"type\":\"heatmap\",\"params\":{\"type\":\"heatmap\",\"addTooltip\":true,\"addLegend\":true,\"enableHover\":false,\"legendPosition\":\"right\",\"times\":[],\"colorsNumber\":4,\"colorSchema\":\"Greens\",\"setColorRange\":false,\"colorsRange\":[],\"invertColors\":false,\"percentageMode\":false,\"valueAxes\":[{\"show\":false,\"id\":\"ValueAxis-1\",\"type\":\"value\",\"scale\":{\"type\":\"linear\",\"defaultYExtents\":false},\"labels\":{\"show\":false,\"rotate\":0,\"overwriteColor\":false,\"color\":\"#555\"}}]},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"std_dev\",\"schema\":\"metric\",\"params\":{\"field\":\"bytes\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"geo.src\",\"otherBucket\":true,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":10,\"order\":\"desc\",\"orderBy\":\"_term\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:c10c6b00-4191-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:36.267Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Filter Bytes Test: max bytes guage percent mode",
+ "uiStateJSON": "{\"vis\":{\"defaultColors\":{\"0 - 1\":\"rgb(0,104,55)\",\"1 - 15\":\"rgb(255,255,190)\",\"15 - 100\":\"rgb(165,0,38)\"}}}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: max bytes guage percent mode\",\"type\":\"gauge\",\"params\":{\"type\":\"gauge\",\"addTooltip\":true,\"addLegend\":true,\"isDisplayWarning\":false,\"gauge\":{\"extendRange\":true,\"percentageMode\":true,\"gaugeType\":\"Arc\",\"gaugeStyle\":\"Full\",\"backStyle\":\"Full\",\"orientation\":\"vertical\",\"colorSchema\":\"Green to Red\",\"gaugeColorMode\":\"Labels\",\"colorsRange\":[{\"from\":0,\"to\":500},{\"from\":500,\"to\":7500},{\"from\":7500,\"to\":50000}],\"invertColors\":false,\"labels\":{\"show\":true,\"color\":\"black\"},\"scale\":{\"show\":true,\"labels\":false,\"color\":\"#333\"},\"type\":\"meter\",\"style\":{\"bgWidth\":0.9,\"width\":0.9,\"mask\":false,\"bgMask\":false,\"maskBars\":50,\"bgFill\":\"#eee\",\"bgColor\":false,\"subText\":\"Im subtext\",\"fontSize\":60,\"labelColor\":true},\"alignment\":\"horizontal\"}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"max\",\"schema\":\"metric\",\"params\":{\"field\":\"bytes\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:03d2afd0-4192-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:36.269Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Filter Bytes Test: Goal unique count",
+ "uiStateJSON": "{\"vis\":{\"defaultColors\":{\"0 - 10000\":\"rgb(0,104,55)\"}}}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: Goal unique count\",\"type\":\"goal\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"isDisplayWarning\":false,\"type\":\"gauge\",\"gauge\":{\"verticalSplit\":false,\"autoExtend\":false,\"percentageMode\":false,\"gaugeType\":\"Arc\",\"gaugeStyle\":\"Full\",\"backStyle\":\"Full\",\"orientation\":\"vertical\",\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"gaugeColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"invertColors\":false,\"labels\":{\"show\":true,\"color\":\"black\"},\"scale\":{\"show\":false,\"labels\":false,\"color\":\"#333\",\"width\":2},\"type\":\"meter\",\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"cardinality\",\"schema\":\"metric\",\"params\":{\"field\":\"bytes\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:7ff2c4c0-4191-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:36.270Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Filter Bytes Test: Data table top hit with significant terms geo.src",
+ "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: Data table top hit with significant terms geo.src\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"top_hits\",\"schema\":\"metric\",\"params\":{\"field\":\"bytes\",\"aggregate\":\"average\",\"size\":1,\"sortField\":\"@timestamp\",\"sortOrder\":\"desc\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"significant_terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"geo.src\",\"size\":10}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:df72ad40-4194-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:36.276Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[{\"meta\":{\"negate\":true,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"bytes\",\"value\":\"0\",\"params\":{\"query\":0,\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"bytes\":{\"query\":0,\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Filter Bytes Test: tag cloud with not 0 bytes filter",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: tag cloud with not 0 bytes filter\",\"type\":\"tagcloud\",\"params\":{\"scale\":\"linear\",\"orientation\":\"single\",\"minFontSize\":18,\"maxFontSize\":72,\"showLabel\":true},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"bytes\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:63983430-4192-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:06:36.275Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[{\"meta\":{\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"geo.src\",\"value\":\"US\",\"params\":{\"query\":\"US\",\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"geo.src\":{\"query\":\"US\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"query\":\"Filter Bytes Test:>5000\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Filter Bytes Test: geo map with filter and query bytes > 5000 in US geo.src, heatmap setting",
+ "uiStateJSON": "{\"mapZoom\":7,\"mapCenter\":[42.98857645832184,-75.49804687500001]}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: geo map with filter and query bytes > 5000 in US geo.src, heatmap setting\",\"type\":\"tile_map\",\"params\":{\"mapType\":\"Heatmap\",\"isDesaturated\":true,\"addTooltip\":true,\"heatClusterSize\":1.5,\"legendPosition\":\"bottomright\",\"mapZoom\":2,\"mapCenter\":[0,0],\"wms\":{\"enabled\":false,\"options\":{\"format\":\"image/png\",\"transparent\":true},\"baseLayersAreLoaded\":{},\"tmsLayers\":[{\"id\":\"road_map\",\"url\":\"https://tiles-stage.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana&my_app_version=6.3.0\",\"minZoom\":0,\"maxZoom\":10,\"attribution\":\"© OpenStreetMap contributors | Elastic Maps Service
\",\"subdomains\":[]}],\"selectedTmsLayer\":{\"id\":\"road_map\",\"url\":\"https://tiles-stage.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana&my_app_version=6.3.0\",\"minZoom\":0,\"maxZoom\":10,\"attribution\":\"© OpenStreetMap contributors | Elastic Maps Service
\",\"subdomains\":[]}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"geohash_grid\",\"schema\":\"segment\",\"params\":{\"field\":\"geo.coordinates\",\"autoPrecision\":true,\"isFilteredByCollar\":true,\"useGeocentroid\":true,\"precision\":4}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "search:be5accf0-3dca-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "search": "7.4.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "search": {
+ "columns": [
+ "agent",
+ "bytes",
+ "clientip"
+ ],
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"highlightAll\":true,\"version\":true,\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "sort": [
+ [
+ "@timestamp",
+ "desc"
+ ]
+ ],
+ "title": "Rendering Test: saved search",
+ "version": 1
+ },
+ "type": "search",
+ "updated_at": "2018-04-17T15:09:39.805Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "search:ca5ada40-3dca-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "search": "7.4.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "search": {
+ "columns": [
+ "agent",
+ "bytes",
+ "clientip"
+ ],
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"highlightAll\":true,\"version\":true,\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"filter\":[{\"meta\":{\"negate\":false,\"type\":\"phrase\",\"key\":\"bytes\",\"value\":\"1,607\",\"params\":{\"query\":1607,\"type\":\"phrase\"},\"disabled\":false,\"alias\":null,\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"bytes\":{\"query\":1607,\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "sort": [
+ [
+ "@timestamp",
+ "desc"
+ ]
+ ],
+ "title": "Filter Bytes Test: search with filter",
+ "version": 1
+ },
+ "type": "search",
+ "updated_at": "2018-04-17T15:09:55.976Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:9bebe980-4192-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:59:42.648Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Filter Bytes Test: timelion split 5 on bytes",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: timelion split 5 on bytes\",\"type\":\"timelion\",\"params\":{\"expression\":\".es(*, split=bytes:5)\",\"interval\":\"auto\"},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:1dcdfe30-4192-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T15:59:56.976Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"bytes:>100\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Filter Bytes Test: min bytes metric with query",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: min bytes metric with query\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"min\",\"schema\":\"metric\",\"params\":{\"field\":\"bytes\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:35417e50-4194-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T16:06:03.785Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Filter Bytes Test: tsvb metric with custom interval and bytes filter",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: tsvb metric with custom interval and bytes filter\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"metric\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"everything\",\"metrics\":[{\"value\":\"\",\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"sum\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"terms_field\":\"clientip\",\"filter\":{\"query\":\"Filter Bytes Test:>1000\",\"language\":\"lucene\"},\"override_index_pattern\":1,\"series_index_pattern\":\"logstash-*\",\"series_time_field\":\"utc_time\",\"series_interval\":\"1d\",\"value_template\":\"{{value}} custom template\",\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"logstash-*\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1,\"background_color_rules\":[{\"id\":\"06893260-4194-11e8-a461-7d278185cba4\"}]},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:9fb4c670-4194-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T16:32:59.086Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Filter Bytes Test: tsvb markdown",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: tsvb markdown\",\"type\":\"metrics\",\"params\":{\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"type\":\"markdown\",\"series\":[{\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"color\":\"#68BC00\",\"split_mode\":\"filters\",\"metrics\":[{\"id\":\"482d6560-4194-11e8-a461-7d278185cba4\",\"type\":\"avg\",\"field\":\"bytes\"}],\"seperate_axis\":0,\"axis_position\":\"right\",\"formatter\":\"number\",\"chart_type\":\"line\",\"line_width\":1,\"point_size\":1,\"fill\":0.5,\"stacked\":\"none\",\"terms_field\":\"clientip\",\"filter\":{\"query\":\"Filter Bytes Test:>1000\",\"language\":\"lucene\"},\"override_index_pattern\":0,\"series_index_pattern\":\"logstash-*\",\"series_time_field\":\"utc_time\",\"series_interval\":\"1m\",\"value_template\":\"\",\"split_filters\":[{\"filter\":{\"query\":\"bytes:>1000\",\"language\":\"lucene\"},\"label\":\"\",\"color\":\"#68BC00\",\"id\":\"39a107e0-4194-11e8-a461-7d278185cba4\"}],\"label\":\"\",\"var_name\":\"\",\"split_color_mode\":\"gradient\"}],\"time_field\":\"@timestamp\",\"index_pattern\":\"logstash-*\",\"interval\":\"auto\",\"axis_position\":\"left\",\"axis_formatter\":\"number\",\"show_legend\":1,\"show_grid\":1,\"background_color_rules\":[{\"id\":\"06893260-4194-11e8-a461-7d278185cba4\"}],\"bar_color_rules\":[{\"id\":\"36a0e740-4194-11e8-a461-7d278185cba4\"}],\"markdown\":\"{{bytes_1000.last.formatted}}\"},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:befdb6b0-3e59-11e8-9fc3-39e49624228e",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "a16d1990-3dca-11e8-8660-4d65aa086b3c",
+ "name": "search_0",
+ "type": "search"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T17:16:27.743Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[{\"meta\":{\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"animal.keyword\",\"value\":\"dog\",\"params\":{\"query\":\"dog\",\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"animal.keyword\":{\"query\":\"dog\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"language\":\"lucene\",\"query\":\"\"}}"
+ },
+ "savedSearchRefName": "search_0",
+ "title": "Filter Test: animals: linked to search with filter",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Test: animals: linked to search with filter\",\"type\":\"pie\",\"params\":{\"addLegend\":true,\"addTooltip\":true,\"isDonut\":true,\"labels\":{\"last_level\":true,\"show\":false,\"truncate\":100,\"values\":true},\"legendPosition\":\"right\",\"type\":\"pie\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"name.keyword\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:584c0300-4191-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T18:36:30.315Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"bytes:>9000\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Filter Bytes Test: split by geo with query",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: split by geo with query\",\"type\":\"pie\",\"params\":{\"type\":\"pie\",\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"isDonut\":true,\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"sum\",\"schema\":\"metric\",\"params\":{\"field\":\"bytes\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"geo.src\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "config:7.0.0-alpha1",
+ "index": ".kibana_1",
+ "source": {
+ "config": {
+ "buildNum": null,
+ "dateFormat:tz": "UTC",
+ "defaultIndex": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "notifications:lifetime:banner": 3600000,
+ "notifications:lifetime:error": 3600000,
+ "notifications:lifetime:info": 3600000,
+ "notifications:lifetime:warning": 3600000
+ },
+ "references": [
+ ],
+ "type": "config",
+ "updated_at": "2018-04-17T19:25:03.632Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:8090dcb0-4195-11e8-bb13-d53698fb349a",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ ],
+ "type": "visualization",
+ "updated_at": "2018-04-17T19:28:21.967Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{}"
+ },
+ "title": "Filter Bytes Test: vega",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Filter Bytes Test: vega\",\"type\":\"vega\",\"params\":{\"spec\":\"{ \\nconfig: { kibana: { renderer: \\\"svg\\\" }},\\n/*\\n\\nWelcome to Vega visualizations. Here you can design your own dataviz from scratch using a declarative language called Vega, or its simpler form Vega-Lite. In Vega, you have the full control of what data is loaded, even from multiple sources, how that data is transformed, and what visual elements are used to show it. Use help icon to view Vega examples, tutorials, and other docs. Use the wrench icon to reformat this text, or to remove comments.\\n\\nThis example graph shows the document count in all indexes in the current time range. You might need to adjust the time filter in the upper right corner.\\n*/\\n\\n $schema: https://vega.github.io/schema/vega-lite/v2.json\\n title: Event counts from all indexes\\n\\n // Define the data source\\n data: {\\n url: {\\n/*\\nAn object instead of a string for the \\\"url\\\" param is treated as an Elasticsearch query. Anything inside this object is not part of the Vega language, but only understood by Kibana and Elasticsearch server. This query counts the number of documents per time interval, assuming you have a @timestamp field in your data.\\n\\nKibana has a special handling for the fields surrounded by \\\"%\\\". They are processed before the the query is sent to Elasticsearch. This way the query becomes context aware, and can use the time range and the dashboard filters.\\n*/\\n\\n // Apply dashboard context filters when set\\n %context%: true\\n // Filter the time picker (upper right corner) with this field\\n %timefield%: @timestamp\\n\\n/*\\nSee .search() documentation for : https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-search\\n*/\\n\\n // Which index to search\\n index: _all\\n // Aggregate data by the time field into time buckets, counting the number of documents in each bucket.\\n body: {\\n aggs: {\\n time_buckets: {\\n date_histogram: {\\n // Use date histogram aggregation on @timestamp field\\n field: @timestamp\\n // The interval value will depend on the daterange picker (true), or use an integer to set an approximate bucket count\\n interval: {%autointerval%: true}\\n // Make sure we get an entire range, even if it has no data\\n extended_bounds: {\\n // Use the current time range's start and end\\n min: {%timefilter%: \\\"min\\\"}\\n max: {%timefilter%: \\\"max\\\"}\\n }\\n // Use this for linear (e.g. line, area) graphs. Without it, empty buckets will not show up\\n min_doc_count: 0\\n }\\n }\\n }\\n // Speed up the response by only including aggregation results\\n size: 0\\n }\\n }\\n/*\\nElasticsearch will return results in this format:\\n\\naggregations: {\\n time_buckets: {\\n buckets: [\\n {\\n key_as_string: 2015-11-30T22:00:00.000Z\\n key: 1448920800000\\n doc_count: 0\\n },\\n {\\n key_as_string: 2015-11-30T23:00:00.000Z\\n key: 1448924400000\\n doc_count: 0\\n }\\n ...\\n ]\\n }\\n}\\n\\nFor our graph, we only need the list of bucket values. Use the format.property to discard everything else.\\n*/\\n format: {property: \\\"aggregations.time_buckets.buckets\\\"}\\n }\\n\\n // \\\"mark\\\" is the graphics element used to show our data. Other mark values are: area, bar, circle, line, point, rect, rule, square, text, and tick. See https://vega.github.io/vega-lite/docs/mark.html\\n mark: line\\n\\n // \\\"encoding\\\" tells the \\\"mark\\\" what data to use and in what way. See https://vega.github.io/vega-lite/docs/encoding.html\\n encoding: {\\n x: {\\n // The \\\"key\\\" value is the timestamp in milliseconds. Use it for X axis.\\n field: key\\n type: temporal\\n axis: {title: false} // Customize X axis format\\n }\\n y: {\\n // The \\\"doc_count\\\" is the count per bucket. Use it for Y axis.\\n field: doc_count\\n type: quantitative\\n axis: {title: \\\"Document count\\\"}\\n }\\n }\\n}\\n\"},\"aggs\":[]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "config:6.2.4",
+ "index": ".kibana_1",
+ "source": {
+ "config": {
+ "buildNum": 16627,
+ "defaultIndex": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "xPackMonitoring:showBanner": false
+ },
+ "references": [
+ ],
+ "type": "config",
+ "updated_at": "2018-05-09T20:50:57.021Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:edb65990-53ca-11e8-b481-c9426d020fcd",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-05-09T20:52:47.144Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "table created in 6_2",
+ "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null}}}}",
+ "version": 1,
+ "visState": "{\"title\":\"table created in 6_2\",\"type\":\"table\",\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"weightLbs\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"animal.keyword\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:0644f890-53cb-11e8-b481-c9426d020fcd",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2018-05-09T20:53:28.345Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"filter\":[],\"query\":{\"query\":\"weightLbs:>10\",\"language\":\"lucene\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "Weight in lbs pie created in 6.2",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"title\":\"Weight in lbs pie created in 6.2\",\"type\":\"pie\",\"params\":{\"type\":\"pie\",\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"isDonut\":true,\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"weightLbs\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\"}}]}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:1b2f47b0-53cb-11e8-b481-c9426d020fcd",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"language\":\"lucene\",\"query\":\"weightLbs:>15\"},\"filter\":[{\"meta\":{\"field\":\"isDog\",\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"isDog\",\"value\":\"true\",\"params\":{\"value\":true},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"script\":{\"script\":{\"inline\":\"boolean compare(Supplier s, def v) {return s.get() == v;}compare(() -> { return doc['animal.keyword'].value == 'dog' }, params.value);\",\"lang\":\"painless\",\"params\":{\"value\":true}}},\"$state\":{\"store\":\"appState\"}}],\"highlightAll\":true,\"version\":true}"
+ },
+ "optionsJSON": "{\"darkTheme\":false,\"hidePanelTitles\":false,\"useMargins\":true}",
+ "panelsJSON": "[{\"gridData\":{\"w\":24,\"h\":12,\"x\":24,\"y\":0,\"i\":\"4\"},\"panelIndex\":\"4\",\"version\":\"7.3.0\",\"panelRefName\":\"panel_0\",\"embeddableConfig\":{}},{\"gridData\":{\"w\":24,\"h\":12,\"x\":0,\"y\":0,\"i\":\"5\"},\"version\":\"7.3.0\",\"panelIndex\":\"5\",\"panelRefName\":\"panel_1\",\"embeddableConfig\":{}}]",
+ "refreshInterval": {
+ "display": "Off",
+ "pause": false,
+ "value": 0
+ },
+ "timeFrom": "Mon Apr 09 2018 17:56:08 GMT-0400",
+ "timeRestore": true,
+ "timeTo": "Wed Apr 11 2018 17:56:08 GMT-0400",
+ "title": "Animal Weights (created in 6.2)",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "edb65990-53ca-11e8-b481-c9426d020fcd",
+ "name": "panel_0",
+ "type": "visualization"
+ },
+ {
+ "id": "0644f890-53cb-11e8-b481-c9426d020fcd",
+ "name": "panel_1",
+ "type": "visualization"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2018-05-09T20:54:03.435Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "index-pattern:a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "index": ".kibana_1",
+ "source": {
+ "index-pattern": {
+ "fieldFormatMap": "{\"weightLbs\":{\"id\":\"number\",\"params\":{\"pattern\":\"0,0.0\"}},\"is_dog\":{\"id\":\"boolean\"},\"isDog\":{\"id\":\"boolean\"}}",
+ "fields": "[{\"name\":\"@timestamp\",\"type\":\"date\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"_id\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_index\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_score\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_source\",\"type\":\"_source\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_type\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"animal\",\"type\":\"string\",\"count\":3,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"animal.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"name\",\"type\":\"string\",\"count\":1,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"name.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"sound\",\"type\":\"string\",\"count\":2,\"scripted\":false,\"searchable\":true,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"sound.keyword\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"weightLbs\",\"type\":\"number\",\"count\":2,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true},{\"name\":\"isDog\",\"type\":\"boolean\",\"count\":0,\"scripted\":true,\"script\":\"return doc['animal.keyword'].value == 'dog'\",\"lang\":\"painless\",\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false}]",
+ "timeFieldName": "@timestamp",
+ "title": "animals-*"
+ },
+ "migrationVersion": {
+ "index-pattern": "7.6.0"
+ },
+ "references": [
+ ],
+ "type": "index-pattern",
+ "updated_at": "2018-05-09T20:55:44.314Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "search:6351c590-53cb-11e8-b481-c9426d020fcd",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "search": "7.4.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ }
+ ],
+ "search": {
+ "columns": [
+ "animal",
+ "sound",
+ "weightLbs"
+ ],
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"highlightAll\":true,\"version\":true,\"query\":{\"language\":\"lucene\",\"query\":\"weightLbs:>10\"},\"filter\":[{\"meta\":{\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"sound.keyword\",\"value\":\"growl\",\"params\":{\"query\":\"growl\",\"type\":\"phrase\"},\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match\":{\"sound.keyword\":{\"query\":\"growl\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "sort": [
+ [
+ "@timestamp",
+ "desc"
+ ]
+ ],
+ "title": "Search created in 6.2",
+ "version": 1
+ },
+ "type": "search",
+ "updated_at": "2018-05-09T20:56:04.457Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "visualization:47b5cf60-9e93-11ea-853e-adc0effaf76d",
+ "index": ".kibana_1",
+ "source": {
+ "migrationVersion": {
+ "visualization": "7.8.0"
+ },
+ "references": [
+ {
+ "id": "1b1789d0-9e93-11ea-853e-adc0effaf76d",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.index",
+ "type": "index-pattern"
+ }
+ ],
+ "type": "visualization",
+ "updated_at": "2020-05-25T15:16:27.743Z",
+ "visualization": {
+ "description": "",
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"
+ },
+ "title": "vis with missing index pattern",
+ "uiStateJSON": "{}",
+ "version": 1,
+ "visState": "{\"type\":\"pie\",\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}}],\"params\":{\"type\":\"pie\",\"addTooltip\":true,\"addLegend\":true,\"legendPosition\":\"right\",\"isDonut\":true,\"labels\":{\"show\":false,\"values\":true,\"last_level\":true,\"truncate\":100}},\"title\":\"vis with missing index pattern\"}"
+ }
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:502e63a0-9e93-11ea-853e-adc0effaf76d",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"filter\":[]}"
+ },
+ "optionsJSON": "{\"hidePanelTitles\":false,\"useMargins\":true}",
+ "panelsJSON": "[{\"version\":\"7.3.0\",\"gridData\":{\"x\":0,\"y\":0,\"w\":24,\"h\":15,\"i\":\"6cfbe6cc-1872-4cb4-9455-a02eeb75127e\"},\"panelIndex\":\"6cfbe6cc-1872-4cb4-9455-a02eeb75127e\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"}]",
+ "timeRestore": false,
+ "title": "dashboard with missing index pattern",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "47b5cf60-9e93-11ea-853e-adc0effaf76d",
+ "name": "panel_0",
+ "type": "visualization"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2020-05-25T15:16:27.743Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:d9ce6000-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.2313,
+ "numberOfClicks": 0,
+ "timestamp": "2020-05-31T11:21:19.616Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:21:19.616Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:dc1d0af0-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 0.06526666666666667,
+ "numberOfClicks": 3,
+ "timestamp": "2020-05-31T11:21:23.487Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:21:23.487Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:f22c7920-a330-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 0.5732333333333333,
+ "numberOfClicks": 13,
+ "timestamp": "2020-05-31T11:22:00.498Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-05-31T11:22:00.498Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "dashboard:6eb8a840-a32e-11ea-88c2-d56dd2b14bd7",
+ "index": ".kibana_1",
+ "source": {
+ "dashboard": {
+ "description": "",
+ "hits": 0,
+ "kibanaSavedObjectMeta": {
+ "searchSourceJSON": "{\n \"query\": {\n \"language\": \"kuery\",\n \"query\": \"\"\n },\n \"filter\": [\n {\n \"meta\": {\n \"alias\": null,\n \"negate\": false,\n \"disabled\": true,\n \"type\": \"phrase\",\n \"key\": \"name\",\n \"params\": {\n \"query\": \"moo\"\n },\n \"indexRefName\": \"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"\n },\n \"query\": {\n \"match_phrase\": {\n \"name\": \"moo\"\n }\n },\n \"$state\": {\n \"store\": \"appState\"\n }\n },\n {\n \"meta\": {\n \"alias\": null,\n \"negate\": false,\n \"disabled\": true,\n \"type\": \"phrase\",\n \"key\": \"baad-field\",\n \"params\": {\n \"query\": \"moo\"\n },\n \"indexRefName\": \"kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index\"\n },\n \"query\": {\n \"match_phrase\": {\n \"baad-field\": \"moo\"\n }\n },\n \"$state\": {\n \"store\": \"appState\"\n }\n },\n {\n \"meta\": {\n \"alias\": null,\n \"negate\": false,\n \"disabled\": false,\n \"type\": \"phrase\",\n \"key\": \"@timestamp\",\n \"params\": {\n \"query\": \"123\"\n },\n \"indexRefName\": \"kibanaSavedObjectMeta.searchSourceJSON.filter[2].meta.index\"\n },\n \"query\": {\n \"match_phrase\": {\n \"@timestamp\": \"123\"\n }\n },\n \"$state\": {\n \"store\": \"appState\"\n }\n },\n {\n \"meta\": {\n \"alias\": null,\n \"negate\": false,\n \"disabled\": false,\n \"type\": \"exists\",\n \"key\": \"extension\",\n \"value\": \"exists\",\n \"indexRefName\": \"kibanaSavedObjectMeta.searchSourceJSON.filter[3].meta.index\"\n },\n \"exists\": {\n \"field\": \"extension\"\n },\n \"$state\": {\n \"store\": \"appState\"\n }\n },\n {\n \"meta\": {\n \"alias\": null,\n \"negate\": false,\n \"disabled\": false,\n \"type\": \"phrase\",\n \"key\": \"banana\",\n \"params\": {\n \"query\": \"yellow\"\n }\n },\n \"query\": {\n \"match_phrase\": {\n \"banana\": \"yellow\"\n }\n },\n \"$state\": {\n \"store\": \"appState\"\n }\n }\n ]\n}"
+ },
+ "optionsJSON": "{\n \"hidePanelTitles\": false,\n \"useMargins\": true\n}",
+ "panelsJSON": "[\n {\n \"version\": \"8.0.0\",\n \"gridData\": {\n \"x\": 0,\n \"y\": 0,\n \"w\": 24,\n \"h\": 15,\n \"i\": \"94a3dc1d-508a-4d42-a480-65b158925ba0\"\n },\n \"panelIndex\": \"94a3dc1d-508a-4d42-a480-65b158925ba0\",\n \"embeddableConfig\": {},\n \"panelRefName\": \"panel_0\"\n }\n]",
+ "refreshInterval": {
+ "pause": true,
+ "value": 0
+ },
+ "timeFrom": "now-10y",
+ "timeRestore": true,
+ "timeTo": "now",
+ "title": "dashboard with bad filters",
+ "version": 1
+ },
+ "migrationVersion": {
+ "dashboard": "7.3.0"
+ },
+ "references": [
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-bad-index",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[2].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[3].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "a0f483a0-3dc9-11e8-8660-4d65aa086b3c",
+ "name": "kibanaSavedObjectMeta.searchSourceJSON.filter[4].meta.index",
+ "type": "index-pattern"
+ },
+ {
+ "id": "50643b60-3dd3-11e8-b2b9-5d5dc1715159",
+ "name": "panel_0",
+ "type": "visualization"
+ }
+ ],
+ "type": "dashboard",
+ "updated_at": "2020-06-04T09:26:04.272Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "config:8.0.0",
+ "index": ".kibana_1",
+ "source": {
+ "config": {
+ "accessibility:disableAnimations": true,
+ "buildNum": null,
+ "dateFormat:tz": "UTC",
+ "defaultIndex": "0bf35f60-3dc9-11e8-8660-4d65aa086b3c"
+ },
+ "references": [
+ ],
+ "type": "config",
+ "updated_at": "2020-06-04T09:22:54.572Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:b2a73c00-a645-11ea-b4c2-47e842e5fce5",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 1.2560333333333333,
+ "numberOfClicks": 19,
+ "timestamp": "2020-06-04T09:28:06.848Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-06-04T09:28:06.848Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "ui-metric:DashboardPanelVersionInUrl:8.0.0",
+ "index": ".kibana_1",
+ "source": {
+ "references": [
+ ],
+ "type": "ui-metric",
+ "ui-metric": {
+ "count": 15
+ },
+ "updated_at": "2020-06-04T09:28:06.848Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:6847ed80-a645-11ea-b4c2-47e842e5fce5",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 2.291733333333333,
+ "numberOfClicks": 16,
+ "timestamp": "2020-06-04T09:26:02.071Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-06-04T09:26:02.072Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:7b331140-a645-11ea-b4c2-47e842e5fce5",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "management",
+ "minutesOnScreen": 1.2560333333333333,
+ "numberOfClicks": 19,
+ "timestamp": "2020-06-04T09:26:33.812Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-06-04T09:26:33.812Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "ui-metric:kibana-user_agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36",
+ "index": ".kibana_1",
+ "source": {
+ "references": [
+ ],
+ "type": "ui-metric",
+ "ui-metric": {
+ "count": 1
+ },
+ "updated_at": "2020-06-04T09:28:06.848Z"
+ }
+ }
+}
+
+{
+ "type": "doc",
+ "value": {
+ "id": "application_usage_transactional:6f47f610-a646-11ea-b4c2-47e842e5fce5",
+ "index": ".kibana_1",
+ "source": {
+ "application_usage_transactional": {
+ "appId": "dashboards",
+ "minutesOnScreen": 6.77335,
+ "numberOfClicks": 5,
+ "timestamp": "2020-06-04T09:33:23.313Z"
+ },
+ "references": [
+ ],
+ "type": "application_usage_transactional",
+ "updated_at": "2020-06-04T09:33:23.313Z"
+ }
+ }
+}
\ No newline at end of file
diff --git a/test/new_visualize_flow/fixtures/es_archiver/logstash_functional/data.json.gz b/test/new_visualize_flow/fixtures/es_archiver/logstash_functional/data.json.gz
new file mode 100644
index 00000000000000..a4f889da61128a
Binary files /dev/null and b/test/new_visualize_flow/fixtures/es_archiver/logstash_functional/data.json.gz differ
diff --git a/test/new_visualize_flow/fixtures/es_archiver/logstash_functional/mappings.json b/test/new_visualize_flow/fixtures/es_archiver/logstash_functional/mappings.json
new file mode 100644
index 00000000000000..010abff9cf6a9f
--- /dev/null
+++ b/test/new_visualize_flow/fixtures/es_archiver/logstash_functional/mappings.json
@@ -0,0 +1,1118 @@
+{
+ "type": "index",
+ "value": {
+ "index": "logstash-2015.09.22",
+ "mappings": {
+ "dynamic_templates": [
+ {
+ "string_fields": {
+ "mapping": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "match": "*",
+ "match_mapping_type": "string"
+ }
+ }
+ ],
+ "properties": {
+ "@message": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "@tags": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "@timestamp": {
+ "type": "date"
+ },
+ "agent": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "bytes": {
+ "type": "long"
+ },
+ "clientip": {
+ "type": "ip"
+ },
+ "extension": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "geo": {
+ "properties": {
+ "coordinates": {
+ "type": "geo_point"
+ },
+ "dest": {
+ "type": "keyword"
+ },
+ "src": {
+ "type": "keyword"
+ },
+ "srcdest": {
+ "type": "keyword"
+ }
+ }
+ },
+ "headings": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "host": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "index": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "ip": {
+ "type": "ip"
+ },
+ "links": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "machine": {
+ "properties": {
+ "os": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "ram": {
+ "type": "long"
+ }
+ }
+ },
+ "memory": {
+ "type": "double"
+ },
+ "meta": {
+ "properties": {
+ "char": {
+ "type": "keyword"
+ },
+ "related": {
+ "type": "text"
+ },
+ "user": {
+ "properties": {
+ "firstname": {
+ "type": "text"
+ },
+ "lastname": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ },
+ "nestedField": {
+ "type": "nested",
+ "properties": {
+ "child": {
+ "type": "keyword"
+ }
+ }
+ },
+ "phpmemory": {
+ "type": "long"
+ },
+ "referer": {
+ "type": "keyword"
+ },
+ "relatedContent": {
+ "properties": {
+ "article:modified_time": {
+ "type": "date"
+ },
+ "article:published_time": {
+ "type": "date"
+ },
+ "article:section": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "article:tag": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:description": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:image": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:image:height": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:image:width": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:site_name": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:title": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:type": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:url": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:card": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:description": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:image": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:site": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:title": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "url": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ }
+ }
+ },
+ "request": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "response": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "spaces": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "type": {
+ "type": "keyword"
+ },
+ "url": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "utc_time": {
+ "type": "date"
+ },
+ "xss": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ }
+ }
+ },
+ "settings": {
+ "index": {
+ "analysis": {
+ "analyzer": {
+ "url": {
+ "max_token_length": "1000",
+ "tokenizer": "uax_url_email",
+ "type": "standard"
+ }
+ }
+ },
+ "number_of_replicas": "0",
+ "number_of_shards": "1"
+ }
+ }
+ }
+}
+
+{
+ "type": "index",
+ "value": {
+ "index": "logstash-2015.09.20",
+ "mappings": {
+ "dynamic_templates": [
+ {
+ "string_fields": {
+ "mapping": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "match": "*",
+ "match_mapping_type": "string"
+ }
+ }
+ ],
+ "properties": {
+ "@message": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "@tags": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "@timestamp": {
+ "type": "date"
+ },
+ "agent": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "bytes": {
+ "type": "long"
+ },
+ "clientip": {
+ "type": "ip"
+ },
+ "extension": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "geo": {
+ "properties": {
+ "coordinates": {
+ "type": "geo_point"
+ },
+ "dest": {
+ "type": "keyword"
+ },
+ "src": {
+ "type": "keyword"
+ },
+ "srcdest": {
+ "type": "keyword"
+ }
+ }
+ },
+ "headings": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "host": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "index": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "ip": {
+ "type": "ip"
+ },
+ "links": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "machine": {
+ "properties": {
+ "os": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "ram": {
+ "type": "long"
+ }
+ }
+ },
+ "memory": {
+ "type": "double"
+ },
+ "meta": {
+ "properties": {
+ "char": {
+ "type": "keyword"
+ },
+ "related": {
+ "type": "text"
+ },
+ "user": {
+ "properties": {
+ "firstname": {
+ "type": "text"
+ },
+ "lastname": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ },
+ "nestedField": {
+ "type": "nested",
+ "properties": {
+ "child": {
+ "type": "keyword"
+ }
+ }
+ },
+ "phpmemory": {
+ "type": "long"
+ },
+ "referer": {
+ "type": "keyword"
+ },
+ "relatedContent": {
+ "properties": {
+ "article:modified_time": {
+ "type": "date"
+ },
+ "article:published_time": {
+ "type": "date"
+ },
+ "article:section": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "article:tag": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:description": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:image": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:image:height": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:image:width": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:site_name": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:title": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:type": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:url": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:card": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:description": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:image": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:site": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:title": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "url": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ }
+ }
+ },
+ "request": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "response": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "spaces": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "type": {
+ "type": "keyword"
+ },
+ "url": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "utc_time": {
+ "type": "date"
+ },
+ "xss": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ }
+ }
+ },
+ "settings": {
+ "index": {
+ "analysis": {
+ "analyzer": {
+ "url": {
+ "max_token_length": "1000",
+ "tokenizer": "uax_url_email",
+ "type": "standard"
+ }
+ }
+ },
+ "number_of_replicas": "0",
+ "number_of_shards": "1"
+ }
+ }
+ }
+}
+
+{
+ "type": "index",
+ "value": {
+ "index": "logstash-2015.09.21",
+ "mappings": {
+ "dynamic_templates": [
+ {
+ "string_fields": {
+ "mapping": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "match": "*",
+ "match_mapping_type": "string"
+ }
+ }
+ ],
+ "properties": {
+ "@message": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "@tags": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "@timestamp": {
+ "type": "date"
+ },
+ "agent": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "bytes": {
+ "type": "long"
+ },
+ "clientip": {
+ "type": "ip"
+ },
+ "extension": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "geo": {
+ "properties": {
+ "coordinates": {
+ "type": "geo_point"
+ },
+ "dest": {
+ "type": "keyword"
+ },
+ "src": {
+ "type": "keyword"
+ },
+ "srcdest": {
+ "type": "keyword"
+ }
+ }
+ },
+ "headings": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "host": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "index": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "ip": {
+ "type": "ip"
+ },
+ "links": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "machine": {
+ "properties": {
+ "os": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "ram": {
+ "type": "long"
+ }
+ }
+ },
+ "memory": {
+ "type": "double"
+ },
+ "meta": {
+ "properties": {
+ "char": {
+ "type": "keyword"
+ },
+ "related": {
+ "type": "text"
+ },
+ "user": {
+ "properties": {
+ "firstname": {
+ "type": "text"
+ },
+ "lastname": {
+ "type": "integer"
+ }
+ }
+ }
+ }
+ },
+ "nestedField": {
+ "type": "nested",
+ "properties": {
+ "child": {
+ "type": "keyword"
+ }
+ }
+ },
+ "phpmemory": {
+ "type": "long"
+ },
+ "referer": {
+ "type": "keyword"
+ },
+ "relatedContent": {
+ "properties": {
+ "article:modified_time": {
+ "type": "date"
+ },
+ "article:published_time": {
+ "type": "date"
+ },
+ "article:section": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "article:tag": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:description": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:image": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:image:height": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:image:width": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:site_name": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:title": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:type": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "og:url": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:card": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:description": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:image": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:site": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "twitter:title": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "url": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ }
+ }
+ },
+ "request": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "response": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "spaces": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "type": {
+ "type": "keyword"
+ },
+ "url": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ },
+ "utc_time": {
+ "type": "date"
+ },
+ "xss": {
+ "fields": {
+ "raw": {
+ "type": "keyword"
+ }
+ },
+ "type": "text"
+ }
+ }
+ },
+ "settings": {
+ "index": {
+ "analysis": {
+ "analyzer": {
+ "url": {
+ "max_token_length": "1000",
+ "tokenizer": "uax_url_email",
+ "type": "standard"
+ }
+ }
+ },
+ "number_of_replicas": "0",
+ "number_of_shards": "1"
+ }
+ }
+ }
+}
diff --git a/test/new_visualize_flow/index.ts b/test/new_visualize_flow/index.ts
index e915525155990e..08c00a0074bef7 100644
--- a/test/new_visualize_flow/index.ts
+++ b/test/new_visualize_flow/index.ts
@@ -19,9 +19,14 @@
import { FtrProviderContext } from '../functional/ftr_provider_context';
// eslint-disable-next-line import/no-default-export
-export default function ({ loadTestFile }: FtrProviderContext) {
+export default function ({ loadTestFile, getService }: FtrProviderContext) {
describe('New Visualize Flow', function () {
this.tags('ciGroup2');
+ const esArchiver = getService('esArchiver');
+ before(async () => {
+ await esArchiver.loadIfNeeded('logstash_functional');
+ });
+
loadTestFile(require.resolve('./dashboard_embedding'));
});
}
diff --git a/x-pack/dev-tools/api_debug/apis/telemetry/index.js b/x-pack/dev-tools/api_debug/apis/telemetry/index.js
index 5cee4cdf45d6d5..9387e3101bd197 100644
--- a/x-pack/dev-tools/api_debug/apis/telemetry/index.js
+++ b/x-pack/dev-tools/api_debug/apis/telemetry/index.js
@@ -4,11 +4,9 @@
* you may not use this file except in compliance with the Elastic License.
*/
-import moment from 'moment';
-
export const name = 'telemetry';
export const description = 'Get the clusters stats from the Kibana server';
export const method = 'POST';
export const path = '/api/telemetry/v2/clusters/_stats';
-export const body = { timeRange: moment().valueOf(), unencrypted: true };
+export const body = { unencrypted: true };
diff --git a/x-pack/examples/alerting_example/public/alert_types/always_firing.tsx b/x-pack/examples/alerting_example/public/alert_types/always_firing.tsx
index abbe1d2a48d113..6e44479d058d8e 100644
--- a/x-pack/examples/alerting_example/public/alert_types/always_firing.tsx
+++ b/x-pack/examples/alerting_example/public/alert_types/always_firing.tsx
@@ -64,10 +64,9 @@ const DEFAULT_THRESHOLDS: AlwaysFiringParams['thresholds'] = {
large: 10000,
};
-export const AlwaysFiringExpression: React.FunctionComponent> = ({ alertParams, setAlertParams, actionGroups, defaultActionGroupId }) => {
+export const AlwaysFiringExpression: React.FunctionComponent<
+ AlertTypeParamsExpressionProps
+> = ({ alertParams, setAlertParams, actionGroups, defaultActionGroupId }) => {
const {
instances = DEFAULT_INSTANCES_TO_GENERATE,
thresholds = pick(DEFAULT_THRESHOLDS, defaultActionGroupId),
diff --git a/x-pack/plugins/actions/server/actions_client.ts b/x-pack/plugins/actions/server/actions_client.ts
index 2735a1ab445212..0d41b520501add 100644
--- a/x-pack/plugins/actions/server/actions_client.ts
+++ b/x-pack/plugins/actions/server/actions_client.ts
@@ -155,9 +155,11 @@ export class ActionsClient {
'update'
);
}
- const { attributes, references, version } = await this.unsecuredSavedObjectsClient.get<
- RawAction
- >('action', id);
+ const {
+ attributes,
+ references,
+ version,
+ } = await this.unsecuredSavedObjectsClient.get('action', id);
const { actionTypeId } = attributes;
const { name, config, secrets } = action;
const actionType = this.actionTypeRegistry.get(actionTypeId);
diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.test.ts b/x-pack/plugins/actions/server/authorization/actions_authorization.test.ts
index a19a662f8323cb..b5676fc837fe8f 100644
--- a/x-pack/plugins/actions/server/authorization/actions_authorization.test.ts
+++ b/x-pack/plugins/actions/server/authorization/actions_authorization.test.ts
@@ -64,9 +64,9 @@ describe('ensureAuthorized', () => {
test('ensures the user has privileges to use the operation on the Actions Saved Object type', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
const actionsAuthorization = new ActionsAuthorization({
request,
@@ -105,9 +105,9 @@ describe('ensureAuthorized', () => {
test('ensures the user has privileges to execute an Actions Saved Object type', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
const actionsAuthorization = new ActionsAuthorization({
request,
@@ -156,9 +156,9 @@ describe('ensureAuthorized', () => {
test('throws if user lacks the required privieleges', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
const actionsAuthorization = new ActionsAuthorization({
request,
@@ -198,9 +198,9 @@ describe('ensureAuthorized', () => {
test('exempts users from requiring privileges to execute actions when authorizationMode is Legacy', async () => {
const { authorization, authentication } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
const actionsAuthorization = new ActionsAuthorization({
request,
diff --git a/x-pack/plugins/actions/server/plugin.ts b/x-pack/plugins/actions/server/plugin.ts
index a160735e89a935..e61936321b8e0a 100644
--- a/x-pack/plugins/actions/server/plugin.ts
+++ b/x-pack/plugins/actions/server/plugin.ts
@@ -4,8 +4,9 @@
* you may not use this file except in compliance with the Elastic License.
*/
import type { PublicMethodsOf } from '@kbn/utility-types';
-import { first, map } from 'rxjs/operators';
+import { first } from 'rxjs/operators';
import { UsageCollectionSetup } from 'src/plugins/usage_collection/server';
+import { Observable } from 'rxjs';
import {
PluginInitializerContext,
Plugin,
@@ -13,7 +14,6 @@ import {
CoreStart,
KibanaRequest,
Logger,
- SharedGlobalConfig,
RequestHandler,
IContextProvider,
ElasticsearchServiceStart,
@@ -128,7 +128,6 @@ const includedHiddenTypes = [
];
export class ActionsPlugin implements Plugin, PluginStartContract> {
- private readonly kibanaIndex: Promise;
private readonly config: Promise;
private readonly logger: Logger;
@@ -143,20 +142,14 @@ export class ActionsPlugin implements Plugin, Plugi
private isESOUsingEphemeralEncryptionKey?: boolean;
private readonly telemetryLogger: Logger;
private readonly preconfiguredActions: PreConfiguredAction[];
+ private readonly kibanaIndexConfig: Observable<{ kibana: { index: string } }>;
constructor(initContext: PluginInitializerContext) {
this.config = initContext.config.create().pipe(first()).toPromise();
-
- this.kibanaIndex = initContext.config.legacy.globalConfig$
- .pipe(
- first(),
- map((config: SharedGlobalConfig) => config.kibana.index)
- )
- .toPromise();
-
this.logger = initContext.logger.get('actions');
this.telemetryLogger = initContext.logger.get('usage');
this.preconfiguredActions = [];
+ this.kibanaIndexConfig = initContext.config.legacy.globalConfig$;
}
public async setup(
@@ -220,22 +213,26 @@ export class ActionsPlugin implements Plugin, Plugi
const usageCollection = plugins.usageCollection;
if (usageCollection) {
- initializeActionsTelemetry(
- this.telemetryLogger,
- plugins.taskManager,
- core,
- await this.kibanaIndex
+ registerActionsUsageCollector(
+ usageCollection,
+ core.getStartServices().then(([_, { taskManager }]) => taskManager)
);
-
- core.getStartServices().then(async ([, startPlugins]) => {
- registerActionsUsageCollector(usageCollection, startPlugins.taskManager);
- });
}
- core.http.registerRouteHandlerContext(
- 'actions',
- this.createRouteHandlerContext(core, await this.kibanaIndex)
- );
+ this.kibanaIndexConfig.subscribe((config) => {
+ core.http.registerRouteHandlerContext(
+ 'actions',
+ this.createRouteHandlerContext(core, config.kibana.index)
+ );
+ if (usageCollection) {
+ initializeActionsTelemetry(
+ this.telemetryLogger,
+ plugins.taskManager,
+ core,
+ config.kibana.index
+ );
+ }
+ });
// Routes
const router = core.http.createRouter();
@@ -269,7 +266,7 @@ export class ActionsPlugin implements Plugin, Plugi
actionExecutor,
actionTypeRegistry,
taskRunnerFactory,
- kibanaIndex,
+ kibanaIndexConfig,
isESOUsingEphemeralEncryptionKey,
preconfiguredActions,
instantiateAuthorization,
@@ -297,10 +294,12 @@ export class ActionsPlugin implements Plugin, Plugi
request
);
+ const kibanaIndex = (await kibanaIndexConfig.pipe(first()).toPromise()).kibana.index;
+
return new ActionsClient({
unsecuredSavedObjectsClient,
actionTypeRegistry: actionTypeRegistry!,
- defaultKibanaIndex: await kibanaIndex,
+ defaultKibanaIndex: kibanaIndex,
scopedClusterClient: core.elasticsearch.legacy.client.asScoped(request),
preconfiguredActions,
request,
diff --git a/x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts b/x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts
index 0e6c2ff37eb029..39a61cebe92dcd 100644
--- a/x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts
+++ b/x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts
@@ -24,7 +24,7 @@ describe('registerActionsUsageCollector', () => {
it('should call registerCollector', () => {
registerActionsUsageCollector(
usageCollectionMock as UsageCollectionSetup,
- mockTaskManagerStart
+ new Promise(() => mockTaskManagerStart)
);
expect(usageCollectionMock.registerCollector).toHaveBeenCalledTimes(1);
});
@@ -32,7 +32,7 @@ describe('registerActionsUsageCollector', () => {
it('should call makeUsageCollector with type = actions', () => {
registerActionsUsageCollector(
usageCollectionMock as UsageCollectionSetup,
- mockTaskManagerStart
+ new Promise(() => mockTaskManagerStart)
);
expect(usageCollectionMock.makeUsageCollector).toHaveBeenCalledTimes(1);
expect(usageCollectionMock.makeUsageCollector.mock.calls[0][0].type).toBe('actions');
diff --git a/x-pack/plugins/actions/server/usage/actions_usage_collector.ts b/x-pack/plugins/actions/server/usage/actions_usage_collector.ts
index fac57b6282c445..f86c6a40e05055 100644
--- a/x-pack/plugins/actions/server/usage/actions_usage_collector.ts
+++ b/x-pack/plugins/actions/server/usage/actions_usage_collector.ts
@@ -26,11 +26,14 @@ const byTypeSchema: MakeSchemaFrom['count_by_type'] = {
export function createActionsUsageCollector(
usageCollection: UsageCollectionSetup,
- taskManager: TaskManagerStartContract
+ taskManager: Promise
) {
return usageCollection.makeUsageCollector({
type: 'actions',
- isReady: () => true,
+ isReady: async () => {
+ await taskManager;
+ return true;
+ },
schema: {
count_total: { type: 'long' },
count_active_total: { type: 'long' },
@@ -79,7 +82,7 @@ async function getLatestTaskState(taskManager: TaskManagerStartContract) {
export function registerActionsUsageCollector(
usageCollection: UsageCollectionSetup,
- taskManager: TaskManagerStartContract
+ taskManager: Promise
) {
const collector = createActionsUsageCollector(usageCollection, taskManager);
usageCollection.registerCollector(collector);
diff --git a/x-pack/plugins/alerts/server/alerts_client/alerts_client.ts b/x-pack/plugins/alerts/server/alerts_client/alerts_client.ts
index c08ff9449d1513..c83e24c5a45f4f 100644
--- a/x-pack/plugins/alerts/server/alerts_client/alerts_client.ts
+++ b/x-pack/plugins/alerts/server/alerts_client/alerts_client.ts
@@ -454,9 +454,11 @@ export class AlertsClient {
let attributes: RawAlert;
try {
- const decryptedAlert = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser<
- RawAlert
- >('alert', id, { namespace: this.namespace });
+ const decryptedAlert = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser(
+ 'alert',
+ id,
+ { namespace: this.namespace }
+ );
apiKeyToInvalidate = decryptedAlert.attributes.apiKey;
taskIdToRemove = decryptedAlert.attributes.scheduledTaskId;
attributes = decryptedAlert.attributes;
@@ -505,9 +507,11 @@ export class AlertsClient {
let alertSavedObject: SavedObject;
try {
- alertSavedObject = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser<
- RawAlert
- >('alert', id, { namespace: this.namespace });
+ alertSavedObject = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser(
+ 'alert',
+ id,
+ { namespace: this.namespace }
+ );
} catch (e) {
// We'll skip invalidating the API key since we failed to load the decrypted saved object
this.logger.error(
@@ -636,9 +640,11 @@ export class AlertsClient {
let version: string | undefined;
try {
- const decryptedAlert = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser<
- RawAlert
- >('alert', id, { namespace: this.namespace });
+ const decryptedAlert = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser(
+ 'alert',
+ id,
+ { namespace: this.namespace }
+ );
apiKeyToInvalidate = decryptedAlert.attributes.apiKey;
attributes = decryptedAlert.attributes;
version = decryptedAlert.version;
@@ -707,9 +713,11 @@ export class AlertsClient {
let version: string | undefined;
try {
- const decryptedAlert = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser<
- RawAlert
- >('alert', id, { namespace: this.namespace });
+ const decryptedAlert = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser(
+ 'alert',
+ id,
+ { namespace: this.namespace }
+ );
apiKeyToInvalidate = decryptedAlert.attributes.apiKey;
attributes = decryptedAlert.attributes;
version = decryptedAlert.version;
@@ -789,9 +797,11 @@ export class AlertsClient {
let version: string | undefined;
try {
- const decryptedAlert = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser<
- RawAlert
- >('alert', id, { namespace: this.namespace });
+ const decryptedAlert = await this.encryptedSavedObjectsClient.getDecryptedAsInternalUser(
+ 'alert',
+ id,
+ { namespace: this.namespace }
+ );
apiKeyToInvalidate = decryptedAlert.attributes.apiKey;
attributes = decryptedAlert.attributes;
version = decryptedAlert.version;
diff --git a/x-pack/plugins/alerts/server/alerts_client/tests/create.test.ts b/x-pack/plugins/alerts/server/alerts_client/tests/create.test.ts
index 6d259029ac4806..171ed13763c46b 100644
--- a/x-pack/plugins/alerts/server/alerts_client/tests/create.test.ts
+++ b/x-pack/plugins/alerts/server/alerts_client/tests/create.test.ts
@@ -378,9 +378,7 @@ describe('create()', () => {
"scheduledTaskId": "task-123",
}
`);
- const actionsClient = (await alertsClientParams.getActionsClient()) as jest.Mocked<
- ActionsClient
- >;
+ const actionsClient = (await alertsClientParams.getActionsClient()) as jest.Mocked;
expect(actionsClient.isActionTypeEnabled).toHaveBeenCalledWith('test', { notifyUsage: true });
});
@@ -702,9 +700,7 @@ describe('create()', () => {
test('throws error if loading actions fails', async () => {
const data = getMockData();
// Reset from default behaviour
- const actionsClient = (await alertsClientParams.getActionsClient()) as jest.Mocked<
- ActionsClient
- >;
+ const actionsClient = (await alertsClientParams.getActionsClient()) as jest.Mocked;
actionsClient.getBulk.mockReset();
actionsClient.getBulk.mockRejectedValueOnce(new Error('Test Error'));
alertsClientParams.getActionsClient.mockResolvedValue(actionsClient);
diff --git a/x-pack/plugins/alerts/server/alerts_client/tests/update.test.ts b/x-pack/plugins/alerts/server/alerts_client/tests/update.test.ts
index d0bb2607f7a47a..046d7ec63c048c 100644
--- a/x-pack/plugins/alerts/server/alerts_client/tests/update.test.ts
+++ b/x-pack/plugins/alerts/server/alerts_client/tests/update.test.ts
@@ -328,9 +328,7 @@ describe('update()', () => {
"version": "123",
}
`);
- const actionsClient = (await alertsClientParams.getActionsClient()) as jest.Mocked<
- ActionsClient
- >;
+ const actionsClient = (await alertsClientParams.getActionsClient()) as jest.Mocked;
expect(actionsClient.isActionTypeEnabled).toHaveBeenCalledWith('test', { notifyUsage: true });
expect(actionsClient.isActionTypeEnabled).toHaveBeenCalledWith('test2', { notifyUsage: true });
});
diff --git a/x-pack/plugins/alerts/server/alerts_client_factory.test.ts b/x-pack/plugins/alerts/server/alerts_client_factory.test.ts
index bdbfc726dab8f6..49a90c62bc5819 100644
--- a/x-pack/plugins/alerts/server/alerts_client_factory.test.ts
+++ b/x-pack/plugins/alerts/server/alerts_client_factory.test.ts
@@ -68,9 +68,9 @@ const actionsAuthorization = actionsAuthorizationMock.create();
beforeEach(() => {
jest.resetAllMocks();
alertsClientFactoryParams.actions = actionsMock.createStart();
- (alertsClientFactoryParams.actions as jest.Mocked<
- ActionsStartContract
- >).getActionsAuthorizationWithRequest.mockReturnValue(actionsAuthorization);
+ (alertsClientFactoryParams.actions as jest.Mocked).getActionsAuthorizationWithRequest.mockReturnValue(
+ actionsAuthorization
+ );
alertsClientFactoryParams.getSpaceId.mockReturnValue('default');
alertsClientFactoryParams.spaceIdToNamespace.mockReturnValue('default');
});
diff --git a/x-pack/plugins/alerts/server/authorization/alerts_authorization.test.ts b/x-pack/plugins/alerts/server/authorization/alerts_authorization.test.ts
index b3c7ada26c4569..eb116b9e208dc2 100644
--- a/x-pack/plugins/alerts/server/authorization/alerts_authorization.test.ts
+++ b/x-pack/plugins/alerts/server/authorization/alerts_authorization.test.ts
@@ -240,9 +240,9 @@ describe('AlertsAuthorization', () => {
test('ensures the user has privileges to execute the specified type, operation and consumer', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
const alertAuthorization = new AlertsAuthorization({
request,
@@ -283,9 +283,9 @@ describe('AlertsAuthorization', () => {
test('ensures the user has privileges to execute the specified type and operation without consumer when consumer is alerts', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
const alertAuthorization = new AlertsAuthorization({
request,
@@ -326,9 +326,9 @@ describe('AlertsAuthorization', () => {
test('ensures the user has privileges to execute the specified type, operation and producer when producer is different from consumer', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
checkPrivileges.mockResolvedValueOnce({
username: 'some-user',
@@ -377,9 +377,9 @@ describe('AlertsAuthorization', () => {
test('throws if user lacks the required privieleges for the consumer', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
const alertAuthorization = new AlertsAuthorization({
request,
@@ -428,9 +428,9 @@ describe('AlertsAuthorization', () => {
test('throws if user lacks the required privieleges for the producer', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
const alertAuthorization = new AlertsAuthorization({
request,
@@ -479,9 +479,9 @@ describe('AlertsAuthorization', () => {
test('throws if user lacks the required privieleges for both consumer and producer', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
const alertAuthorization = new AlertsAuthorization({
request,
@@ -594,9 +594,9 @@ describe('AlertsAuthorization', () => {
test('creates a filter based on the privileged types', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
checkPrivileges.mockResolvedValueOnce({
username: 'some-user',
@@ -625,9 +625,9 @@ describe('AlertsAuthorization', () => {
test('creates an `ensureAlertTypeIsAuthorized` function which throws if type is unauthorized', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
checkPrivileges.mockResolvedValueOnce({
username: 'some-user',
@@ -686,9 +686,9 @@ describe('AlertsAuthorization', () => {
test('creates an `ensureAlertTypeIsAuthorized` function which is no-op if type is authorized', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
checkPrivileges.mockResolvedValueOnce({
username: 'some-user',
@@ -736,9 +736,9 @@ describe('AlertsAuthorization', () => {
test('creates an `logSuccessfulAuthorization` function which logs every authorized type', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
checkPrivileges.mockResolvedValueOnce({
username: 'some-user',
@@ -913,9 +913,9 @@ describe('AlertsAuthorization', () => {
test('augments a list of types with consumers under which the operation is authorized', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
checkPrivileges.mockResolvedValueOnce({
username: 'some-user',
@@ -1001,9 +1001,9 @@ describe('AlertsAuthorization', () => {
test('authorizes user under the Alerts consumer when they are authorized by the producer', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
checkPrivileges.mockResolvedValueOnce({
username: 'some-user',
@@ -1062,9 +1062,9 @@ describe('AlertsAuthorization', () => {
test('augments a list of types with consumers under which multiple operations are authorized', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
checkPrivileges.mockResolvedValueOnce({
username: 'some-user',
@@ -1174,9 +1174,9 @@ describe('AlertsAuthorization', () => {
test('omits types which have no consumers under which the operation is authorized', async () => {
const { authorization } = mockSecurity();
- const checkPrivileges: jest.MockedFunction> = jest.fn();
+ const checkPrivileges: jest.MockedFunction<
+ ReturnType
+ > = jest.fn();
authorization.checkPrivilegesDynamicallyWithRequest.mockReturnValue(checkPrivileges);
checkPrivileges.mockResolvedValueOnce({
username: 'some-user',
diff --git a/x-pack/plugins/alerts/server/invalidate_pending_api_keys/task.ts b/x-pack/plugins/alerts/server/invalidate_pending_api_keys/task.ts
index 77cbb9f4a4a85c..119c3b697fd2ee 100644
--- a/x-pack/plugins/alerts/server/invalidate_pending_api_keys/task.ts
+++ b/x-pack/plugins/alerts/server/invalidate_pending_api_keys/task.ts
@@ -202,9 +202,10 @@ async function invalidateApiKeys(
let totalInvalidated = 0;
await Promise.all(
apiKeysToInvalidate.saved_objects.map(async (apiKeyObj) => {
- const decryptedApiKey = await encryptedSavedObjectsClient.getDecryptedAsInternalUser<
- InvalidatePendingApiKey
- >('api_key_pending_invalidation', apiKeyObj.id);
+ const decryptedApiKey = await encryptedSavedObjectsClient.getDecryptedAsInternalUser(
+ 'api_key_pending_invalidation',
+ apiKeyObj.id
+ );
const apiKeyId = decryptedApiKey.attributes.apiKeyId;
const response = await invalidateAPIKey({ id: apiKeyId }, securityPluginSetup);
if (response.apiKeysEnabled === true && response.result.error_count > 0) {
diff --git a/x-pack/plugins/alerts/server/plugin.ts b/x-pack/plugins/alerts/server/plugin.ts
index 99cb45130718ab..4bfb44425544a9 100644
--- a/x-pack/plugins/alerts/server/plugin.ts
+++ b/x-pack/plugins/alerts/server/plugin.ts
@@ -5,6 +5,7 @@
*/
import type { PublicMethodsOf } from '@kbn/utility-types';
import { first, map } from 'rxjs/operators';
+import { Observable } from 'rxjs';
import { UsageCollectionSetup } from 'src/plugins/usage_collection/server';
import { combineLatest } from 'rxjs';
import { SecurityPluginSetup } from '../../security/server';
@@ -28,7 +29,6 @@ import {
SavedObjectsServiceStart,
IContextProvider,
RequestHandler,
- SharedGlobalConfig,
ElasticsearchServiceStart,
ILegacyClusterClient,
StatusServiceSetup,
@@ -124,10 +124,10 @@ export class AlertingPlugin {
private security?: SecurityPluginSetup;
private readonly alertsClientFactory: AlertsClientFactory;
private readonly telemetryLogger: Logger;
- private readonly kibanaIndex: Promise;
private readonly kibanaVersion: PluginInitializerContext['env']['packageInfo']['version'];
private eventLogService?: IEventLogService;
private eventLogger?: IEventLogger;
+ private readonly kibanaIndexConfig: Observable<{ kibana: { index: string } }>;
constructor(initializerContext: PluginInitializerContext) {
this.config = initializerContext.config.create().pipe(first()).toPromise();
@@ -135,19 +135,14 @@ export class AlertingPlugin {
this.taskRunnerFactory = new TaskRunnerFactory();
this.alertsClientFactory = new AlertsClientFactory();
this.telemetryLogger = initializerContext.logger.get('usage');
- this.kibanaIndex = initializerContext.config.legacy.globalConfig$
- .pipe(
- first(),
- map((config: SharedGlobalConfig) => config.kibana.index)
- )
- .toPromise();
+ this.kibanaIndexConfig = initializerContext.config.legacy.globalConfig$;
this.kibanaVersion = initializerContext.env.packageInfo.version;
}
- public async setup(
+ public setup(
core: CoreSetup,
plugins: AlertingPluginsSetup
- ): Promise {
+ ): PluginSetupContract {
this.licenseState = new LicenseState(plugins.licensing.license$);
this.security = plugins.security;
@@ -187,15 +182,17 @@ export class AlertingPlugin {
const usageCollection = plugins.usageCollection;
if (usageCollection) {
- initializeAlertingTelemetry(
- this.telemetryLogger,
- core,
- plugins.taskManager,
- await this.kibanaIndex
+ registerAlertsUsageCollector(
+ usageCollection,
+ core.getStartServices().then(([_, { taskManager }]) => taskManager)
);
-
- core.getStartServices().then(async ([, startPlugins]) => {
- registerAlertsUsageCollector(usageCollection, startPlugins.taskManager);
+ this.kibanaIndexConfig.subscribe((config) => {
+ initializeAlertingTelemetry(
+ this.telemetryLogger,
+ core,
+ plugins.taskManager,
+ config.kibana.index
+ );
});
}
diff --git a/x-pack/plugins/alerts/server/saved_objects/partially_update_alert.test.ts b/x-pack/plugins/alerts/server/saved_objects/partially_update_alert.test.ts
index 8041ec551bb0df..c272e0490cbab6 100644
--- a/x-pack/plugins/alerts/server/saved_objects/partially_update_alert.test.ts
+++ b/x-pack/plugins/alerts/server/saved_objects/partially_update_alert.test.ts
@@ -14,9 +14,7 @@ import { partiallyUpdateAlert, PartiallyUpdateableAlertAttributes } from './part
import { savedObjectsClientMock } from '../../../../../src/core/server/mocks';
const MockSavedObjectsClientContract = savedObjectsClientMock.create();
-const MockISavedObjectsRepository = (MockSavedObjectsClientContract as unknown) as jest.Mocked<
- ISavedObjectsRepository
->;
+const MockISavedObjectsRepository = (MockSavedObjectsClientContract as unknown) as jest.Mocked;
describe('partially_update_alert', () => {
beforeEach(() => {
diff --git a/x-pack/plugins/alerts/server/usage/alerts_usage_collector.test.ts b/x-pack/plugins/alerts/server/usage/alerts_usage_collector.test.ts
index a5f83bc393d4ec..e731e3f536261f 100644
--- a/x-pack/plugins/alerts/server/usage/alerts_usage_collector.test.ts
+++ b/x-pack/plugins/alerts/server/usage/alerts_usage_collector.test.ts
@@ -22,12 +22,18 @@ describe('registerAlertsUsageCollector', () => {
});
it('should call registerCollector', () => {
- registerAlertsUsageCollector(usageCollectionMock as UsageCollectionSetup, taskManagerStart);
+ registerAlertsUsageCollector(
+ usageCollectionMock as UsageCollectionSetup,
+ new Promise(() => taskManagerStart)
+ );
expect(usageCollectionMock.registerCollector).toHaveBeenCalledTimes(1);
});
it('should call makeUsageCollector with type = alerts', () => {
- registerAlertsUsageCollector(usageCollectionMock as UsageCollectionSetup, taskManagerStart);
+ registerAlertsUsageCollector(
+ usageCollectionMock as UsageCollectionSetup,
+ new Promise(() => taskManagerStart)
+ );
expect(usageCollectionMock.makeUsageCollector).toHaveBeenCalledTimes(1);
expect(usageCollectionMock.makeUsageCollector.mock.calls[0][0].type).toBe('alerts');
});
diff --git a/x-pack/plugins/alerts/server/usage/alerts_usage_collector.ts b/x-pack/plugins/alerts/server/usage/alerts_usage_collector.ts
index de82dd31877afb..40a9983ae27861 100644
--- a/x-pack/plugins/alerts/server/usage/alerts_usage_collector.ts
+++ b/x-pack/plugins/alerts/server/usage/alerts_usage_collector.ts
@@ -44,11 +44,14 @@ const byTypeSchema: MakeSchemaFrom['count_by_type'] = {
export function createAlertsUsageCollector(
usageCollection: UsageCollectionSetup,
- taskManager: TaskManagerStartContract
+ taskManager: Promise
) {
return usageCollection.makeUsageCollector({
type: 'alerts',
- isReady: () => true,
+ isReady: async () => {
+ await taskManager;
+ return true;
+ },
fetch: async () => {
try {
const doc = await getLatestTaskState(await taskManager);
@@ -129,7 +132,7 @@ async function getLatestTaskState(taskManager: TaskManagerStartContract) {
export function registerAlertsUsageCollector(
usageCollection: UsageCollectionSetup,
- taskManager: TaskManagerStartContract
+ taskManager: Promise
) {
const collector = createAlertsUsageCollector(usageCollection, taskManager);
usageCollection.registerCollector(collector);
diff --git a/x-pack/plugins/apm/jest.config.js b/x-pack/plugins/apm/jest.config.js
index ffd3a39e8afd1a..849dd7f5c3e2df 100644
--- a/x-pack/plugins/apm/jest.config.js
+++ b/x-pack/plugins/apm/jest.config.js
@@ -29,7 +29,7 @@ module.exports = {
roots: [`${rootDir}/common`, `${rootDir}/public`, `${rootDir}/server`],
collectCoverage: true,
collectCoverageFrom: [
- ...(jestConfig.collectCoverageFrom ?? []),
+ ...(jestConfig.collectCoverageFrom || []),
'**/*.{js,mjs,jsx,ts,tsx}',
'!**/*.stories.{js,mjs,ts,tsx}',
'!**/dev_docs/**',
diff --git a/x-pack/plugins/apm/public/application/action_menu/anomaly_detection_setup_link.tsx b/x-pack/plugins/apm/public/application/action_menu/anomaly_detection_setup_link.tsx
index e08bd01a1842be..e6fc80ed7c3b7f 100644
--- a/x-pack/plugins/apm/public/application/action_menu/anomaly_detection_setup_link.tsx
+++ b/x-pack/plugins/apm/public/application/action_menu/anomaly_detection_setup_link.tsx
@@ -23,9 +23,7 @@ import { useUrlParams } from '../../hooks/useUrlParams';
import { APIReturnType } from '../../services/rest/createCallApmApi';
import { units } from '../../style/variables';
-export type AnomalyDetectionApiResponse = APIReturnType<
- 'GET /api/apm/settings/anomaly-detection'
->;
+export type AnomalyDetectionApiResponse = APIReturnType<'GET /api/apm/settings/anomaly-detection'>;
const DEFAULT_DATA = { jobs: [], hasLegacyJobs: false };
diff --git a/x-pack/plugins/apm/public/application/csmApp.tsx b/x-pack/plugins/apm/public/application/csmApp.tsx
index dfc3d6b4b9ec8d..7fcbe7c518cd0b 100644
--- a/x-pack/plugins/apm/public/application/csmApp.tsx
+++ b/x-pack/plugins/apm/public/application/csmApp.tsx
@@ -10,7 +10,6 @@ import { AppMountParameters, CoreStart } from 'kibana/public';
import React from 'react';
import ReactDOM from 'react-dom';
import { Route, Router } from 'react-router-dom';
-import 'react-vis/dist/style.css';
import styled, { DefaultTheme, ThemeProvider } from 'styled-components';
import {
KibanaContextProvider,
diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx b/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx
index 777ee014d3e58b..643064b2f31764 100644
--- a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx
@@ -55,9 +55,7 @@ const TransactionLinkName = styled.div`
`;
interface Props {
- errorGroup: APIReturnType<
- 'GET /api/apm/services/{serviceName}/errors/{groupId}'
- >;
+ errorGroup: APIReturnType<'GET /api/apm/services/{serviceName}/errors/{groupId}'>;
urlParams: IUrlParams;
location: Location;
}
diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/Distribution/index.tsx b/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/Distribution/index.tsx
index fd656b8be6ec72..99316e3520a763 100644
--- a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/Distribution/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/Distribution/index.tsx
@@ -22,9 +22,7 @@ import { APIReturnType } from '../../../../services/rest/createCallApmApi';
import { asRelativeDateTimeRange } from '../../../../../common/utils/formatters';
import { useTheme } from '../../../../hooks/useTheme';
-type ErrorDistributionAPIResponse = APIReturnType<
- 'GET /api/apm/services/{serviceName}/errors/distribution'
->;
+type ErrorDistributionAPIResponse = APIReturnType<'GET /api/apm/services/{serviceName}/errors/distribution'>;
interface FormattedBucket {
x0: number;
diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/index.tsx b/x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/index.tsx
index bfa426985d1c66..be1078ea860c30 100644
--- a/x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/index.tsx
@@ -48,9 +48,7 @@ const Culprit = styled.div`
font-family: ${fontFamilyCode};
`;
-type ErrorGroupListAPIResponse = APIReturnType<
- 'GET /api/apm/services/{serviceName}/errors'
->;
+type ErrorGroupListAPIResponse = APIReturnType<'GET /api/apm/services/{serviceName}/errors'>;
interface Props {
items: ErrorGroupListAPIResponse;
diff --git a/x-pack/plugins/apm/public/components/app/Main/route_config/index.tsx b/x-pack/plugins/apm/public/components/app/Main/route_config/index.tsx
index f96dc14e342645..63fb69d6d7cbfb 100644
--- a/x-pack/plugins/apm/public/components/app/Main/route_config/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/Main/route_config/index.tsx
@@ -13,8 +13,8 @@ import { APMRouteDefinition } from '../../../../application/routes';
import { toQuery } from '../../../shared/Links/url_helpers';
import { ErrorGroupDetails } from '../../ErrorGroupDetails';
import { Home } from '../../Home';
-import { ServiceDetails } from '../../ServiceDetails';
-import { ServiceNodeMetrics } from '../../ServiceNodeMetrics';
+import { ServiceDetails } from '../../service_details';
+import { ServiceNodeMetrics } from '../../service_node_metrics';
import { Settings } from '../../Settings';
import { AgentConfigurations } from '../../Settings/AgentConfigurations';
import { AnomalyDetection } from '../../Settings/anomaly_detection';
diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/PageLoadDistribution/BreakdownSeries.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/PageLoadDistribution/BreakdownSeries.tsx
index f348aca495c71d..147f2e495066a1 100644
--- a/x-pack/plugins/apm/public/components/app/RumDashboard/PageLoadDistribution/BreakdownSeries.tsx
+++ b/x-pack/plugins/apm/public/components/app/RumDashboard/PageLoadDistribution/BreakdownSeries.tsx
@@ -6,6 +6,7 @@
import { CurveType, Fit, LineSeries, ScaleType } from '@elastic/charts';
import React, { useEffect } from 'react';
+import numeral from '@elastic/numeral';
import {
EUI_CHARTS_THEME_DARK,
EUI_CHARTS_THEME_LIGHT,
@@ -63,6 +64,7 @@ export function BreakdownSeries({
sortIndex === 0 ? 0 : sortIndex + 1
]
}
+ tickFormat={(d) => numeral(d).format('0.0') + ' %'}
/>
))}
>
diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/EmbeddedMap.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/EmbeddedMap.tsx
index b757635af1702e..3a5c3d80ca7d19 100644
--- a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/EmbeddedMap.tsx
+++ b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/EmbeddedMap.tsx
@@ -61,9 +61,9 @@ export function EmbeddedMapComponent() {
MapEmbeddable | ErrorEmbeddable | undefined
>();
- const embeddableRoot: React.RefObject = useRef<
- HTMLDivElement
- >(null);
+ const embeddableRoot: React.RefObject = useRef(
+ null
+ );
const {
services: { embeddable: embeddablePlugin },
diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/ux_overview_fetchers.ts b/x-pack/plugins/apm/public/components/app/RumDashboard/ux_overview_fetchers.ts
index 4610205cee7ed0..7ce9d3f25354cc 100644
--- a/x-pack/plugins/apm/public/components/app/RumDashboard/ux_overview_fetchers.ts
+++ b/x-pack/plugins/apm/public/components/app/RumDashboard/ux_overview_fetchers.ts
@@ -8,6 +8,7 @@ import {
FetchDataParams,
HasDataParams,
UxFetchDataResponse,
+ UXHasDataResponse,
} from '../../../../../observability/public/';
import { callApmApi } from '../../../services/rest/createCallApmApi';
@@ -35,7 +36,9 @@ export const fetchUxOverviewDate = async ({
};
};
-export async function hasRumData({ absoluteTime }: HasDataParams) {
+export async function hasRumData({
+ absoluteTime,
+}: HasDataParams): Promise {
return await callApmApi({
endpoint: 'GET /api/apm/observability_overview/has_rum_data',
params: {
diff --git a/x-pack/plugins/apm/public/components/app/ServiceNodeOverview/index.tsx b/x-pack/plugins/apm/public/components/app/ServiceNodeOverview/index.tsx
index 89c5c801a56836..74e7b652d0ebe0 100644
--- a/x-pack/plugins/apm/public/components/app/ServiceNodeOverview/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/ServiceNodeOverview/index.tsx
@@ -45,7 +45,9 @@ function ServiceNodeOverview({ serviceName }: ServiceNodeOverviewProps) {
const { uiFilters, urlParams } = useUrlParams();
const { start, end } = urlParams;
- const localFiltersConfig: React.ComponentProps = useMemo(
+ const localFiltersConfig: React.ComponentProps<
+ typeof LocalUIFilters
+ > = useMemo(
() => ({
filterNames: ['host', 'containerId', 'podName'],
params: {
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/DeleteButton.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/DeleteButton.tsx
similarity index 100%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/DeleteButton.tsx
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/DeleteButton.tsx
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/Documentation.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/Documentation.tsx
similarity index 100%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/Documentation.tsx
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/Documentation.tsx
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/FiltersSection.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/FiltersSection.tsx
similarity index 100%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/FiltersSection.tsx
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/FiltersSection.tsx
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/FlyoutFooter.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/FlyoutFooter.tsx
similarity index 100%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/FlyoutFooter.tsx
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/FlyoutFooter.tsx
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/LinkPreview.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/LinkPreview.tsx
similarity index 100%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/LinkPreview.tsx
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/LinkPreview.tsx
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/LinkSection.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/LinkSection.tsx
similarity index 100%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/LinkSection.tsx
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/LinkSection.tsx
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/helper.test.ts b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/helper.test.ts
similarity index 99%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/helper.test.ts
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/helper.test.ts
index 5f8e0b9052a656..4af9321152da35 100644
--- a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/helper.test.ts
+++ b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/helper.test.ts
@@ -6,7 +6,7 @@
import {
getSelectOptions,
replaceTemplateVariables,
-} from '../CustomLinkFlyout/helper';
+} from '../CreateEditCustomLinkFlyout/helper';
import { Transaction } from '../../../../../../../typings/es_schemas/ui/transaction';
describe('Custom link helper', () => {
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/helper.ts b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/helper.ts
similarity index 100%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/helper.ts
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/helper.ts
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/index.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/index.tsx
similarity index 98%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/index.tsx
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/index.tsx
index 9687846d6c5205..c6566af3a8b61b 100644
--- a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/index.tsx
@@ -37,7 +37,7 @@ interface Props {
const filtersEmptyState: Filter[] = [{ key: '', value: '' }];
-export function CustomLinkFlyout({
+export function CreateEditCustomLinkFlyout({
onClose,
onSave,
onDelete,
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/link_preview.test.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/link_preview.test.tsx
similarity index 97%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/link_preview.test.tsx
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/link_preview.test.tsx
index 3a2aa01ba3bc48..7fa8e3a025956d 100644
--- a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/link_preview.test.tsx
+++ b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/link_preview.test.tsx
@@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import React from 'react';
-import { LinkPreview } from '../CustomLinkFlyout/LinkPreview';
+import { LinkPreview } from '../CreateEditCustomLinkFlyout/LinkPreview';
import {
render,
getNodeText,
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/saveCustomLink.ts b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/saveCustomLink.ts
similarity index 100%
rename from x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CustomLinkFlyout/saveCustomLink.ts
rename to x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/CreateEditCustomLinkFlyout/saveCustomLink.ts
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/Title.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/Title.tsx
deleted file mode 100644
index 2017aa42e1c5a6..00000000000000
--- a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/Title.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License;
- * you may not use this file except in compliance with the Elastic License.
- */
-
-import { EuiFlexGroup, EuiFlexItem, EuiTitle } from '@elastic/eui';
-import { i18n } from '@kbn/i18n';
-import React from 'react';
-
-export function Title() {
- return (
-
-
-
-
-
-
- {i18n.translate('xpack.apm.settings.customizeUI.customLink', {
- defaultMessage: 'Custom Links',
- })}
-
-
-
-
-
-
- );
-}
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/index.test.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/index.test.tsx
index a7feafad11111a..96a634828f6696 100644
--- a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/index.test.tsx
+++ b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/index.test.tsx
@@ -21,7 +21,7 @@ import {
expectTextsInDocument,
expectTextsNotInDocument,
} from '../../../../../utils/testHelpers';
-import * as saveCustomLink from './CustomLinkFlyout/saveCustomLink';
+import * as saveCustomLink from './CreateEditCustomLinkFlyout/saveCustomLink';
import { MockApmPluginContextWrapper } from '../../../../../context/ApmPluginContext/MockApmPluginContext';
const data = [
diff --git a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/index.tsx b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/index.tsx
index d872f6d21ed96d..771a8c6154dc04 100644
--- a/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/Settings/CustomizeUI/CustomLink/index.tsx
@@ -9,6 +9,7 @@ import {
EuiFlexItem,
EuiPanel,
EuiSpacer,
+ EuiTitle,
EuiText,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
@@ -20,10 +21,9 @@ import { FETCH_STATUS, useFetcher } from '../../../../../hooks/useFetcher';
import { useLicense } from '../../../../../hooks/useLicense';
import { LicensePrompt } from '../../../../shared/LicensePrompt';
import { CreateCustomLinkButton } from './CreateCustomLinkButton';
-import { CustomLinkFlyout } from './CustomLinkFlyout';
+import { CreateEditCustomLinkFlyout } from './CreateEditCustomLinkFlyout';
import { CustomLinkTable } from './CustomLinkTable';
import { EmptyPrompt } from './EmptyPrompt';
-import { Title } from './Title';
export function CustomLinkOverview() {
const license = useLicense();
@@ -35,9 +35,14 @@ export function CustomLinkOverview() {
>();
const { data: customLinks = [], status, refetch } = useFetcher(
- (callApmApi) =>
- callApmApi({ endpoint: 'GET /api/apm/settings/custom_links' }),
- []
+ async (callApmApi) => {
+ if (hasValidLicense) {
+ return callApmApi({
+ endpoint: 'GET /api/apm/settings/custom_links',
+ });
+ }
+ },
+ [hasValidLicense]
);
useEffect(() => {
@@ -61,7 +66,7 @@ export function CustomLinkOverview() {
return (
<>
{isFlyoutOpen && (
-
-
+
+
+
+
+
+
+ {i18n.translate(
+ 'xpack.apm.settings.customizeUI.customLink',
+ {
+ defaultMessage: 'Custom Links',
+ }
+ )}
+
+
+
+
+
+
{hasValidLicense && !showEmptyPrompt && (
diff --git a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx
index debf3fa85d9353..2cda5fcf859099 100644
--- a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx
@@ -17,9 +17,7 @@ import { LicensePrompt } from '../../../shared/LicensePrompt';
import { useLicense } from '../../../../hooks/useLicense';
import { APIReturnType } from '../../../../services/rest/createCallApmApi';
-export type AnomalyDetectionApiResponse = APIReturnType<
- 'GET /api/apm/settings/anomaly-detection'
->;
+export type AnomalyDetectionApiResponse = APIReturnType<'GET /api/apm/settings/anomaly-detection'>;
const DEFAULT_VALUE: AnomalyDetectionApiResponse = {
jobs: [],
diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Distribution/index.tsx b/x-pack/plugins/apm/public/components/app/TransactionDetails/Distribution/index.tsx
index ac4af7b126468c..e92a6c7db8445e 100644
--- a/x-pack/plugins/apm/public/components/app/TransactionDetails/Distribution/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/TransactionDetails/Distribution/index.tsx
@@ -33,13 +33,9 @@ import { unit } from '../../../../style/variables';
import { ChartContainer } from '../../../shared/charts/chart_container';
import { EmptyMessage } from '../../../shared/EmptyMessage';
-type TransactionDistributionAPIResponse = APIReturnType<
- 'GET /api/apm/services/{serviceName}/transaction_groups/distribution'
->;
+type TransactionDistributionAPIResponse = APIReturnType<'GET /api/apm/services/{serviceName}/transaction_groups/distribution'>;
-type DistributionApiResponse = APIReturnType<
- 'GET /api/apm/services/{serviceName}/transaction_groups/distribution'
->;
+type DistributionApiResponse = APIReturnType<'GET /api/apm/services/{serviceName}/transaction_groups/distribution'>;
type DistributionBucket = DistributionApiResponse['buckets'][0];
diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/WaterfallWithSummmary/index.tsx b/x-pack/plugins/apm/public/components/app/TransactionDetails/WaterfallWithSummmary/index.tsx
index 86221a6e928531..c9420dbb81cb99 100644
--- a/x-pack/plugins/apm/public/components/app/TransactionDetails/WaterfallWithSummmary/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/TransactionDetails/WaterfallWithSummmary/index.tsx
@@ -27,9 +27,7 @@ import { MaybeViewTraceLink } from './MaybeViewTraceLink';
import { TransactionTabs } from './TransactionTabs';
import { IWaterfall } from './WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers';
-type DistributionApiResponse = APIReturnType<
- 'GET /api/apm/services/{serviceName}/transaction_groups/distribution'
->;
+type DistributionApiResponse = APIReturnType<'GET /api/apm/services/{serviceName}/transaction_groups/distribution'>;
type DistributionBucket = DistributionApiResponse['buckets'][0];
diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/index.tsx b/x-pack/plugins/apm/public/components/app/TransactionDetails/index.tsx
index cc6bacc4f3ccb8..8a99773a97baf6 100644
--- a/x-pack/plugins/apm/public/components/app/TransactionDetails/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/TransactionDetails/index.tsx
@@ -21,11 +21,11 @@ import { useTransactionCharts } from '../../../hooks/useTransactionCharts';
import { useTransactionDistribution } from '../../../hooks/useTransactionDistribution';
import { useWaterfall } from '../../../hooks/useWaterfall';
import { ApmHeader } from '../../shared/ApmHeader';
-import { TransactionCharts } from '../../shared/charts/TransactionCharts';
+import { TransactionCharts } from '../../shared/charts/transaction_charts';
import { TransactionDistribution } from './Distribution';
import { WaterfallWithSummmary } from './WaterfallWithSummmary';
import { FETCH_STATUS } from '../../../hooks/useFetcher';
-import { LegacyChartsSyncContextProvider as ChartsSyncContextProvider } from '../../../context/charts_sync_context';
+import { ChartsSyncContextProvider } from '../../../context/charts_sync_context';
import { useTrackPageview } from '../../../../../observability/public';
import { Projection } from '../../../../common/projections';
import { fromQuery, toQuery } from '../../shared/Links/url_helpers';
diff --git a/x-pack/plugins/apm/public/components/app/TransactionOverview/TransactionList/TransactionList.stories.tsx b/x-pack/plugins/apm/public/components/app/TransactionOverview/TransactionList/TransactionList.stories.tsx
index 65dfdd19fa0c53..953397b9f3d5fb 100644
--- a/x-pack/plugins/apm/public/components/app/TransactionOverview/TransactionList/TransactionList.stories.tsx
+++ b/x-pack/plugins/apm/public/components/app/TransactionOverview/TransactionList/TransactionList.stories.tsx
@@ -10,9 +10,7 @@ import { APIReturnType } from '../../../../services/rest/createCallApmApi';
import { MockApmPluginContextWrapper } from '../../../../context/ApmPluginContext/MockApmPluginContext';
import { TransactionList } from './';
-type TransactionGroup = APIReturnType<
- 'GET /api/apm/services/{serviceName}/transaction_groups'
->['items'][0];
+type TransactionGroup = APIReturnType<'GET /api/apm/services/{serviceName}/transaction_groups'>['items'][0];
export default {
title: 'app/TransactionOverview/TransactionList',
diff --git a/x-pack/plugins/apm/public/components/app/TransactionOverview/TransactionList/index.tsx b/x-pack/plugins/apm/public/components/app/TransactionOverview/TransactionList/index.tsx
index b084d05ee16e8c..ece923631a2f76 100644
--- a/x-pack/plugins/apm/public/components/app/TransactionOverview/TransactionList/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/TransactionOverview/TransactionList/index.tsx
@@ -20,9 +20,7 @@ import { LoadingStatePrompt } from '../../../shared/LoadingStatePrompt';
import { EmptyMessage } from '../../../shared/EmptyMessage';
import { TransactionDetailLink } from '../../../shared/Links/apm/TransactionDetailLink';
-type TransactionGroup = APIReturnType<
- 'GET /api/apm/services/{serviceName}/transaction_groups'
->['items'][0];
+type TransactionGroup = APIReturnType<'GET /api/apm/services/{serviceName}/transaction_groups'>['items'][0];
// Truncate both the link and the child span (the tooltip anchor.) The link so
// it doesn't overflow, and the anchor so we get the ellipsis.
diff --git a/x-pack/plugins/apm/public/components/app/TransactionOverview/index.tsx b/x-pack/plugins/apm/public/components/app/TransactionOverview/index.tsx
index 8208916c203377..a55b135c6a84e2 100644
--- a/x-pack/plugins/apm/public/components/app/TransactionOverview/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/TransactionOverview/index.tsx
@@ -29,7 +29,7 @@ import { useServiceTransactionTypes } from '../../../hooks/useServiceTransaction
import { useTransactionCharts } from '../../../hooks/useTransactionCharts';
import { useTransactionList } from '../../../hooks/useTransactionList';
import { useUrlParams } from '../../../hooks/useUrlParams';
-import { TransactionCharts } from '../../shared/charts/TransactionCharts';
+import { TransactionCharts } from '../../shared/charts/transaction_charts';
import { ElasticDocsLink } from '../../shared/Links/ElasticDocsLink';
import { fromQuery, toQuery } from '../../shared/Links/url_helpers';
import { LocalUIFilters } from '../../shared/LocalUIFilters';
@@ -96,7 +96,9 @@ export function TransactionOverview({ serviceName }: TransactionOverviewProps) {
status: transactionListStatus,
} = useTransactionList(urlParams);
- const localFiltersConfig: React.ComponentProps = useMemo(
+ const localFiltersConfig: React.ComponentProps<
+ typeof LocalUIFilters
+ > = useMemo(
() => ({
filterNames: [
'transactionResult',
diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/index.tsx b/x-pack/plugins/apm/public/components/app/service_details/index.tsx
similarity index 93%
rename from x-pack/plugins/apm/public/components/app/ServiceDetails/index.tsx
rename to x-pack/plugins/apm/public/components/app/service_details/index.tsx
index 8df2b0fda7a7e1..70acc2038e1a77 100644
--- a/x-pack/plugins/apm/public/components/app/ServiceDetails/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/service_details/index.tsx
@@ -8,7 +8,7 @@ import { EuiTitle } from '@elastic/eui';
import React from 'react';
import { RouteComponentProps } from 'react-router-dom';
import { ApmHeader } from '../../shared/ApmHeader';
-import { ServiceDetailTabs } from './ServiceDetailTabs';
+import { ServiceDetailTabs } from './service_detail_tabs';
interface Props extends RouteComponentProps<{ serviceName: string }> {
tab: React.ComponentProps['tab'];
diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceDetailTabs.tsx b/x-pack/plugins/apm/public/components/app/service_details/service_detail_tabs.tsx
similarity index 98%
rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceDetailTabs.tsx
rename to x-pack/plugins/apm/public/components/app/service_details/service_detail_tabs.tsx
index f42b94b8afe335..22c5a2b101ddcb 100644
--- a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceDetailTabs.tsx
+++ b/x-pack/plugins/apm/public/components/app/service_details/service_detail_tabs.tsx
@@ -20,7 +20,7 @@ import { useTransactionOverviewHref } from '../../shared/Links/apm/TransactionOv
import { MainTabs } from '../../shared/main_tabs';
import { ErrorGroupOverview } from '../ErrorGroupOverview';
import { ServiceMap } from '../ServiceMap';
-import { ServiceMetrics } from '../ServiceMetrics';
+import { ServiceMetrics } from '../service_metrics';
import { ServiceNodeOverview } from '../ServiceNodeOverview';
import { ServiceOverview } from '../service_overview';
import { TransactionOverview } from '../TransactionOverview';
diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx
index 3fa047d840ddad..3c84b3982642d4 100644
--- a/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx
@@ -99,7 +99,9 @@ export function ServiceInventory() {
useTrackPageview({ app: 'apm', path: 'services_overview' });
useTrackPageview({ app: 'apm', path: 'services_overview', delay: 15000 });
- const localFiltersConfig: React.ComponentProps = useMemo(
+ const localFiltersConfig: React.ComponentProps<
+ typeof LocalUIFilters
+ > = useMemo(
() => ({
filterNames: ['host', 'agentName'],
projection: Projection.services,
diff --git a/x-pack/plugins/apm/public/components/app/ServiceMetrics/index.tsx b/x-pack/plugins/apm/public/components/app/service_metrics/index.tsx
similarity index 78%
rename from x-pack/plugins/apm/public/components/app/ServiceMetrics/index.tsx
rename to x-pack/plugins/apm/public/components/app/service_metrics/index.tsx
index 5808c54d578c6d..5dc1645a1760d0 100644
--- a/x-pack/plugins/apm/public/components/app/ServiceMetrics/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/service_metrics/index.tsx
@@ -14,9 +14,9 @@ import {
} from '@elastic/eui';
import React, { useMemo } from 'react';
import { useServiceMetricCharts } from '../../../hooks/useServiceMetricCharts';
-import { MetricsChart } from '../../shared/charts/MetricsChart';
+import { MetricsChart } from '../../shared/charts/metrics_chart';
import { useUrlParams } from '../../../hooks/useUrlParams';
-import { LegacyChartsSyncContextProvider as ChartsSyncContextProvider } from '../../../context/charts_sync_context';
+import { ChartsSyncContextProvider } from '../../../context/charts_sync_context';
import { Projection } from '../../../../common/projections';
import { LocalUIFilters } from '../../shared/LocalUIFilters';
import { SearchBar } from '../../shared/search_bar';
@@ -31,10 +31,12 @@ export function ServiceMetrics({
serviceName,
}: ServiceMetricsProps) {
const { urlParams } = useUrlParams();
- const { data } = useServiceMetricCharts(urlParams, agentName);
+ const { data, status } = useServiceMetricCharts(urlParams, agentName);
const { start, end } = urlParams;
- const localFiltersConfig: React.ComponentProps = useMemo(
+ const localFiltersConfig: React.ComponentProps<
+ typeof LocalUIFilters
+ > = useMemo(
() => ({
filterNames: ['host', 'containerId', 'podName', 'serviceVersion'],
params: {
@@ -60,7 +62,12 @@ export function ServiceMetrics({
{data.charts.map((chart) => (
-
+
))}
diff --git a/x-pack/plugins/apm/public/components/app/ServiceNodeMetrics/index.test.tsx b/x-pack/plugins/apm/public/components/app/service_node_metrics/index.test.tsx
similarity index 100%
rename from x-pack/plugins/apm/public/components/app/ServiceNodeMetrics/index.test.tsx
rename to x-pack/plugins/apm/public/components/app/service_node_metrics/index.test.tsx
diff --git a/x-pack/plugins/apm/public/components/app/ServiceNodeMetrics/index.tsx b/x-pack/plugins/apm/public/components/app/service_node_metrics/index.tsx
similarity index 80%
rename from x-pack/plugins/apm/public/components/app/ServiceNodeMetrics/index.tsx
rename to x-pack/plugins/apm/public/components/app/service_node_metrics/index.tsx
index efa6110fea1008..59e919199be761 100644
--- a/x-pack/plugins/apm/public/components/app/ServiceNodeMetrics/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/service_node_metrics/index.tsx
@@ -9,7 +9,7 @@ import {
EuiFlexGrid,
EuiFlexGroup,
EuiFlexItem,
- EuiHorizontalRule,
+ EuiPage,
EuiPanel,
EuiSpacer,
EuiStat,
@@ -22,15 +22,16 @@ import React from 'react';
import { RouteComponentProps } from 'react-router-dom';
import styled from 'styled-components';
import { SERVICE_NODE_NAME_MISSING } from '../../../../common/service_nodes';
-import { LegacyChartsSyncContextProvider as ChartsSyncContextProvider } from '../../../context/charts_sync_context';
+import { ChartsSyncContextProvider } from '../../../context/charts_sync_context';
import { useAgentName } from '../../../hooks/useAgentName';
import { FETCH_STATUS, useFetcher } from '../../../hooks/useFetcher';
import { useServiceMetricCharts } from '../../../hooks/useServiceMetricCharts';
import { useUrlParams } from '../../../hooks/useUrlParams';
import { px, truncate, unit } from '../../../style/variables';
import { ApmHeader } from '../../shared/ApmHeader';
-import { MetricsChart } from '../../shared/charts/MetricsChart';
+import { MetricsChart } from '../../shared/charts/metrics_chart';
import { ElasticDocsLink } from '../../shared/Links/ElasticDocsLink';
+import { SearchBar } from '../../shared/search_bar';
const INITIAL_DATA = {
host: '',
@@ -42,6 +43,13 @@ const Truncate = styled.span`
${truncate(px(unit * 12))}
`;
+const MetadataFlexGroup = styled(EuiFlexGroup)`
+ border-bottom: ${({ theme }) => theme.eui.euiBorderThin};
+ margin-bottom: ${({ theme }) => theme.eui.paddingSizes.m};
+ padding: ${({ theme }) =>
+ `${theme.eui.paddingSizes.m} 0 0 ${theme.eui.paddingSizes.m}`};
+`;
+
type ServiceNodeMetricsProps = RouteComponentProps<{
serviceName: string;
serviceNodeName: string;
@@ -75,11 +83,10 @@ export function ServiceNodeMetrics({ match }: ServiceNodeMetricsProps) {
);
const isLoading = status === FETCH_STATUS.LOADING;
-
const isAggregatedData = serviceNodeName === SERVICE_NODE_NAME_MISSING;
return (
-
+ <>
@@ -89,7 +96,6 @@ export function ServiceNodeMetrics({ match }: ServiceNodeMetricsProps) {
-
{isAggregatedData ? (
) : (
-
+
-
+
-
+
)}
-
{agentName && (
{data.charts.map((chart) => (
-
+
))}
@@ -186,6 +196,28 @@ export function ServiceNodeMetrics({ match }: ServiceNodeMetricsProps) {
)}
-
+
+
+ {agentName && (
+
+
+ {data.charts.map((chart) => (
+
+
+
+
+
+ ))}
+
+
+
+ )}
+
+ >
);
}
diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/index.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/index.tsx
index e91ab338c4a27b..e241bc2fed05a4 100644
--- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/index.tsx
+++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/index.tsx
@@ -36,9 +36,7 @@ import { ImpactBar } from '../../../shared/ImpactBar';
import { ServiceOverviewTable } from '../service_overview_table';
type ServiceTransactionGroupItem = ValuesType<
- APIReturnType<
- 'GET /api/apm/services/{serviceName}/overview_transaction_groups'
- >['transactionGroups']
+ APIReturnType<'GET /api/apm/services/{serviceName}/overview_transaction_groups'>['transactionGroups']
>;
interface Props {
diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkPopover.test.tsx b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkPopover.test.tsx
deleted file mode 100644
index 62952d1fb501b7..00000000000000
--- a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkPopover.test.tsx
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License;
- * you may not use this file except in compliance with the Elastic License.
- */
-import { act, fireEvent, render } from '@testing-library/react';
-import React, { ReactNode } from 'react';
-import { MemoryRouter } from 'react-router-dom';
-import { CustomLink } from '../../../../../common/custom_link/custom_link_types';
-import { Transaction } from '../../../../../typings/es_schemas/ui/transaction';
-import { MockApmPluginContextWrapper } from '../../../../context/ApmPluginContext/MockApmPluginContext';
-import { expectTextsInDocument } from '../../../../utils/testHelpers';
-import { CustomLinkPopover } from './CustomLinkPopover';
-
-function Wrapper({ children }: { children?: ReactNode }) {
- return (
-
- {children}
-
- );
-}
-
-describe('CustomLinkPopover', () => {
- const customLinks = [
- { id: '1', label: 'foo', url: 'http://elastic.co' },
- {
- id: '2',
- label: 'bar',
- url: 'http://elastic.co?service.name={{service.name}}',
- },
- ] as CustomLink[];
- const transaction = ({
- service: { name: 'foo.bar' },
- } as unknown) as Transaction;
- it('renders popover', () => {
- const component = render(
- ,
- { wrapper: Wrapper }
- );
- expectTextsInDocument(component, ['CUSTOM LINKS', 'Create', 'foo', 'bar']);
- });
-
- it('closes popover', () => {
- const handleCloseMock = jest.fn();
- const { getByText } = render(
- ,
- { wrapper: Wrapper }
- );
- expect(handleCloseMock).not.toHaveBeenCalled();
- act(() => {
- fireEvent.click(getByText('CUSTOM LINKS'));
- });
- expect(handleCloseMock).toHaveBeenCalled();
- });
-
- it('opens flyout to create new custom link', () => {
- const handleCreateCustomLinkClickMock = jest.fn();
- const { getByText } = render(
- ,
- { wrapper: Wrapper }
- );
- expect(handleCreateCustomLinkClickMock).not.toHaveBeenCalled();
- act(() => {
- fireEvent.click(getByText('Create'));
- });
- expect(handleCreateCustomLinkClickMock).toHaveBeenCalled();
- });
-});
diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkPopover.tsx b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkPopover.tsx
deleted file mode 100644
index 27c6aa82ac674b..00000000000000
--- a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkPopover.tsx
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License;
- * you may not use this file except in compliance with the Elastic License.
- */
-import React from 'react';
-import {
- EuiPopoverTitle,
- EuiFlexGroup,
- EuiFlexItem,
- EuiButtonEmpty,
-} from '@elastic/eui';
-import { i18n } from '@kbn/i18n';
-import styled from 'styled-components';
-import { CustomLink } from '../../../../../common/custom_link/custom_link_types';
-import { Transaction } from '../../../../../typings/es_schemas/ui/transaction';
-import { CustomLinkSection } from './CustomLinkSection';
-import { ManageCustomLink } from './ManageCustomLink';
-import { px } from '../../../../style/variables';
-
-const ScrollableContainer = styled.div`
- -ms-overflow-style: none;
- max-height: ${px(535)};
- overflow: scroll;
-`;
-
-export function CustomLinkPopover({
- customLinks,
- onCreateCustomLinkClick,
- onClose,
- transaction,
-}: {
- customLinks: CustomLink[];
- onCreateCustomLinkClick: () => void;
- onClose: () => void;
- transaction: Transaction;
-}) {
- return (
- <>
-
-
-
-
- {i18n.translate(
- 'xpack.apm.transactionActionMenu.customLink.popover.title',
- {
- defaultMessage: 'CUSTOM LINKS',
- }
- )}
-
-
-
-
-
-
-
-
-
-
- >
- );
-}
diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkSection.tsx b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkSection.tsx
deleted file mode 100644
index 6b421bc3703322..00000000000000
--- a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkSection.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License;
- * you may not use this file except in compliance with the Elastic License.
- */
-import { EuiLink, EuiText } from '@elastic/eui';
-import Mustache from 'mustache';
-import React from 'react';
-import styled from 'styled-components';
-import { CustomLink } from '../../../../../common/custom_link/custom_link_types';
-import { Transaction } from '../../../../../typings/es_schemas/ui/transaction';
-import { px, truncate, units } from '../../../../style/variables';
-
-const LinkContainer = styled.li`
- margin-top: ${px(units.half)};
- &:first-of-type {
- margin-top: 0;
- }
-`;
-
-const TruncateText = styled(EuiText)`
- font-weight: 500;
- line-height: ${px(units.unit)};
- ${truncate(px(units.unit * 25))}
-`;
-
-export function CustomLinkSection({
- customLinks,
- transaction,
-}: {
- customLinks: CustomLink[];
- transaction: Transaction;
-}) {
- return (
-
- {customLinks.map((link) => {
- let href = link.url;
- try {
- href = Mustache.render(link.url, transaction);
- } catch (e) {
- // ignores any error that happens
- }
- return (
-
-
- {link.label}
-
-
- );
- })}
-
- );
-}
diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.tsx b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.tsx
deleted file mode 100644
index d6484f52e84f98..00000000000000
--- a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/index.tsx
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License;
- * you may not use this file except in compliance with the Elastic License.
- */
-import React from 'react';
-import {
- EuiText,
- EuiIcon,
- EuiFlexGroup,
- EuiFlexItem,
- EuiSpacer,
- EuiButtonEmpty,
-} from '@elastic/eui';
-import { i18n } from '@kbn/i18n';
-import styled from 'styled-components';
-import { isEmpty } from 'lodash';
-import { CustomLink as CustomLinkType } from '../../../../../common/custom_link/custom_link_types';
-import { Transaction } from '../../../../../typings/es_schemas/ui/transaction';
-import {
- ActionMenuDivider,
- SectionSubtitle,
-} from '../../../../../../observability/public';
-import { CustomLinkSection } from './CustomLinkSection';
-import { ManageCustomLink } from './ManageCustomLink';
-import { FETCH_STATUS } from '../../../../hooks/useFetcher';
-import { LoadingStatePrompt } from '../../LoadingStatePrompt';
-import { px } from '../../../../style/variables';
-
-const SeeMoreButton = styled.button<{ show: boolean }>`
- display: ${(props) => (props.show ? 'flex' : 'none')};
- align-items: center;
- width: 100%;
- justify-content: space-between;
- &:hover {
- text-decoration: underline;
- }
-`;
-
-export function CustomLink({
- customLinks,
- status,
- onCreateCustomLinkClick,
- onSeeMoreClick,
- transaction,
-}: {
- customLinks: CustomLinkType[];
- status: FETCH_STATUS;
- onCreateCustomLinkClick: () => void;
- onSeeMoreClick: () => void;
- transaction: Transaction;
-}) {
- const renderEmptyPrompt = (
- <>
-
- {i18n.translate('xpack.apm.customLink.empty', {
- defaultMessage:
- 'No custom links found. Set up your own custom links, e.g., a link to a specific Dashboard or external link.',
- })}
-
-
-
- {i18n.translate('xpack.apm.customLink.buttom.create', {
- defaultMessage: 'Create custom link',
- })}
-
- >
- );
-
- const renderCustomLinkBottomSection = isEmpty(customLinks) ? (
- renderEmptyPrompt
- ) : (
- 3}>
-
- {i18n.translate('xpack.apm.transactionActionMenu.customLink.seeMore', {
- defaultMessage: 'See more',
- })}
-
-
-
- );
-
- return (
- <>
-
-
-
-
-
- {i18n.translate(
- 'xpack.apm.transactionActionMenu.customLink.section',
- {
- defaultMessage: 'Custom Links',
- }
- )}
-
-
-
-
-
-
-
-
-
- {i18n.translate('xpack.apm.transactionActionMenu.customLink.subtitle', {
- defaultMessage: 'Links will open in a new window.',
- })}
-
-
-
- {status === FETCH_STATUS.LOADING ? (
-
- ) : (
- renderCustomLinkBottomSection
- )}
- >
- );
-}
diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkSection.test.tsx b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkList.test.tsx
similarity index 82%
rename from x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkSection.test.tsx
rename to x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkList.test.tsx
index 88a4137b47200a..16d526bda2103a 100644
--- a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/CustomLinkSection.test.tsx
+++ b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkList.test.tsx
@@ -5,7 +5,7 @@
*/
import React from 'react';
import { render } from '@testing-library/react';
-import { CustomLinkSection } from './CustomLinkSection';
+import { CustomLinkList } from './CustomLinkList';
import {
expectTextsInDocument,
expectTextsNotInDocument,
@@ -13,7 +13,7 @@ import {
import { Transaction } from '../../../../../typings/es_schemas/ui/transaction';
import { CustomLink } from '../../../../../common/custom_link/custom_link_types';
-describe('CustomLinkSection', () => {
+describe('CustomLinkList', () => {
const customLinks = [
{ id: '1', label: 'foo', url: 'http://elastic.co' },
{
@@ -27,14 +27,14 @@ describe('CustomLinkSection', () => {
} as unknown) as Transaction;
it('shows links', () => {
const component = render(
-
+
);
expectTextsInDocument(component, ['foo', 'bar']);
});
it('doesnt show any links', () => {
const component = render(
-
+
);
expectTextsNotInDocument(component, ['foo', 'bar']);
});
diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkList.tsx b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkList.tsx
new file mode 100644
index 00000000000000..0304b850d6ceec
--- /dev/null
+++ b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkList.tsx
@@ -0,0 +1,47 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License;
+ * you may not use this file except in compliance with the Elastic License.
+ */
+
+import Mustache from 'mustache';
+import React from 'react';
+import {
+ SectionLinks,
+ SectionLink,
+} from '../../../../../../observability/public';
+import { CustomLink } from '../../../../../common/custom_link/custom_link_types';
+import { Transaction } from '../../../../../typings/es_schemas/ui/transaction';
+import { px, unit } from '../../../../style/variables';
+
+export function CustomLinkList({
+ customLinks,
+ transaction,
+}: {
+ customLinks: CustomLink[];
+ transaction: Transaction;
+}) {
+ return (
+
+ {customLinks.map((link) => {
+ const href = getHref(link, transaction);
+ return (
+
+ );
+ })}
+
+ );
+}
+
+function getHref(link: CustomLink, transaction: Transaction) {
+ try {
+ return Mustache.render(link.url, transaction);
+ } catch (e) {
+ return link.url;
+ }
+}
diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/ManageCustomLink.test.tsx b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkToolbar.test.tsx
similarity index 78%
rename from x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/ManageCustomLink.test.tsx
rename to x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkToolbar.test.tsx
index 29e93a47629b31..0241167aba1fb0 100644
--- a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/ManageCustomLink.test.tsx
+++ b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkToolbar.test.tsx
@@ -12,7 +12,7 @@ import {
expectTextsInDocument,
expectTextsNotInDocument,
} from '../../../../utils/testHelpers';
-import { ManageCustomLink } from './ManageCustomLink';
+import { CustomLinkToolbar } from './CustomLinkToolbar';
function Wrapper({ children }: { children?: ReactNode }) {
return (
@@ -22,23 +22,20 @@ function Wrapper({ children }: { children?: ReactNode }) {
);
}
-describe('ManageCustomLink', () => {
+describe('CustomLinkToolbar', () => {
it('renders with create button', () => {
- const component = render(
- ,
- { wrapper: Wrapper }
- );
+ const component = render(, {
+ wrapper: Wrapper,
+ });
expect(
component.getByLabelText('Custom links settings page')
).toBeInTheDocument();
expectTextsInDocument(component, ['Create']);
});
+
it('renders without create button', () => {
const component = render(
- ,
+ ,
{ wrapper: Wrapper }
);
expect(
@@ -46,12 +43,11 @@ describe('ManageCustomLink', () => {
).toBeInTheDocument();
expectTextsNotInDocument(component, ['Create']);
});
+
it('opens flyout to create new custom link', () => {
const handleCreateCustomLinkClickMock = jest.fn();
const { getByText } = render(
- ,
+ ,
{ wrapper: Wrapper }
);
expect(handleCreateCustomLinkClickMock).not.toHaveBeenCalled();
diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/ManageCustomLink.tsx b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkToolbar.tsx
similarity index 85%
rename from x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/ManageCustomLink.tsx
rename to x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkToolbar.tsx
index 09cdaa26004bb5..36b370b4069aea 100644
--- a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLink/ManageCustomLink.tsx
+++ b/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/CustomLinkMenuSection/CustomLinkToolbar.tsx
@@ -14,12 +14,12 @@ import {
import { i18n } from '@kbn/i18n';
import { APMLink } from '../../Links/apm/APMLink';
-export function ManageCustomLink({
- onCreateCustomLinkClick,
- showCreateCustomLinkButton = true,
+export function CustomLinkToolbar({
+ onClickCreate,
+ showCreateButton = true,
}: {
- onCreateCustomLinkClick: () => void;
- showCreateCustomLinkButton?: boolean;
+ onClickCreate: () => void;
+ showCreateButton?: boolean;
}) {
return (
@@ -41,12 +41,12 @@ export function ManageCustomLink({