grafana: fix apiary geomap and make it full-width
Add gazetteer reference for country code lookup resolution. Remove unnecessary reduce transformation. Make geomap panel full-width (24 cols) and taller (h=10) on its own row. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -213,7 +213,7 @@
|
|||||||
"id": 7,
|
"id": 7,
|
||||||
"title": "Sessions by Shell",
|
"title": "Sessions by Shell",
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 12},
|
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 22},
|
||||||
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
"id": 8,
|
"id": 8,
|
||||||
"title": "Attempts by Country",
|
"title": "Attempts by Country",
|
||||||
"type": "geomap",
|
"type": "geomap",
|
||||||
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 12},
|
"gridPos": {"h": 10, "w": 24, "x": 0, "y": 12},
|
||||||
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
@@ -302,26 +302,19 @@
|
|||||||
},
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"mode": "lookup",
|
"mode": "lookup",
|
||||||
"lookup": "country"
|
"lookup": "country",
|
||||||
|
"gazetteer": "public/gazetteer/countries.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"transformations": [
|
|
||||||
{
|
|
||||||
"id": "reduce",
|
|
||||||
"options": {
|
|
||||||
"reducers": ["lastNotNull"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Authentication attempts by country (geo lookup from country code)"
|
"description": "Authentication attempts by country (geo lookup from country code)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 9,
|
"id": 9,
|
||||||
"title": "Session Duration Distribution",
|
"title": "Session Duration Distribution",
|
||||||
"type": "heatmap",
|
"type": "heatmap",
|
||||||
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 20},
|
"gridPos": {"h": 8, "w": 24, "x": 0, "y": 30},
|
||||||
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
@@ -361,7 +354,7 @@
|
|||||||
"id": 10,
|
"id": 10,
|
||||||
"title": "Commands Executed by Shell",
|
"title": "Commands Executed by Shell",
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 20},
|
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 22},
|
||||||
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user