World base map doesn’t show up in Geomap plugin. Black screen persists. Geographical points are displayed on the map layer, though!
What I expected is to see the base map by default.
We noticed this happened when we are running Grafana behind VPN or proxy server to access the internet.
Panel debug snapshot
{
"panels": [
{
"type": "geomap",
"title": "Reproduced with embedded data",
"gridPos": {
"h": 13,
"w": 15,
"x": 0,
"y": 0
},
"datasource": {
"type": "grafana",
"uid": "grafana"
},
"id": 2,
"targets": [
{
"refId": "A",
"datasource": {
"type": "grafana",
"uid": "grafana"
},
"queryType": "snapshot",
"snapshot": [
{
"schema": {
"refId": "A",
"fields": [
{
"name": "GeoLocation.country_name",
"config": {
"filterable": true
},
"type": "string"
},
{
"name": "Count",
"config": {},
"type": "number"
}
]
},
"data": {
"values": [
[
"Vietnam",
"Uzbekistan",
"Uruguay",
"United States",
"United Kingdom",
"United Arab Emirates",
"Ukraine",
"Turkey",
"Thailand",
"Taiwan"
],
[
13,
3,
4,
635701,
25856,
7,
76,
54,
55,
54
]
]
}
}
]
}
],
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": null,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
},
"color": {
"mode": "thresholds"
}
},
"overrides": []
},
"options": {
"view": {
"allLayers": true,
"id": "zero",
"lat": 0,
"lon": 0,
"zoom": 1
},
"controls": {
"showZoom": true,
"mouseWheelZoom": true,
"showAttribution": true,
"showScale": false,
"showMeasure": false,
"showDebug": false
},
"tooltip": {
"mode": "details"
},
"layers": [
{
"type": "markers",
"name": "Layer 1",
"config": {
"style": {
"size": {
"fixed": 5,
"min": 2,
"max": 15
},
"color": {
"fixed": "dark-green"
},
"opacity": 0.4,
"symbol": {
"mode": "fixed",
"fixed": "img/icons/marker/circle.svg"
},
"textConfig": {
"fontSize": 12,
"textAlign": "center",
"textBaseline": "middle",
"offsetX": 0,
"offsetY": 0
},
"rotation": {
"fixed": 0,
"mode": "mod",
"min": -360,
"max": 360
}
},
"showLegend": true
},
"location": {
"mode": "lookup",
"lookup": "GeoLocation.country_name"
},
"tooltip": true
}
],
"basemap": {
"type": "default",
"name": "Layer 0",
"config": {}
}
},
"pluginVersion": "9.5.13"
},
{
"gridPos": {
"h": 7,
"w": 9,
"x": 15,
"y": 0
},
"id": 5,
"options": {
"content": "<table width=\"100%\">\n <tr>\n <th width=\"2%\">Panel</th>\n <td >geomap @ 9.5.13</td>\n </tr>\n <tr>\n <th>Queries</th>\n <td>A[elasticsearch]</td>\n </tr>\n \n <tr><th>Data</th><td> 1 frames, 2 fields, 10 rows </td></tr>\n \n <tr>\n <th>Grafana</th>\n <td>9.5.13 (802385ecac) // Open Source</td>\n </tr>\n </table>",
"mode": "html"
},
"title": "Debug info",
"type": "text"
},
{
"id": 6,
"title": "Original Panel JSON",
"type": "text",
"gridPos": {
"h": 13,
"w": 9,
"x": 15,
"y": 7
},
"options": {
"content": "{\n \"type\": \"geomap\",\n \"title\": \"Panel Title\",\n \"gridPos\": {\n \"x\": 0,\n \"y\": 0,\n \"w\": 12,\n \"h\": 8\n },\n \"datasource\": {\n \"uid\": \"bbe8bb90-a6d3-467d-859a-69ef69439a79\",\n \"type\": \"elasticsearch\"\n },\n \"id\": 2,\n \"targets\": [\n {\n \"datasource\": {\n \"type\": \"elasticsearch\",\n \"uid\": \"bbe8bb90-a6d3-467d-859a-69ef69439a79\"\n },\n \"refId\": \"A\",\n \"query\": \"data.src_ip:*\",\n \"alias\": \"\",\n \"metrics\": [\n {\n \"type\": \"count\",\n \"id\": \"1\"\n }\n ],\n \"bucketAggs\": [\n {\n \"id\": \"2\",\n \"type\": \"terms\",\n \"settings\": {\n \"min_doc_count\": \"1\",\n \"size\": \"10\",\n \"order\": \"desc\",\n \"orderBy\": \"_term\"\n },\n \"field\": \"GeoLocation.country_name\"\n }\n ],\n \"timeField\": \"@timestamp\"\n }\n ],\n \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \"hideFrom\": {\n \"tooltip\": false,\n \"viz\": false,\n \"legend\": false\n }\n },\n \"mappings\": [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \"steps\": [\n {\n \"value\": null,\n \"color\": \"green\"\n },\n {\n \"value\": 80,\n \"color\": \"red\"\n }\n ]\n },\n \"color\": {\n \"mode\": \"thresholds\"\n }\n },\n \"overrides\": []\n },\n \"options\": {\n \"view\": {\n \"allLayers\": true,\n \"id\": \"zero\",\n \"lat\": 0,\n \"lon\": 0,\n \"zoom\": 1\n },\n \"controls\": {\n \"showZoom\": true,\n \"mouseWheelZoom\": true,\n \"showAttribution\": true,\n \"showScale\": false,\n \"showMeasure\": false,\n \"showDebug\": false\n },\n \"tooltip\": {\n \"mode\": \"details\"\n },\n \"layers\": [\n {\n \"type\": \"markers\",\n \"name\": \"Layer 1\",\n \"config\": {\n \"style\": {\n \"size\": {\n \"fixed\": 5,\n \"min\": 2,\n \"max\": 15\n },\n \"color\": {\n \"fixed\": \"dark-green\"\n },\n \"opacity\": 0.4,\n \"symbol\": {\n \"mode\": \"fixed\",\n \"fixed\": \"img/icons/marker/circle.svg\"\n },\n \"textConfig\": {\n \"fontSize\": 12,\n \"textAlign\": \"center\",\n \"textBaseline\": \"middle\",\n \"offsetX\": 0,\n \"offsetY\": 0\n },\n \"rotation\": {\n \"fixed\": 0,\n \"mode\": \"mod\",\n \"min\": -360,\n \"max\": 360\n }\n },\n \"showLegend\": true\n },\n \"location\": {\n \"mode\": \"lookup\",\n \"lookup\": \"GeoLocation.country_name\"\n },\n \"tooltip\": true\n }\n ],\n \"basemap\": {\n \"type\": \"default\",\n \"name\": \"Layer 0\",\n \"config\": {}\n }\n },\n \"pluginVersion\": \"9.5.13\"\n}",
"mode": "code",
"code": {
"language": "json",
"showLineNumbers": true,
"showMiniMap": true
}
}
},
{
"id": 3,
"title": "Data from panel above",
"type": "table",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"gridPos": {
"h": 7,
"w": 15,
"x": 0,
"y": 13
},
"options": {
"showTypeIcons": true
},
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 2,
"withTransforms": true,
"refId": "A"
}
]
}
],
"schemaVersion": 37,
"title": "Debug: Panel Title // 2024-02-19 16:39:24",
"tags": [
"debug",
"debug-geomap"
],
"time": {
"from": "2024-02-19T07:39:24.614Z",
"to": "2024-02-19T13:39:24.614Z"
}
}
Environment (with versions)?
Grafana: 9.5.13
OS: ubuntu 22.04
Browser: Google Chrome 119.x
Grafana platform?
A package manager (APT, YUM, BREW, etc.)
Datasource(s)?
Elasticsearch 7.10.2