va/Assignment2_part2/export.ndjson

5 lines
28 KiB
Plaintext

{"attributes":{"@created":"2023-05-03T15:39:34.479Z","@timestamp":"2023-05-03T20:41:07.414Z","assets":{},"colors":["#37988d","#c19628","#b83c6f","#3f9939","#1785b0","#ca5f35","#45bdb0","#f2bc33","#e74b8b","#4fbf48","#1ea6dc","#fd7643","#72cec3","#f5cc5d","#ec77a8","#7acf74","#4cbce4","#fd986f","#a1ded7","#f8dd91","#f2a4c5","#a6dfa2","#86d2ed","#fdba9f","#000000","#444444","#777777","#BBBBBB","#FFFFFF","rgba(255,255,255,0)"],"css":".canvasPage {\n\n}","height":720,"isWriteable":true,"name":"Part 2 Canvas","page":0,"pages":[{"elements":[{"expression":"selectFilter\n| essql \n query=\"SELECT cityRaw.keyword FROM restaurants_extended_index GROUP BY cityRaw.keyword\"\n| dropdownControl valueColumn=\"cityRaw.keyword\" filterColumn=\"cityRaw.keyword\"\n| render","filter":"","id":"element-368ea618-fc83-48bd-93ab-b8b71dc05ede","position":{"angle":0,"height":50,"left":20,"parent":null,"top":20,"width":500}},{"expression":"kibana\n| selectFilter\n| essql \n query=\"select ratingText.keyword as rating, avg(averageCostForTwo) as cost from restaurants_extended_index group by ratingText.keyword, round(aggregateRating) order by round(aggregateRating)\"\n| pointseries x=\"rating\" y=\"cost\"\n| plot defaultStyle={seriesStyle bars=0.75}\n| render","filter":null,"id":"element-24ae51b8-2d31-41b4-bb21-4c0f9afb9ca6","position":{"angle":0,"height":300,"left":558,"parent":null,"top":29,"width":500}},{"expression":"kibana\n| selectFilter\n| essql \n \"SELECT count(*) as count FROM restaurants_extended_index WHERE averageCostForTwo > 300\"\n| table\n| render","filter":null,"id":"element-5f5b892c-5f9f-4276-bacc-7a892b3a10a7","position":{"angle":0,"height":100,"left":180,"parent":null,"top":98,"width":200}}],"groups":[],"id":"page-5224f794-4642-4fc7-a056-16192807e5d3","style":{"background":"#FFF"},"transition":{}}],"variables":[],"width":1080},"coreMigrationVersion":"8.6.2","created_at":"2023-05-03T20:41:07.426Z","id":"workpad-07572e19-fa30-4f59-a905-5bc112ffb7b1","migrationVersion":{"canvas-workpad":"8.6.0"},"references":[],"type":"canvas-workpad","updated_at":"2023-05-03T20:41:07.426Z","version":"Wzc1MzUsMTFd"}
{"attributes":{"fieldAttrs":"{\"date\":{\"count\":2},\"aggregateRating\":{\"count\":3},\"averageCostForTwo\":{\"count\":3},\"city\":{\"count\":3},\"continent\":{\"count\":3},\"country\":{\"count\":3},\"location\":{\"count\":2},\"name\":{\"count\":3},\"ratingText\":{\"count\":3},\"votes\":{\"count\":3}}","fieldFormatMap":"{\"date\":{\"id\":\"date\",\"params\":{\"parsedUrl\":{\"origin\":\"http://localhost:5601\",\"pathname\":\"/app/maps/map\",\"basePath\":\"\"},\"pattern\":\"YYYY-MM-DD HH:mm:ss\",\"timezone\":\"Browser\"}},\"continent_scripted\":{\"id\":\"string\",\"params\":{\"parsedUrl\":{\"origin\":\"http://localhost:5601\",\"pathname\":\"/app/dev_tools\",\"basePath\":\"\"},\"pattern\":\"0,0.[000]\"}}}","fields":"[{\"count\":0,\"script\":\"doc['cityRaw.keyword'].value.substring(doc['cityRaw.keyword'].value.lastIndexOf(\\\"/\\\") + 1)\",\"lang\":\"painless\",\"name\":\"continent_scripted\",\"type\":\"string\",\"scripted\":true,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false,\"customLabel\":\"\"}]","name":"Assignment 2 - Part 2 - Claudio Maggioni","runtimeFieldMap":"{}","sourceFilters":"[]","timeFieldName":"date","title":"restaurants_extended_index*","typeMeta":"{}"},"coreMigrationVersion":"8.6.2","created_at":"2023-05-03T12:32:21.283Z","id":"705fe25a-022b-45b8-85cb-9979f4dd7169","migrationVersion":{"index-pattern":"8.0.0"},"references":[],"type":"index-pattern","updated_at":"2023-05-03T13:48:38.063Z","version":"WzY0NjYsOV0="}
{"attributes":{"columns":["name","city","country","continent","votes","aggregateRating","ratingText","averageCostForTwo"],"description":"","grid":{"columns":{"ratingText":{"width":132}}},"hideChart":false,"isTextBasedQuery":false,"kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"sort":[],"timeRestore":false,"title":"Restaurants Saved Search","usesAdHocDataView":false},"coreMigrationVersion":"8.6.2","created_at":"2023-05-03T13:18:39.889Z","id":"04e56bd0-e9b5-11ed-a022-9f420f915bc7","migrationVersion":{"search":"8.0.0"},"references":[{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"search","updated_at":"2023-05-03T13:18:39.889Z","version":"WzU3OTksOV0="}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[]}"},"optionsJSON":"{\"useMargins\":true,\"syncColors\":false,\"syncCursor\":true,\"syncTooltips\":false,\"hidePanelTitles\":false}","panelsJSON":"[{\"version\":\"8.6.2\",\"type\":\"lens\",\"gridData\":{\"x\":0,\"y\":0,\"w\":12,\"h\":8,\"i\":\"d6f14e3b-6b5c-4cb1-a014-303afcdb140f\"},\"panelIndex\":\"d6f14e3b-6b5c-4cb1-a014-303afcdb140f\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsLegacyMetric\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"705fe25a-022b-45b8-85cb-9979f4dd7169\",\"name\":\"indexpattern-datasource-layer-e2c0bbee-e1f7-4433-8cc7-08f987759da9\"}],\"state\":{\"visualization\":{\"layerId\":\"e2c0bbee-e1f7-4433-8cc7-08f987759da9\",\"accessor\":\"5ee7d0a3-f243-40a0-a07c-264dceffd5f6\",\"layerType\":\"data\"},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"e2c0bbee-e1f7-4433-8cc7-08f987759da9\":{\"columns\":{\"5ee7d0a3-f243-40a0-a07c-264dceffd5f6\":{\"label\":\"Count of id\",\"dataType\":\"number\",\"operationType\":\"count\",\"isBucketed\":false,\"scale\":\"ratio\",\"sourceField\":\"id\",\"params\":{\"emptyAsNull\":true}}},\"columnOrder\":[\"5ee7d0a3-f243-40a0-a07c-264dceffd5f6\"],\"incompleteColumns\":{},\"sampling\":1}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"enhancements\":{},\"hidePanelTitles\":false},\"title\":\"Restaurant count\"},{\"version\":\"8.6.2\",\"type\":\"visualization\",\"gridData\":{\"x\":12,\"y\":0,\"w\":12,\"h\":8,\"i\":\"a902fc4a-180c-4578-86ac-1b40a7597c04\"},\"panelIndex\":\"a902fc4a-180c-4578-86ac-1b40a7597c04\",\"embeddableConfig\":{\"savedVis\":{\"id\":\"\",\"title\":\"\",\"description\":\"\",\"type\":\"input_control_vis\",\"params\":{\"controls\":[{\"id\":\"1683117395041\",\"fieldName\":\"aggregateRating\",\"parent\":\"\",\"label\":\"Rating\",\"type\":\"range\",\"options\":{\"decimalPlaces\":0,\"step\":1},\"indexPatternRefName\":\"control_a902fc4a-180c-4578-86ac-1b40a7597c04_0_index_pattern\"}],\"updateFiltersOnChange\":false,\"useTimeFilter\":false,\"pinFilters\":false},\"uiState\":{},\"data\":{\"aggs\":[],\"searchSource\":{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[{\"meta\":{\"params\":{\"gte\":0,\"lte\":5},\"field\":\"aggregateRating\",\"key\":\"aggregateRating\",\"controlledBy\":\"1683117395041\",\"type\":\"range\",\"value\":{\"gte\":0,\"lte\":5},\"disabled\":false,\"negate\":false,\"alias\":null,\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"range\":{\"aggregateRating\":{\"gte\":0,\"lte\":5}}},\"$state\":{\"store\":\"appState\"}}]}}},\"hidePanelTitles\":false,\"enhancements\":{}},\"title\":\"Aggregate Rating Filter\"},{\"version\":\"8.6.2\",\"type\":\"visualization\",\"gridData\":{\"x\":24,\"y\":0,\"w\":24,\"h\":14,\"i\":\"8cc6902f-b128-40ad-beeb-0a50fa209073\"},\"panelIndex\":\"8cc6902f-b128-40ad-beeb-0a50fa209073\",\"embeddableConfig\":{\"savedVis\":{\"id\":\"\",\"title\":\"\",\"description\":\"\",\"type\":\"histogram\",\"params\":{\"type\":\"histogram\",\"grid\":{\"categoryLines\":false},\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"type\":\"category\",\"position\":\"bottom\",\"show\":true,\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"filter\":true,\"truncate\":100},\"title\":{},\"style\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"left\",\"show\":true,\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":true,\"truncate\":100},\"title\":{\"text\":\"Average Average Cost\"},\"style\":{}}],\"seriesParams\":[{\"show\":true,\"type\":\"histogram\",\"mode\":\"stacked\",\"data\":{\"label\":\"Average Average Cost\",\"id\":\"1\"},\"interpolate\":\"linear\",\"valueAxis\":\"ValueAxis-1\",\"drawLinesBetweenPoints\":true,\"lineWidth\":2,\"showCircles\":true,\"circlesRadius\":1}],\"radiusRatio\":0,\"addTooltip\":true,\"detailedTooltip\":true,\"palette\":{\"type\":\"palette\",\"name\":\"default\"},\"addLegend\":true,\"legendPosition\":\"right\",\"times\":[],\"addTimeMarker\":false,\"truncateLegend\":true,\"maxLegendLines\":1,\"labels\":{\"show\":true},\"thresholdLine\":{\"show\":false,\"value\":10,\"width\":1,\"style\":\"full\",\"color\":\"#E7664C\"}},\"uiState\":{},\"data\":{\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"avg\",\"params\":{\"field\":\"averageCostForTwo\",\"customLabel\":\"Average Average Cost\"},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"city.keyword\",\"orderBy\":\"1\",\"order\":\"desc\",\"size\":5,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"includeIsRegex\":true,\"excludeIsRegex\":true,\"json\":\"{\\n \\\"min_doc_count\\\": 25,\\n \\\"shard_size\\\": 10000\\n}\"},\"schema\":\"segment\"}],\"searchSource\":{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}}},\"hidePanelTitles\":false,\"enhancements\":{}},\"title\":\"Top Cities by Average Cost\"},{\"version\":\"8.6.2\",\"type\":\"lens\",\"gridData\":{\"x\":0,\"y\":8,\"w\":12,\"h\":6,\"i\":\"ff0607b5-efca-4756-808c-016a02372bbf\"},\"panelIndex\":\"ff0607b5-efca-4756-808c-016a02372bbf\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsLegacyMetric\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"705fe25a-022b-45b8-85cb-9979f4dd7169\",\"name\":\"indexpattern-datasource-layer-5c145398-4420-4bf7-9d9e-62c0e06fdf19\"},{\"type\":\"index-pattern\",\"name\":\"595942ba-e589-42b2-8b8e-34703d7b5931\",\"id\":\"705fe25a-022b-45b8-85cb-9979f4dd7169\"}],\"state\":{\"visualization\":{\"layerId\":\"5c145398-4420-4bf7-9d9e-62c0e06fdf19\",\"accessor\":\"10a241a9-7c37-46b5-b880-c025c0279c83\",\"layerType\":\"data\"},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[{\"meta\":{\"index\":\"595942ba-e589-42b2-8b8e-34703d7b5931\",\"type\":\"exists\",\"key\":\"city.keyword\",\"value\":\"exists\",\"disabled\":false,\"negate\":false,\"alias\":null},\"query\":{\"exists\":{\"field\":\"city.keyword\"}},\"$state\":{\"store\":\"appState\"}}],\"datasourceStates\":{\"formBased\":{\"layers\":{\"5c145398-4420-4bf7-9d9e-62c0e06fdf19\":{\"columns\":{\"10a241a9-7c37-46b5-b880-c025c0279c83\":{\"label\":\"Unique count of city.keyword\",\"dataType\":\"number\",\"operationType\":\"unique_count\",\"scale\":\"ratio\",\"sourceField\":\"city.keyword\",\"isBucketed\":false,\"params\":{\"emptyAsNull\":true}}},\"columnOrder\":[\"10a241a9-7c37-46b5-b880-c025c0279c83\"],\"incompleteColumns\":{},\"sampling\":1}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"hidePanelTitles\":false,\"enhancements\":{}},\"title\":\"City count\"},{\"version\":\"8.6.2\",\"type\":\"lens\",\"gridData\":{\"x\":12,\"y\":8,\"w\":12,\"h\":6,\"i\":\"5d81ee9b-ae3b-4cfb-921d-fabb34d24af2\"},\"panelIndex\":\"5d81ee9b-ae3b-4cfb-921d-fabb34d24af2\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsLegacyMetric\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"705fe25a-022b-45b8-85cb-9979f4dd7169\",\"name\":\"indexpattern-datasource-layer-cddf327b-cc17-427c-a9a8-7dccc7851ae6\"}],\"state\":{\"visualization\":{\"layerId\":\"cddf327b-cc17-427c-a9a8-7dccc7851ae6\",\"accessor\":\"5a39f252-f50a-4449-9a57-d5be46de3f88\",\"layerType\":\"data\"},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"cddf327b-cc17-427c-a9a8-7dccc7851ae6\":{\"columns\":{\"5a39f252-f50a-4449-9a57-d5be46de3f88\":{\"label\":\"Sum of votes\",\"dataType\":\"number\",\"operationType\":\"sum\",\"sourceField\":\"votes\",\"isBucketed\":false,\"scale\":\"ratio\",\"params\":{\"emptyAsNull\":true}}},\"columnOrder\":[\"5a39f252-f50a-4449-9a57-d5be46de3f88\"],\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"hidePanelTitles\":false,\"enhancements\":{}},\"title\":\"Total number of votes\"},{\"version\":\"8.6.2\",\"type\":\"lens\",\"gridData\":{\"x\":0,\"y\":14,\"w\":24,\"h\":15,\"i\":\"c5bc44f1-5812-41b2-b65a-e8ad5c96fcdb\"},\"panelIndex\":\"c5bc44f1-5812-41b2-b65a-e8ad5c96fcdb\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsXY\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"705fe25a-022b-45b8-85cb-9979f4dd7169\",\"name\":\"indexpattern-datasource-layer-5ead2e95-6e60-4534-93ec-a409cf716bdf\"}],\"state\":{\"visualization\":{\"legend\":{\"isVisible\":true,\"position\":\"bottom\",\"isInside\":true,\"shouldTruncate\":false},\"valueLabels\":\"hide\",\"fittingFunction\":\"Zero\",\"curveType\":\"LINEAR\",\"yTitle\":\"Number of Reviews\",\"axisTitlesVisibilitySettings\":{\"x\":true,\"yLeft\":true,\"yRight\":true},\"tickLabelsVisibilitySettings\":{\"x\":true,\"yLeft\":true,\"yRight\":true},\"labelsOrientation\":{\"x\":0,\"yLeft\":0,\"yRight\":0},\"gridlinesVisibilitySettings\":{\"x\":true,\"yLeft\":true,\"yRight\":true},\"preferredSeriesType\":\"line\",\"layers\":[{\"layerId\":\"5ead2e95-6e60-4534-93ec-a409cf716bdf\",\"accessors\":[\"8caf908c-73eb-4b31-b875-e50bbaea8b58\",\"002258d3-72fe-4871-9c66-8c2a75722788\"],\"position\":\"top\",\"seriesType\":\"line\",\"showGridlines\":false,\"layerType\":\"data\",\"xAccessor\":\"334369da-076c-4627-b9bc-fce39b4fe43c\"}],\"endValue\":\"None\",\"emphasizeFitting\":true},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"5ead2e95-6e60-4534-93ec-a409cf716bdf\":{\"columns\":{\"334369da-076c-4627-b9bc-fce39b4fe43c\":{\"label\":\"date\",\"dataType\":\"date\",\"operationType\":\"date_histogram\",\"sourceField\":\"date\",\"isBucketed\":true,\"scale\":\"interval\",\"params\":{\"interval\":\"1M\",\"includeEmptyRows\":true,\"dropPartials\":false}},\"8caf908c-73eb-4b31-b875-e50bbaea8b58\":{\"label\":\"Positive Reviews\",\"dataType\":\"number\",\"operationType\":\"sum\",\"sourceField\":\"votes\",\"isBucketed\":false,\"scale\":\"ratio\",\"filter\":{\"query\":\"aggregateRating > 3 and aggregateRating <= 5\",\"language\":\"kuery\"},\"params\":{\"emptyAsNull\":true},\"customLabel\":true},\"002258d3-72fe-4871-9c66-8c2a75722788\":{\"label\":\"Negative Reviews\",\"dataType\":\"number\",\"operationType\":\"sum\",\"sourceField\":\"votes\",\"isBucketed\":false,\"scale\":\"ratio\",\"filter\":{\"query\":\"aggregateRating <= 3\",\"language\":\"kuery\"},\"params\":{\"emptyAsNull\":true},\"customLabel\":true}},\"columnOrder\":[\"334369da-076c-4627-b9bc-fce39b4fe43c\",\"8caf908c-73eb-4b31-b875-e50bbaea8b58\",\"002258d3-72fe-4871-9c66-8c2a75722788\"],\"sampling\":1,\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"hidePanelTitles\":false,\"enhancements\":{}},\"title\":\"Number of reviews over time\"},{\"version\":\"8.6.2\",\"type\":\"lens\",\"gridData\":{\"x\":24,\"y\":14,\"w\":24,\"h\":15,\"i\":\"87b7f163-1581-4864-8cf8-ea6e64c37593\"},\"panelIndex\":\"87b7f163-1581-4864-8cf8-ea6e64c37593\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"visualizationType\":\"lnsXY\",\"type\":\"lens\",\"references\":[{\"type\":\"index-pattern\",\"id\":\"705fe25a-022b-45b8-85cb-9979f4dd7169\",\"name\":\"indexpattern-datasource-layer-5ead2e95-6e60-4534-93ec-a409cf716bdf\"}],\"state\":{\"visualization\":{\"legend\":{\"isVisible\":true,\"position\":\"bottom\",\"isInside\":true,\"shouldTruncate\":false},\"valueLabels\":\"hide\",\"fittingFunction\":\"Zero\",\"curveType\":\"LINEAR\",\"yTitle\":\"Number of Reviews\",\"hideEndzones\":false,\"axisTitlesVisibilitySettings\":{\"x\":true,\"yLeft\":true,\"yRight\":true},\"tickLabelsVisibilitySettings\":{\"x\":true,\"yLeft\":true,\"yRight\":true},\"labelsOrientation\":{\"x\":0,\"yLeft\":0,\"yRight\":0},\"gridlinesVisibilitySettings\":{\"x\":true,\"yLeft\":true,\"yRight\":true},\"preferredSeriesType\":\"line\",\"layers\":[{\"layerId\":\"5ead2e95-6e60-4534-93ec-a409cf716bdf\",\"accessors\":[\"002258d3-72fe-4871-9c66-8c2a75722788\",\"2ea3b2a8-c645-40fe-8c48-fbc394a958f9\"],\"position\":\"top\",\"seriesType\":\"line\",\"showGridlines\":false,\"layerType\":\"data\",\"xAccessor\":\"334369da-076c-4627-b9bc-fce39b4fe43c\",\"yConfig\":[{\"forAccessor\":\"002258d3-72fe-4871-9c66-8c2a75722788\",\"color\":\"#6092c0\"},{\"forAccessor\":\"2ea3b2a8-c645-40fe-8c48-fbc394a958f9\",\"color\":\"#d36086\"}]}]},\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filters\":[],\"datasourceStates\":{\"formBased\":{\"layers\":{\"5ead2e95-6e60-4534-93ec-a409cf716bdf\":{\"columns\":{\"334369da-076c-4627-b9bc-fce39b4fe43c\":{\"label\":\"date\",\"dataType\":\"date\",\"operationType\":\"date_histogram\",\"sourceField\":\"date\",\"isBucketed\":true,\"scale\":\"interval\",\"params\":{\"interval\":\"1M\",\"includeEmptyRows\":true,\"dropPartials\":false}},\"002258d3-72fe-4871-9c66-8c2a75722788\":{\"label\":\"Negative Reviews\",\"dataType\":\"number\",\"operationType\":\"sum\",\"sourceField\":\"votes\",\"isBucketed\":false,\"scale\":\"ratio\",\"filter\":{\"query\":\"aggregateRating <= 3\",\"language\":\"kuery\"},\"params\":{\"emptyAsNull\":true},\"customLabel\":true},\"2ea3b2a8-c645-40fe-8c48-fbc394a958f9\":{\"label\":\"All Reviews\",\"dataType\":\"number\",\"operationType\":\"sum\",\"sourceField\":\"votes\",\"isBucketed\":false,\"scale\":\"ratio\",\"params\":{\"emptyAsNull\":true},\"customLabel\":true}},\"columnOrder\":[\"334369da-076c-4627-b9bc-fce39b4fe43c\",\"002258d3-72fe-4871-9c66-8c2a75722788\",\"2ea3b2a8-c645-40fe-8c48-fbc394a958f9\"],\"sampling\":1,\"incompleteColumns\":{}}}},\"textBased\":{\"layers\":{}}},\"internalReferences\":[],\"adHocDataViews\":{}}},\"hidePanelTitles\":false,\"enhancements\":{}},\"title\":\"Number of negative reviews w.r.t. total reviews\"},{\"version\":\"8.6.2\",\"type\":\"map\",\"gridData\":{\"x\":0,\"y\":29,\"w\":48,\"h\":20,\"i\":\"99b80f92-2605-4edd-b2e1-1cca1044b226\"},\"panelIndex\":\"99b80f92-2605-4edd-b2e1-1cca1044b226\",\"embeddableConfig\":{\"attributes\":{\"title\":\"\",\"description\":\"\",\"layerListJSON\":\"[{\\\"locale\\\":\\\"autoselect\\\",\\\"sourceDescriptor\\\":{\\\"type\\\":\\\"EMS_TMS\\\",\\\"isAutoSelect\\\":true,\\\"lightModeDefault\\\":\\\"road_map_desaturated\\\"},\\\"id\\\":\\\"de466547-aadd-4842-abc9-a7342a6c6922\\\",\\\"label\\\":null,\\\"minZoom\\\":0,\\\"maxZoom\\\":24,\\\"alpha\\\":1,\\\"visible\\\":true,\\\"style\\\":{\\\"type\\\":\\\"EMS_VECTOR_TILE\\\",\\\"color\\\":\\\"\\\"},\\\"includeInFitToBounds\\\":true,\\\"type\\\":\\\"EMS_VECTOR_TILE\\\"},{\\\"sourceDescriptor\\\":{\\\"geoField\\\":\\\"location\\\",\\\"scalingType\\\":\\\"MVT\\\",\\\"id\\\":\\\"88991b9f-8ee4-4c11-80e9-c30393c36164\\\",\\\"type\\\":\\\"ES_SEARCH\\\",\\\"applyGlobalQuery\\\":true,\\\"applyGlobalTime\\\":true,\\\"applyForceRefresh\\\":true,\\\"filterByMapBounds\\\":true,\\\"tooltipProperties\\\":[],\\\"sortField\\\":\\\"\\\",\\\"sortOrder\\\":\\\"desc\\\",\\\"topHitsSplitField\\\":\\\"\\\",\\\"topHitsSize\\\":1,\\\"indexPatternRefName\\\":\\\"layer_1_source_index_pattern\\\"},\\\"id\\\":\\\"96c5c4c5-3462-4b16-96a9-c7151f8a2581\\\",\\\"label\\\":\\\"Number of votes\\\",\\\"minZoom\\\":0,\\\"maxZoom\\\":24,\\\"alpha\\\":1,\\\"visible\\\":true,\\\"style\\\":{\\\"type\\\":\\\"VECTOR\\\",\\\"properties\\\":{\\\"icon\\\":{\\\"type\\\":\\\"STATIC\\\",\\\"options\\\":{\\\"value\\\":\\\"restaurant\\\",\\\"svg\\\":\\\"<?xml version=\\\\\\\"1.0\\\\\\\" encoding=\\\\\\\"UTF-8\\\\\\\"?>\\\\n<svg version=\\\\\\\"1.1\\\\\\\" id=\\\\\\\"restaurant-15\\\\\\\" xmlns=\\\\\\\"http://www.w3.org/2000/svg\\\\\\\" width=\\\\\\\"15px\\\\\\\" height=\\\\\\\"15px\\\\\\\" viewBox=\\\\\\\"0 0 15 15\\\\\\\">\\\\n <path id=\\\\\\\"path11774\\\\\\\" d=\\\\\\\"M3.5,0l-1,5.5c-0.1464,0.805,1.7815,1.181,1.75,2L4,14c-0.0384,0.9993,1,1,1,1s1.0384-0.0007,1-1L5.75,7.5&#xA;&#x9;c-0.0314-0.8176,1.7334-1.1808,1.75-2L6.5,0H6l0.25,4L5.5,4.5L5.25,0h-0.5L4.5,4.5L3.75,4L4,0H3.5z M12,0&#xA;&#x9;c-0.7364,0-1.9642,0.6549-2.4551,1.6367C9.1358,2.3731,9,4.0182,9,5v2.5c0,0.8182,1.0909,1,1.5,1L10,14c-0.0905,0.9959,1,1,1,1&#xA;&#x9;s1,0,1-1V0z\\\\\\\"/>\\\\n</svg>\\\",\\\"label\\\":\\\"Restaurant\\\",\\\"iconSource\\\":\\\"MAKI\\\"}},\\\"fillColor\\\":{\\\"type\\\":\\\"DYNAMIC\\\",\\\"options\\\":{\\\"color\\\":\\\"Blue to Red\\\",\\\"colorCategory\\\":\\\"palette_0\\\",\\\"field\\\":{\\\"name\\\":\\\"votes\\\",\\\"origin\\\":\\\"source\\\"},\\\"fieldMetaOptions\\\":{\\\"isEnabled\\\":true,\\\"sigma\\\":3,\\\"percentiles\\\":[20,40,60,80]},\\\"type\\\":\\\"ORDINAL\\\",\\\"useCustomColorRamp\\\":false,\\\"dataMappingFunction\\\":\\\"PERCENTILES\\\"}},\\\"lineColor\\\":{\\\"type\\\":\\\"STATIC\\\",\\\"options\\\":{\\\"color\\\":\\\"#41937c\\\"}},\\\"lineWidth\\\":{\\\"type\\\":\\\"STATIC\\\",\\\"options\\\":{\\\"size\\\":0}},\\\"iconSize\\\":{\\\"type\\\":\\\"STATIC\\\",\\\"options\\\":{\\\"size\\\":6}},\\\"iconOrientation\\\":{\\\"type\\\":\\\"STATIC\\\",\\\"options\\\":{\\\"orientation\\\":0}},\\\"labelText\\\":{\\\"type\\\":\\\"STATIC\\\",\\\"options\\\":{\\\"value\\\":\\\"\\\"}},\\\"labelColor\\\":{\\\"type\\\":\\\"STATIC\\\",\\\"options\\\":{\\\"color\\\":\\\"#000000\\\"}},\\\"labelSize\\\":{\\\"type\\\":\\\"STATIC\\\",\\\"options\\\":{\\\"size\\\":14}},\\\"labelZoomRange\\\":{\\\"options\\\":{\\\"useLayerZoomRange\\\":true,\\\"minZoom\\\":0,\\\"maxZoom\\\":24}},\\\"labelBorderColor\\\":{\\\"type\\\":\\\"STATIC\\\",\\\"options\\\":{\\\"color\\\":\\\"#FFFFFF\\\"}},\\\"symbolizeAs\\\":{\\\"options\\\":{\\\"value\\\":\\\"icon\\\"}},\\\"labelBorderSize\\\":{\\\"options\\\":{\\\"size\\\":\\\"SMALL\\\"}}},\\\"isTimeAware\\\":true},\\\"includeInFitToBounds\\\":true,\\\"type\\\":\\\"MVT_VECTOR\\\",\\\"joins\\\":[],\\\"disableTooltips\\\":false}]\",\"mapStateJSON\":\"{\\\"adHocDataViews\\\":[],\\\"zoom\\\":1.73,\\\"center\\\":{\\\"lon\\\":12.46322,\\\"lat\\\":16.28314},\\\"timeFilters\\\":{\\\"from\\\":\\\"2015-09-01T00:00:00.000Z\\\",\\\"to\\\":\\\"2019-02-01T00:00:00.000Z\\\"},\\\"refreshConfig\\\":{\\\"isPaused\\\":false,\\\"interval\\\":10000},\\\"query\\\":{\\\"query\\\":\\\"\\\",\\\"language\\\":\\\"kuery\\\"},\\\"filters\\\":[],\\\"settings\\\":{\\\"autoFitToDataBounds\\\":false,\\\"backgroundColor\\\":\\\"#ffffff\\\",\\\"customIcons\\\":[],\\\"disableInteractive\\\":false,\\\"disableTooltipControl\\\":false,\\\"hideToolbarOverlay\\\":false,\\\"hideLayerControl\\\":false,\\\"hideViewControl\\\":false,\\\"initialLocation\\\":\\\"LAST_SAVED_LOCATION\\\",\\\"fixedLocation\\\":{\\\"lat\\\":0,\\\"lon\\\":0,\\\"zoom\\\":2},\\\"browserLocation\\\":{\\\"zoom\\\":2},\\\"keydownScrollZoom\\\":false,\\\"maxZoom\\\":24,\\\"minZoom\\\":0,\\\"showScaleControl\\\":false,\\\"showSpatialFilters\\\":true,\\\"showTimesliderToggleButton\\\":true,\\\"spatialFiltersAlpa\\\":0.3,\\\"spatialFiltersFillColor\\\":\\\"#DA8B45\\\",\\\"spatialFiltersLineColor\\\":\\\"#DA8B45\\\"}}\",\"uiStateJSON\":\"{\\\"isLayerTOCOpen\\\":true,\\\"openTOCDetails\\\":[\\\"96c5c4c5-3462-4b16-96a9-c7151f8a2581\\\"]}\"},\"mapCenter\":{\"lat\":14.073,\"lon\":0,\"zoom\":1.23},\"mapBuffer\":{\"minLon\":-270,\"minLat\":-66.51326,\"maxLon\":270,\"maxLat\":85.05113},\"isLayerTOCOpen\":true,\"openTOCDetails\":[\"96c5c4c5-3462-4b16-96a9-c7151f8a2581\"],\"hiddenLayers\":[],\"enhancements\":{},\"hidePanelTitles\":false},\"title\":\"Map of Restaurants\"},{\"version\":\"8.6.2\",\"type\":\"search\",\"gridData\":{\"x\":0,\"y\":49,\"w\":48,\"h\":25,\"i\":\"a1f597c2-b986-4c52-91b8-a679a2e1c766\"},\"panelIndex\":\"a1f597c2-b986-4c52-91b8-a679a2e1c766\",\"embeddableConfig\":{\"rowHeight\":1,\"enhancements\":{}},\"panelRefName\":\"panel_a1f597c2-b986-4c52-91b8-a679a2e1c766\"},{\"version\":\"8.6.2\",\"type\":\"visualization\",\"gridData\":{\"x\":0,\"y\":74,\"w\":48,\"h\":26,\"i\":\"d2a9bfff-cfce-4b44-a195-c98e5104a717\"},\"panelIndex\":\"d2a9bfff-cfce-4b44-a195-c98e5104a717\",\"embeddableConfig\":{\"savedVis\":{\"id\":\"\",\"title\":\"\",\"description\":\"\",\"type\":\"heatmap\",\"params\":{\"addLegend\":true,\"addTooltip\":true,\"colorSchema\":\"Blues\",\"colorsNumber\":4,\"colorsRange\":[],\"enableHover\":false,\"invertColors\":false,\"legendPosition\":\"right\",\"percentageMode\":false,\"setColorRange\":false,\"type\":\"heatmap\",\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"labels\":{\"color\":\"black\",\"overwriteColor\":false,\"rotate\":0,\"show\":false},\"scale\":{\"defaultYExtents\":false,\"type\":\"linear\"},\"show\":false,\"type\":\"value\"}]},\"uiState\":{\"vis\":{\"defaultColors\":{\"0 - 88\":\"rgb(247,251,255)\",\"88 - 175\":\"rgb(195,219,238)\",\"175 - 263\":\"rgb(109,174,213)\",\"263 - 350\":\"rgb(34,113,179)\"}}},\"data\":{\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"avg\",\"params\":{\"field\":\"votes\",\"customLabel\":\"Average # votes\"},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"range\",\"params\":{\"field\":\"aggregateRating\",\"ranges\":[{\"from\":0,\"to\":1},{\"from\":1,\"to\":2},{\"from\":2,\"to\":3},{\"from\":3,\"to\":4},{\"from\":4}],\"customLabel\":\"Rating\"},\"schema\":\"segment\"},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"params\":{\"field\":\"continent_scripted\",\"orderBy\":\"1\",\"order\":\"asc\",\"size\":5,\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"includeIsRegex\":true,\"excludeIsRegex\":true,\"json\":\"{\\n \\\"min_doc_count\\\": 0,\\n \\\"shard_size\\\": 10000\\n}\",\"customLabel\":\"Continent\"},\"schema\":\"group\"}],\"searchSource\":{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}}},\"enhancements\":{},\"vis\":null,\"hidePanelTitles\":false},\"title\":\"Average # Rates Per Continent Per Rating\"}]","timeRestore":false,"title":"Part 2 Dashboard","version":1},"coreMigrationVersion":"8.6.2","created_at":"2023-05-03T14:04:02.144Z","id":"c31e0820-e9ae-11ed-a022-9f420f915bc7","migrationVersion":{"dashboard":"8.6.0"},"references":[{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"d6f14e3b-6b5c-4cb1-a014-303afcdb140f:indexpattern-datasource-layer-e2c0bbee-e1f7-4433-8cc7-08f987759da9","type":"index-pattern"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"a902fc4a-180c-4578-86ac-1b40a7597c04:kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index","type":"index-pattern"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"a902fc4a-180c-4578-86ac-1b40a7597c04:control_a902fc4a-180c-4578-86ac-1b40a7597c04_0_index_pattern","type":"index-pattern"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"8cc6902f-b128-40ad-beeb-0a50fa209073:kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"ff0607b5-efca-4756-808c-016a02372bbf:indexpattern-datasource-layer-5c145398-4420-4bf7-9d9e-62c0e06fdf19","type":"index-pattern"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"ff0607b5-efca-4756-808c-016a02372bbf:595942ba-e589-42b2-8b8e-34703d7b5931","type":"index-pattern"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"5d81ee9b-ae3b-4cfb-921d-fabb34d24af2:indexpattern-datasource-layer-cddf327b-cc17-427c-a9a8-7dccc7851ae6","type":"index-pattern"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"c5bc44f1-5812-41b2-b65a-e8ad5c96fcdb:indexpattern-datasource-layer-5ead2e95-6e60-4534-93ec-a409cf716bdf","type":"index-pattern"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"87b7f163-1581-4864-8cf8-ea6e64c37593:indexpattern-datasource-layer-5ead2e95-6e60-4534-93ec-a409cf716bdf","type":"index-pattern"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"99b80f92-2605-4edd-b2e1-1cca1044b226:layer_1_source_index_pattern","type":"index-pattern"},{"id":"04e56bd0-e9b5-11ed-a022-9f420f915bc7","name":"a1f597c2-b986-4c52-91b8-a679a2e1c766:panel_a1f597c2-b986-4c52-91b8-a679a2e1c766","type":"search"},{"id":"705fe25a-022b-45b8-85cb-9979f4dd7169","name":"d2a9bfff-cfce-4b44-a195-c98e5104a717:kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"dashboard","updated_at":"2023-05-03T14:04:02.144Z","version":"WzY2NjQsOV0="}
{"excludedObjects":[],"excludedObjectsCount":0,"exportedCount":4,"missingRefCount":0,"missingReferences":[]}