{"version":4,"terraform_version":"1.11.6","serial":1,"lineage":"1a7f6051-2159-bd2f-4e2e-c7e296a00e77","outputs":{},"resources":[{"mode":"managed","type":"grafana_dashboard","name":"dashboards","provider":"provider[\"registry.opentofu.org/grafana/grafana\"]","instances":[{"index_key":"loki_nginx_dash","schema_version":1,"attributes":{"config_json":"{\"annotations\":{\"list\":[{\"builtIn\":1,\"datasource\":{\"type\":\"datasource\",\"uid\":\"grafana\"},\"enable\":true,\"hide\":true,\"iconColor\":\"rgba(0, 211, 255, 1)\",\"name\":\"Annotations \\u0026 Alerts\",\"type\":\"dashboard\"}]},\"description\":\"Loki v2+ showcase using JSON NGINX access logs.\",\"editable\":true,\"fiscalYearStartMonth\":0,\"graphTooltip\":0,\"links\":[],\"panels\":[{\"collapsed\":false,\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":0},\"panels\":[],\"title\":\"KPI's\",\"type\":\"row\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"purple\",\"value\":null}]},\"unit\":\"short\"},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":5,\"x\":0,\"y\":1},\"hideTimeOverride\":false,\"maxDataPoints\":300,\"options\":{\"colorMode\":\"background\",\"graphMode\":\"area\",\"justifyMode\":\"center\",\"orientation\":\"auto\",\"percentChangeColorMode\":\"standard\",\"reduceOptions\":{\"calcs\":[\"sum\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"text\":{},\"textMode\":\"value\",\"wideLayout\":true},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"expr\":\"sum by(host) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"}[$__interval]))  \",\"legendFormat\":\"\",\"refId\":\"A\"}],\"timeFrom\":\"24h\",\"title\":\"Total requests  \",\"type\":\"stat\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[],\"thresholds\":{\"mode\":\"percentage\",\"steps\":[{\"color\":\"rgba(110, 157, 228, 0.76)\",\"value\":null},{\"color\":\"rgba(73, 124, 202, 1)\",\"value\":20}]},\"unit\":\"short\"},\"overrides\":[]},\"gridPos\":{\"h\":8,\"w\":7,\"x\":5,\"y\":1},\"maxDataPoints\":20,\"options\":{\"colorMode\":\"background\",\"graphMode\":\"area\",\"justifyMode\":\"auto\",\"orientation\":\"auto\",\"percentChangeColorMode\":\"standard\",\"reduceOptions\":{\"calcs\":[\"sum\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"text\":{},\"textMode\":\"auto\",\"wideLayout\":true},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"expr\":\"sum by (status) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json |  __error__=\\\"\\\" [$__interval]))\",\"instant\":false,\"legendFormat\":\"HTTP Status: {{status}}\",\"range\":true,\"refId\":\"A\"}],\"title\":\"Requests per status code\",\"type\":\"stat\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"decimals\":0,\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"semi-dark-orange\",\"value\":null}]},\"unit\":\"decbytes\"},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":3,\"x\":12,\"y\":1},\"maxDataPoints\":1,\"options\":{\"colorMode\":\"background\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"auto\",\"percentChangeColorMode\":\"standard\",\"reduceOptions\":{\"calcs\":[\"sum\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"text\":{},\"textMode\":\"auto\",\"wideLayout\":true},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"expr\":\"bytes_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"}[$__interval])\",\"instant\":true,\"legendFormat\":\"$label_value\",\"range\":false,\"refId\":\"A\"}],\"title\":\"NGINX logs in bytes\",\"type\":\"stat\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"purple\",\"value\":null}]},\"unit\":\"decbytes\"},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":3,\"x\":15,\"y\":1},\"maxDataPoints\":1,\"options\":{\"colorMode\":\"background\",\"graphMode\":\"none\",\"justifyMode\":\"center\",\"orientation\":\"auto\",\"percentChangeColorMode\":\"standard\",\"reduceOptions\":{\"calcs\":[\"sum\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"text\":{},\"textMode\":\"value\",\"wideLayout\":true},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"editorMode\":\"code\",\"expr\":\"sum by (host) (sum_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json | unwrap size |  __error__=\\\"\\\" [$__interval]))\",\"instant\":true,\"legendFormat\":\"Bytes sent\",\"queryType\":\"range\",\"range\":false,\"refId\":\"A\"}],\"title\":\"Total Bytes Sent\",\"type\":\"stat\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[],\"max\":100,\"min\":0,\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"purple\",\"value\":null}]},\"unit\":\"percent\"},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":6,\"x\":18,\"y\":1},\"hideTimeOverride\":true,\"interval\":\"10m\",\"maxDataPoints\":1,\"options\":{\"colorMode\":\"background\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"auto\",\"percentChangeColorMode\":\"standard\",\"reduceOptions\":{\"calcs\":[\"last\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"text\":{},\"textMode\":\"value\",\"wideLayout\":true},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"expr\":\"sum(count_over_time(({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} |= \\\"Googlebot\\\")[$__interval])) / (sum(count_over_time(({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} != \\\"Googlebot\\\")[$__interval])) / 100)\",\"instant\":true,\"legendFormat\":\"\",\"range\":false,\"refId\":\"A\"}],\"timeFrom\":\"1h\",\"title\":\"% of requests by Googlebot\",\"type\":\"stat\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"purple\",\"value\":null}]}},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":5,\"x\":0,\"y\":5},\"interval\":\"5m\",\"options\":{\"colorMode\":\"background\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"auto\",\"percentChangeColorMode\":\"standard\",\"reduceOptions\":{\"calcs\":[\"mean\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"text\":{},\"textMode\":\"value\",\"wideLayout\":true},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"expr\":\"count(sum by (remote_addr) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json |  __error__=\\\"\\\" [$__interval])))\",\"instant\":true,\"legendFormat\":\"\",\"range\":false,\"refId\":\"A\"}],\"timeFrom\":\"5m\",\"title\":\"Realtime visitors \",\"type\":\"stat\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"decimals\":0,\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"semi-dark-orange\",\"value\":null}]},\"unit\":\"short\"},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":3,\"x\":12,\"y\":5},\"maxDataPoints\":1,\"options\":{\"colorMode\":\"background\",\"graphMode\":\"none\",\"justifyMode\":\"auto\",\"orientation\":\"auto\",\"percentChangeColorMode\":\"standard\",\"reduceOptions\":{\"calcs\":[\"sum\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"text\":{},\"textMode\":\"auto\",\"wideLayout\":true},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"expr\":\"count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"}[$__interval])\",\"instant\":true,\"range\":false,\"refId\":\"A\"}],\"title\":\"# NGINX log lines\",\"type\":\"stat\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"decimals\":1,\"mappings\":[],\"max\":100,\"min\":0,\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"purple\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"percent\"},\"overrides\":[]},\"gridPos\":{\"h\":4,\"w\":3,\"x\":15,\"y\":5},\"hideTimeOverride\":true,\"maxDataPoints\":1,\"options\":{\"colorMode\":\"background\",\"graphMode\":\"none\",\"justifyMode\":\"center\",\"orientation\":\"auto\",\"percentChangeColorMode\":\"standard\",\"reduceOptions\":{\"calcs\":[\"max\"],\"fields\":\"\",\"values\":false},\"showPercentChange\":false,\"text\":{},\"textMode\":\"value\",\"wideLayout\":true},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"expr\":\"sum(count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json | status \\u003e= 500 |__error__=\\\"\\\"[$__interval])) / (sum(count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json | __error__=\\\"\\\"[$__interval]))/ 100)\",\"instant\":false,\"legendFormat\":\"\",\"range\":true,\"refId\":\"A\"}],\"timeFrom\":\"1h\",\"title\":\"% of 5xx requests \",\"type\":\"stat\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"custom\":{\"hideFrom\":{\"legend\":false,\"tooltip\":false,\"viz\":false}},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"#96D98D\",\"value\":null},{\"color\":\"#73BF69\",\"value\":5},{\"color\":\"#56A64B\",\"value\":10}]}},\"overrides\":[]},\"gridPos\":{\"h\":11,\"w\":12,\"x\":0,\"y\":9},\"maxDataPoints\":1,\"options\":{\"basemap\":{\"config\":{\"showLabels\":true,\"theme\":\"auto\"},\"name\":\"Basemap\",\"type\":\"carto\"},\"controls\":{\"mouseWheelZoom\":false,\"showAttribution\":true,\"showDebug\":false,\"showMeasure\":false,\"showScale\":false,\"showZoom\":true},\"layers\":[{\"config\":{\"showLegend\":false,\"style\":{\"color\":{\"fixed\":\"dark-green\"},\"opacity\":0.4,\"rotation\":{\"fixed\":0,\"max\":360,\"min\":-360,\"mode\":\"mod\"},\"size\":{\"field\":\"Total\",\"fixed\":5,\"max\":50,\"min\":15},\"symbol\":{\"fixed\":\"img/icons/marker/circle.svg\",\"mode\":\"fixed\"},\"symbolAlign\":{\"horizontal\":\"center\",\"vertical\":\"center\"},\"textConfig\":{\"fontSize\":12,\"offsetX\":0,\"offsetY\":0,\"textAlign\":\"center\",\"textBaseline\":\"middle\"}}},\"location\":{\"gazetteer\":\"public/gazetteer/countries.json\",\"mode\":\"lookup\"},\"name\":\"Layer 0\",\"tooltip\":true,\"type\":\"markers\"}],\"tooltip\":{\"mode\":\"details\"},\"view\":{\"allLayers\":true,\"id\":\"zero\",\"lat\":0,\"lon\":0,\"zoom\":2}},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"editorMode\":\"code\",\"expr\":\"sum by (geoip_country_code) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json | geoip_country_code != \\\"\\\" | __error__=\\\"\\\" [$__interval]))\",\"instant\":false,\"legendFormat\":\"{{geoip_country_code}}\",\"queryType\":\"range\",\"range\":true,\"refId\":\"A\"}],\"title\":\"Requests per Country\",\"transformations\":[{\"id\":\"reduce\",\"options\":{\"reducers\":[\"sum\"]}}],\"type\":\"geomap\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"continuous-BlPu\"},\"custom\":{\"align\":\"center\",\"cellOptions\":{\"type\":\"auto\"},\"filterable\":true,\"inspect\":false},\"mappings\":[{\"options\":{\"AD\":{\"color\":\"transparent\",\"index\":0,\"text\":\"AD 🇦🇩\"},\"AE\":{\"color\":\"transparent\",\"index\":1,\"text\":\"AE 🇦🇪\"},\"AF\":{\"color\":\"transparent\",\"index\":2,\"text\":\"AF 🇦🇫\"},\"AG\":{\"color\":\"transparent\",\"index\":3,\"text\":\"AG 🇦🇬\"},\"AI\":{\"color\":\"transparent\",\"index\":4,\"text\":\"AI 🇦🇮\"},\"AL\":{\"color\":\"transparent\",\"index\":5,\"text\":\"AL 🇦🇱\"},\"AM\":{\"color\":\"transparent\",\"index\":6,\"text\":\"AM 🇦🇲\"},\"AO\":{\"color\":\"transparent\",\"index\":7,\"text\":\"AO 🇦🇴\"},\"AQ\":{\"color\":\"transparent\",\"index\":8,\"text\":\"AQ 🇦🇶\"},\"AR\":{\"color\":\"transparent\",\"index\":9,\"text\":\"AR 🇦🇷\"},\"AS\":{\"color\":\"transparent\",\"index\":10,\"text\":\"AS 🇦🇸\"},\"AT\":{\"color\":\"transparent\",\"index\":11,\"text\":\"AT 🇦🇹\"},\"AU\":{\"color\":\"transparent\",\"index\":12,\"text\":\"AU 🇦🇺\"},\"AW\":{\"color\":\"transparent\",\"index\":13,\"text\":\"AW 🇦🇼\"},\"AX\":{\"color\":\"transparent\",\"index\":14,\"text\":\"AX 🇦🇽\"},\"AZ\":{\"color\":\"transparent\",\"index\":15,\"text\":\"AZ 🇦🇿\"},\"BA\":{\"color\":\"transparent\",\"index\":16,\"text\":\"BA 🇧🇦\"},\"BB\":{\"color\":\"transparent\",\"index\":17,\"text\":\"BB 🇧🇧\"},\"BD\":{\"color\":\"transparent\",\"index\":18,\"text\":\"BD 🇧🇩\"},\"BE\":{\"color\":\"transparent\",\"index\":19,\"text\":\"BE 🇧🇪\"},\"BF\":{\"color\":\"transparent\",\"index\":20,\"text\":\"BF 🇧🇫\"},\"BG\":{\"color\":\"transparent\",\"index\":21,\"text\":\"BG 🇧🇬\"},\"BH\":{\"color\":\"transparent\",\"index\":22,\"text\":\"BH 🇧🇭\"},\"BI\":{\"color\":\"transparent\",\"index\":23,\"text\":\"BI 🇧🇮\"},\"BJ\":{\"color\":\"transparent\",\"index\":24,\"text\":\"BJ 🇧🇯\"},\"BL\":{\"color\":\"transparent\",\"index\":25,\"text\":\"BL 🇧🇱\"},\"BM\":{\"color\":\"transparent\",\"index\":26,\"text\":\"BM 🇧🇲\"},\"BN\":{\"color\":\"transparent\",\"index\":27,\"text\":\"BN 🇧🇳\"},\"BO\":{\"color\":\"transparent\",\"index\":28,\"text\":\"BO 🇧🇴\"},\"BQ\":{\"color\":\"transparent\",\"index\":29,\"text\":\"BQ 🇧🇶\"},\"BR\":{\"color\":\"transparent\",\"index\":30,\"text\":\"BR 🇧🇷\"},\"BS\":{\"color\":\"transparent\",\"index\":31,\"text\":\"BS 🇧🇸\"},\"BT\":{\"color\":\"transparent\",\"index\":32,\"text\":\"BT 🇧🇹\"},\"BV\":{\"color\":\"transparent\",\"index\":33,\"text\":\"BV 🇧🇻\"},\"BW\":{\"color\":\"transparent\",\"index\":34,\"text\":\"BW 🇧🇼\"},\"BY\":{\"color\":\"transparent\",\"index\":35,\"text\":\"BY 🇧🇾\"},\"BZ\":{\"color\":\"transparent\",\"index\":36,\"text\":\"BZ 🇧🇿\"},\"CA\":{\"color\":\"transparent\",\"index\":37,\"text\":\"CA 🇨🇦\"},\"CC\":{\"color\":\"transparent\",\"index\":38,\"text\":\"CC 🇨🇨\"},\"CD\":{\"color\":\"transparent\",\"index\":39,\"text\":\"CD 🇨🇩\"},\"CF\":{\"color\":\"transparent\",\"index\":40,\"text\":\"CF 🇨🇫\"},\"CG\":{\"color\":\"transparent\",\"index\":41,\"text\":\"CG 🇨🇬\"},\"CH\":{\"color\":\"transparent\",\"index\":42,\"text\":\"CH 🇨🇭\"},\"CI\":{\"color\":\"transparent\",\"index\":43,\"text\":\"CI 🇨🇮\"},\"CK\":{\"color\":\"transparent\",\"index\":44,\"text\":\"CK 🇨🇰\"},\"CL\":{\"color\":\"transparent\",\"index\":45,\"text\":\"CL 🇨🇱\"},\"CM\":{\"color\":\"transparent\",\"index\":46,\"text\":\"CM 🇨🇲\"},\"CN\":{\"color\":\"transparent\",\"index\":47,\"text\":\"CN 🇨🇳\"},\"CO\":{\"color\":\"transparent\",\"index\":48,\"text\":\"CO 🇨🇴\"},\"CR\":{\"color\":\"transparent\",\"index\":49,\"text\":\"CR 🇨🇷\"},\"CU\":{\"color\":\"transparent\",\"index\":50,\"text\":\"CU 🇨🇺\"},\"CV\":{\"color\":\"transparent\",\"index\":51,\"text\":\"CV 🇨🇻\"},\"CW\":{\"color\":\"transparent\",\"index\":52,\"text\":\"CW 🇨🇼\"},\"CX\":{\"color\":\"transparent\",\"index\":53,\"text\":\"CX 🇨🇽\"},\"CY\":{\"color\":\"transparent\",\"index\":54,\"text\":\"CY 🇨🇾\"},\"CZ\":{\"color\":\"transparent\",\"index\":55,\"text\":\"CZ 🇨🇿\"},\"DE\":{\"color\":\"transparent\",\"index\":56,\"text\":\"DE 🇩🇪\"},\"DJ\":{\"color\":\"transparent\",\"index\":57,\"text\":\"DJ 🇩🇯\"},\"DK\":{\"color\":\"transparent\",\"index\":58,\"text\":\"DK 🇩🇰\"},\"DM\":{\"color\":\"transparent\",\"index\":59,\"text\":\"DM 🇩🇲\"},\"DO\":{\"color\":\"transparent\",\"index\":60,\"text\":\"DO 🇩🇴\"},\"DZ\":{\"color\":\"transparent\",\"index\":61,\"text\":\"DZ 🇩🇿\"},\"EC\":{\"color\":\"transparent\",\"index\":62,\"text\":\"EC 🇪🇨\"},\"EE\":{\"color\":\"transparent\",\"index\":63,\"text\":\"EE 🇪🇪\"},\"EG\":{\"color\":\"transparent\",\"index\":64,\"text\":\"EG 🇪🇬\"},\"EH\":{\"color\":\"transparent\",\"index\":65,\"text\":\"EH 🇪🇭\"},\"ER\":{\"color\":\"transparent\",\"index\":66,\"text\":\"ER 🇪🇷\"},\"ES\":{\"color\":\"transparent\",\"index\":67,\"text\":\"ES 🇪🇸\"},\"ET\":{\"color\":\"transparent\",\"index\":68,\"text\":\"ET 🇪🇹\"},\"FI\":{\"color\":\"transparent\",\"index\":69,\"text\":\"FI 🇫🇮\"},\"FJ\":{\"color\":\"transparent\",\"index\":70,\"text\":\"FJ 🇫🇯\"},\"FK\":{\"color\":\"transparent\",\"index\":71,\"text\":\"FK 🇫🇰\"},\"FM\":{\"color\":\"transparent\",\"index\":72,\"text\":\"FM 🇫🇲\"},\"FO\":{\"color\":\"transparent\",\"index\":73,\"text\":\"FO 🇫🇴\"},\"FR\":{\"color\":\"transparent\",\"index\":74,\"text\":\"FR 🇫🇷\"},\"GA\":{\"color\":\"transparent\",\"index\":75,\"text\":\"GA 🇬🇦\"},\"GB\":{\"color\":\"transparent\",\"index\":76,\"text\":\"GB 🇬🇧\"},\"GD\":{\"color\":\"transparent\",\"index\":77,\"text\":\"GD 🇬🇩\"},\"GE\":{\"color\":\"transparent\",\"index\":78,\"text\":\"GE 🇬🇪\"},\"GF\":{\"color\":\"transparent\",\"index\":79,\"text\":\"GF 🇬🇫\"},\"GG\":{\"color\":\"transparent\",\"index\":80,\"text\":\"GG 🇬🇬\"},\"GH\":{\"color\":\"transparent\",\"index\":81,\"text\":\"GH 🇬🇭\"},\"GI\":{\"color\":\"transparent\",\"index\":82,\"text\":\"GI 🇬🇮\"},\"GL\":{\"color\":\"transparent\",\"index\":83,\"text\":\"GL 🇬🇱\"},\"GM\":{\"color\":\"transparent\",\"index\":84,\"text\":\"GM 🇬🇲\"},\"GN\":{\"color\":\"transparent\",\"index\":85,\"text\":\"GN 🇬🇳\"},\"GP\":{\"color\":\"transparent\",\"index\":86,\"text\":\"GP 🇬🇵\"},\"GQ\":{\"color\":\"transparent\",\"index\":87,\"text\":\"GQ 🇬🇶\"},\"GR\":{\"color\":\"transparent\",\"index\":88,\"text\":\"GR 🇬🇷\"},\"GS\":{\"color\":\"transparent\",\"index\":89,\"text\":\"GS 🇬🇸\"},\"GT\":{\"color\":\"transparent\",\"index\":90,\"text\":\"GT 🇬🇹\"},\"GU\":{\"color\":\"transparent\",\"index\":91,\"text\":\"GU 🇬🇺\"},\"GW\":{\"color\":\"transparent\",\"index\":92,\"text\":\"GW 🇬🇼\"},\"GY\":{\"color\":\"transparent\",\"index\":93,\"text\":\"GY 🇬🇾\"},\"HK\":{\"color\":\"transparent\",\"index\":94,\"text\":\"HK 🇭🇰\"},\"HM\":{\"color\":\"transparent\",\"index\":95,\"text\":\"HM 🇭🇲\"},\"HN\":{\"color\":\"transparent\",\"index\":96,\"text\":\"HN 🇭🇳\"},\"HR\":{\"color\":\"transparent\",\"index\":97,\"text\":\"HR 🇭🇷\"},\"HT\":{\"color\":\"transparent\",\"index\":98,\"text\":\"HT 🇭🇹\"},\"HU\":{\"color\":\"transparent\",\"index\":99,\"text\":\"HU 🇭🇺\"},\"ID\":{\"color\":\"transparent\",\"index\":100,\"text\":\"ID 🇮🇩\"},\"IE\":{\"color\":\"transparent\",\"index\":101,\"text\":\"IE 🇮🇪\"},\"IL\":{\"color\":\"transparent\",\"index\":102,\"text\":\"IL 🇮🇱\"},\"IM\":{\"color\":\"transparent\",\"index\":103,\"text\":\"IM 🇮🇲\"},\"IN\":{\"color\":\"transparent\",\"index\":104,\"text\":\"IN 🇮🇳\"},\"IO\":{\"color\":\"transparent\",\"index\":105,\"text\":\"IO 🇮🇴\"},\"IQ\":{\"color\":\"transparent\",\"index\":106,\"text\":\"IQ 🇮🇶\"},\"IR\":{\"color\":\"transparent\",\"index\":107,\"text\":\"IR 🇮🇷\"},\"IS\":{\"color\":\"transparent\",\"index\":108,\"text\":\"IS 🇮🇸\"},\"IT\":{\"color\":\"transparent\",\"index\":109,\"text\":\"IT 🇮🇹\"},\"JE\":{\"color\":\"transparent\",\"index\":110,\"text\":\"JE 🇯🇪\"},\"JM\":{\"color\":\"transparent\",\"index\":111,\"text\":\"JM 🇯🇲\"},\"JO\":{\"color\":\"transparent\",\"index\":112,\"text\":\"JO 🇯🇴\"},\"JP\":{\"color\":\"transparent\",\"index\":113,\"text\":\"JP 🇯🇵\"},\"KE\":{\"color\":\"transparent\",\"index\":114,\"text\":\"KE 🇰🇪\"},\"KG\":{\"color\":\"transparent\",\"index\":115,\"text\":\"KG 🇰🇬\"},\"KH\":{\"color\":\"transparent\",\"index\":116,\"text\":\"KH 🇰🇭\"},\"KI\":{\"color\":\"transparent\",\"index\":117,\"text\":\"KI 🇰🇮\"},\"KM\":{\"color\":\"transparent\",\"index\":118,\"text\":\"KM 🇰🇲\"},\"KN\":{\"color\":\"transparent\",\"index\":119,\"text\":\"KN 🇰🇳\"},\"KP\":{\"color\":\"transparent\",\"index\":120,\"text\":\"KP 🇰🇵\"},\"KR\":{\"color\":\"transparent\",\"index\":121,\"text\":\"KR 🇰🇷\"},\"KW\":{\"color\":\"transparent\",\"index\":122,\"text\":\"KW 🇰🇼\"},\"KY\":{\"color\":\"transparent\",\"index\":123,\"text\":\"KY 🇰🇾\"},\"KZ\":{\"color\":\"transparent\",\"index\":124,\"text\":\"KZ 🇰🇿\"},\"LA\":{\"color\":\"transparent\",\"index\":125,\"text\":\"LA 🇱🇦\"},\"LB\":{\"color\":\"transparent\",\"index\":126,\"text\":\"LB 🇱🇧\"},\"LC\":{\"color\":\"transparent\",\"index\":127,\"text\":\"LC 🇱🇨\"},\"LI\":{\"color\":\"transparent\",\"index\":128,\"text\":\"LI 🇱🇮\"},\"LK\":{\"color\":\"transparent\",\"index\":129,\"text\":\"LK 🇱🇰\"},\"LR\":{\"color\":\"transparent\",\"index\":130,\"text\":\"LR 🇱🇷\"},\"LS\":{\"color\":\"transparent\",\"index\":131,\"text\":\"LS 🇱🇸\"},\"LT\":{\"color\":\"transparent\",\"index\":132,\"text\":\"LT 🇱🇹\"},\"LU\":{\"color\":\"transparent\",\"index\":133,\"text\":\"LU 🇱🇺\"},\"LV\":{\"color\":\"transparent\",\"index\":134,\"text\":\"LV 🇱🇻\"},\"LY\":{\"color\":\"transparent\",\"index\":135,\"text\":\"LY 🇱🇾\"},\"MA\":{\"color\":\"transparent\",\"index\":136,\"text\":\"MA 🇲🇦\"},\"MC\":{\"color\":\"transparent\",\"index\":137,\"text\":\"MC 🇲🇨\"},\"MD\":{\"color\":\"transparent\",\"index\":138,\"text\":\"MD 🇲🇩\"},\"ME\":{\"color\":\"transparent\",\"index\":139,\"text\":\"ME 🇲🇪\"},\"MF\":{\"color\":\"transparent\",\"index\":140,\"text\":\"MF 🇲🇫\"},\"MG\":{\"color\":\"transparent\",\"index\":141,\"text\":\"MG 🇲🇬\"},\"MH\":{\"color\":\"transparent\",\"index\":142,\"text\":\"MH 🇲🇭\"},\"MK\":{\"color\":\"transparent\",\"index\":143,\"text\":\"MK 🇲🇰\"},\"ML\":{\"color\":\"transparent\",\"index\":144,\"text\":\"ML 🇲🇱\"},\"MM\":{\"color\":\"transparent\",\"index\":145,\"text\":\"MM 🇲🇲\"},\"MN\":{\"color\":\"transparent\",\"index\":146,\"text\":\"MN 🇲🇳\"},\"MO\":{\"color\":\"transparent\",\"index\":147,\"text\":\"MO 🇲🇴\"},\"MP\":{\"color\":\"transparent\",\"index\":148,\"text\":\"MP 🇲🇵\"},\"MQ\":{\"color\":\"transparent\",\"index\":149,\"text\":\"MQ 🇲🇶\"},\"MR\":{\"color\":\"transparent\",\"index\":150,\"text\":\"MR 🇲🇷\"},\"MS\":{\"color\":\"transparent\",\"index\":151,\"text\":\"MS 🇲🇸\"},\"MT\":{\"color\":\"transparent\",\"index\":152,\"text\":\"MT 🇲🇹\"},\"MU\":{\"color\":\"transparent\",\"index\":153,\"text\":\"MU 🇲🇺\"},\"MV\":{\"color\":\"transparent\",\"index\":154,\"text\":\"MV 🇲🇻\"},\"MW\":{\"color\":\"transparent\",\"index\":155,\"text\":\"MW 🇲🇼\"},\"MX\":{\"color\":\"transparent\",\"index\":156,\"text\":\"MX 🇲🇽\"},\"MY\":{\"color\":\"transparent\",\"index\":157,\"text\":\"MY 🇲🇾\"},\"MZ\":{\"color\":\"transparent\",\"index\":158,\"text\":\"MZ 🇲🇿\"},\"NA\":{\"color\":\"transparent\",\"index\":159,\"text\":\"NA 🇳🇦\"},\"NC\":{\"color\":\"transparent\",\"index\":160,\"text\":\"NC 🇳🇨\"},\"NE\":{\"color\":\"transparent\",\"index\":161,\"text\":\"NE 🇳🇪\"},\"NF\":{\"color\":\"transparent\",\"index\":162,\"text\":\"NF 🇳🇫\"},\"NG\":{\"color\":\"transparent\",\"index\":163,\"text\":\"NG 🇳🇬\"},\"NI\":{\"color\":\"transparent\",\"index\":164,\"text\":\"NI 🇳🇮\"},\"NL\":{\"color\":\"transparent\",\"index\":165,\"text\":\"NL 🇳🇱\"},\"NO\":{\"color\":\"transparent\",\"index\":166,\"text\":\"NO 🇳🇴\"},\"NP\":{\"color\":\"transparent\",\"index\":167,\"text\":\"NP 🇳🇵\"},\"NR\":{\"color\":\"transparent\",\"index\":168,\"text\":\"NR 🇳🇷\"},\"NU\":{\"color\":\"transparent\",\"index\":169,\"text\":\"NU 🇳🇺\"},\"NZ\":{\"color\":\"transparent\",\"index\":170,\"text\":\"NZ 🇳🇿\"},\"OM\":{\"color\":\"transparent\",\"index\":171,\"text\":\"OM 🇴🇲\"},\"PA\":{\"color\":\"transparent\",\"index\":172,\"text\":\"PA 🇵🇦\"},\"PE\":{\"color\":\"transparent\",\"index\":173,\"text\":\"PE 🇵🇪\"},\"PF\":{\"color\":\"transparent\",\"index\":174,\"text\":\"PF 🇵🇫\"},\"PG\":{\"color\":\"transparent\",\"index\":175,\"text\":\"PG 🇵🇬\"},\"PH\":{\"color\":\"transparent\",\"index\":176,\"text\":\"PH 🇵🇭\"},\"PK\":{\"color\":\"transparent\",\"index\":177,\"text\":\"PK 🇵🇰\"},\"PL\":{\"color\":\"transparent\",\"index\":178,\"text\":\"PL 🇵🇱\"},\"PM\":{\"color\":\"transparent\",\"index\":179,\"text\":\"PM 🇵🇲\"},\"PN\":{\"color\":\"transparent\",\"index\":180,\"text\":\"PN 🇵🇳\"},\"PR\":{\"color\":\"transparent\",\"index\":181,\"text\":\"PR 🇵🇷\"},\"PS\":{\"color\":\"transparent\",\"index\":182,\"text\":\"PS 🇵🇸\"},\"PT\":{\"color\":\"transparent\",\"index\":183,\"text\":\"PT 🇵🇹\"},\"PW\":{\"color\":\"transparent\",\"index\":184,\"text\":\"PW 🇵🇼\"},\"PY\":{\"color\":\"transparent\",\"index\":185,\"text\":\"PY 🇵🇾\"},\"QA\":{\"color\":\"transparent\",\"index\":186,\"text\":\"QA 🇶🇦\"},\"RE\":{\"color\":\"transparent\",\"index\":187,\"text\":\"RE 🇷🇪\"},\"RO\":{\"color\":\"transparent\",\"index\":188,\"text\":\"RO 🇷🇴\"},\"RS\":{\"color\":\"transparent\",\"index\":189,\"text\":\"RS 🇷🇸\"},\"RU\":{\"color\":\"transparent\",\"index\":190,\"text\":\"RU 🇷🇺\"},\"RW\":{\"color\":\"transparent\",\"index\":191,\"text\":\"RW 🇷🇼\"},\"SA\":{\"color\":\"transparent\",\"index\":192,\"text\":\"SA 🇸🇦\"},\"SB\":{\"color\":\"transparent\",\"index\":193,\"text\":\"SB 🇸🇧\"},\"SC\":{\"color\":\"transparent\",\"index\":194,\"text\":\"SC 🇸🇨\"},\"SD\":{\"color\":\"transparent\",\"index\":195,\"text\":\"SD 🇸🇩\"},\"SE\":{\"color\":\"transparent\",\"index\":196,\"text\":\"SE 🇸🇪\"},\"SG\":{\"color\":\"transparent\",\"index\":197,\"text\":\"SG 🇸🇬\"},\"SH\":{\"color\":\"transparent\",\"index\":198,\"text\":\"SH 🇸🇭\"},\"SI\":{\"color\":\"transparent\",\"index\":199,\"text\":\"SI 🇸🇮\"},\"SJ\":{\"color\":\"transparent\",\"index\":200,\"text\":\"SJ 🇸🇯\"},\"SK\":{\"color\":\"transparent\",\"index\":201,\"text\":\"SK 🇸🇰\"},\"SL\":{\"color\":\"transparent\",\"index\":202,\"text\":\"SL 🇸🇱\"},\"SM\":{\"color\":\"transparent\",\"index\":203,\"text\":\"SM 🇸🇲\"},\"SN\":{\"color\":\"transparent\",\"index\":204,\"text\":\"SN 🇸🇳\"},\"SO\":{\"color\":\"transparent\",\"index\":205,\"text\":\"SO 🇸🇴\"},\"SR\":{\"color\":\"transparent\",\"index\":206,\"text\":\"SR 🇸🇷\"},\"SS\":{\"color\":\"transparent\",\"index\":207,\"text\":\"SS 🇸🇸\"},\"ST\":{\"color\":\"transparent\",\"index\":208,\"text\":\"ST 🇸🇹\"},\"SV\":{\"color\":\"transparent\",\"index\":209,\"text\":\"SV 🇸🇻\"},\"SX\":{\"color\":\"transparent\",\"index\":210,\"text\":\"SX 🇸🇽\"},\"SY\":{\"color\":\"transparent\",\"index\":211,\"text\":\"SY 🇸🇾\"},\"SZ\":{\"color\":\"transparent\",\"index\":212,\"text\":\"SZ 🇸🇿\"},\"TC\":{\"color\":\"transparent\",\"index\":213,\"text\":\"TC 🇹🇨\"},\"TD\":{\"color\":\"transparent\",\"index\":214,\"text\":\"TD 🇹🇩\"},\"TF\":{\"color\":\"transparent\",\"index\":215,\"text\":\"TF 🇹🇫\"},\"TG\":{\"color\":\"transparent\",\"index\":216,\"text\":\"TG 🇹🇬\"},\"TH\":{\"color\":\"transparent\",\"index\":217,\"text\":\"TH 🇹🇭\"},\"TJ\":{\"color\":\"transparent\",\"index\":218,\"text\":\"TJ 🇹🇯\"},\"TK\":{\"color\":\"transparent\",\"index\":219,\"text\":\"TK 🇹🇰\"},\"TL\":{\"color\":\"transparent\",\"index\":220,\"text\":\"TL 🇹🇱\"},\"TM\":{\"color\":\"transparent\",\"index\":221,\"text\":\"TM 🇹🇲\"},\"TN\":{\"color\":\"transparent\",\"index\":222,\"text\":\"TN 🇹🇳\"},\"TO\":{\"color\":\"transparent\",\"index\":223,\"text\":\"TO 🇹🇴\"},\"TR\":{\"color\":\"transparent\",\"index\":224,\"text\":\"TR 🇹🇷\"},\"TT\":{\"color\":\"transparent\",\"index\":225,\"text\":\"TT 🇹🇹\"},\"TV\":{\"color\":\"transparent\",\"index\":226,\"text\":\"TV 🇹🇻\"},\"TW\":{\"color\":\"transparent\",\"index\":227,\"text\":\"TW 🇹🇼\"},\"TZ\":{\"color\":\"transparent\",\"index\":228,\"text\":\"TZ 🇹🇿\"},\"UA\":{\"color\":\"transparent\",\"index\":229,\"text\":\"UA 🇺🇦\"},\"UG\":{\"color\":\"transparent\",\"index\":230,\"text\":\"UG 🇺🇬\"},\"UM\":{\"color\":\"transparent\",\"index\":231,\"text\":\"UM 🇺🇲\"},\"US\":{\"color\":\"transparent\",\"index\":232,\"text\":\"US 🇺🇸\"},\"UY\":{\"color\":\"transparent\",\"index\":233,\"text\":\"UY 🇺🇾\"},\"UZ\":{\"color\":\"transparent\",\"index\":234,\"text\":\"UZ 🇺🇿\"},\"VA\":{\"color\":\"transparent\",\"index\":235,\"text\":\"VA 🇻🇦\"},\"VC\":{\"color\":\"transparent\",\"index\":236,\"text\":\"VC 🇻🇨\"},\"VE\":{\"color\":\"transparent\",\"index\":237,\"text\":\"VE 🇻🇪\"},\"VG\":{\"color\":\"transparent\",\"index\":238,\"text\":\"VG 🇻🇬\"},\"VI\":{\"color\":\"transparent\",\"index\":239,\"text\":\"VI 🇻🇮\"},\"VN\":{\"color\":\"transparent\",\"index\":240,\"text\":\"VN 🇻🇳\"},\"VU\":{\"color\":\"transparent\",\"index\":241,\"text\":\"VU 🇻🇺\"},\"WF\":{\"color\":\"transparent\",\"index\":242,\"text\":\"WF 🇼🇫\"},\"WS\":{\"color\":\"transparent\",\"index\":243,\"text\":\"WS 🇼🇸\"},\"YE\":{\"color\":\"transparent\",\"index\":244,\"text\":\"YE 🇾🇪\"},\"YT\":{\"color\":\"transparent\",\"index\":245,\"text\":\"YT 🇾🇹\"},\"ZA\":{\"color\":\"transparent\",\"index\":246,\"text\":\"ZA 🇿🇦\"},\"ZM\":{\"color\":\"transparent\",\"index\":247,\"text\":\"ZM 🇿🇲\"},\"ZW\":{\"color\":\"transparent\",\"index\":248,\"text\":\"ZW 🇿🇼\"}},\"type\":\"value\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"transparent\",\"value\":null}]}},\"overrides\":[]},\"gridPos\":{\"h\":11,\"w\":3,\"x\":12,\"y\":9},\"maxDataPoints\":1,\"options\":{\"cellHeight\":\"sm\",\"footer\":{\"countRows\":false,\"fields\":\"\",\"reducer\":[\"sum\"],\"show\":false},\"showHeader\":false,\"sortBy\":[{\"desc\":true,\"displayName\":\"Requests\"}]},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"expr\":\"topk(10, sum by (geoip_country_code) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json | geoip_country_code != \\\"\\\" and  __error__=\\\"\\\" [$__interval])))\",\"instant\":true,\"legendFormat\":\"{{remote_addr}}\",\"range\":false,\"refId\":\"A\"}],\"title\":\"Top Countries\",\"transformations\":[{\"id\":\"organize\",\"options\":{\"excludeByName\":{\"Field\":false,\"Time\":true,\"Value #A\":true},\"includeByName\":{},\"indexByName\":{\"Time\":0,\"Value #A\":3,\"geoip_country_code\":2,\"remote_addr\":1},\"renameByName\":{\"Field\":\"IP Address\",\"Total\":\"Requests\",\"Value #A\":\"Requests\",\"geoip_country_code\":\"Country\",\"remote_addr\":\"IP Address \"}}},{\"id\":\"limit\",\"options\":{}}],\"type\":\"table\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{},\"overrides\":[]},\"gridPos\":{\"h\":11,\"w\":9,\"x\":15,\"y\":9},\"options\":{\"dedupStrategy\":\"signature\",\"enableLogDetails\":false,\"prettifyLogMessage\":false,\"showCommonLabels\":false,\"showLabels\":false,\"showTime\":false,\"sortOrder\":\"Descending\",\"wrapLogMessage\":false},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"editorMode\":\"code\",\"expr\":\"{$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json | line_format \\\"➡️ {{.request}} with HTTP status: {{.status}} \\\"\",\"legendFormat\":\"\",\"queryType\":\"range\",\"refId\":\"A\"}],\"title\":\"Recent requests\",\"transformations\":[{\"id\":\"limit\",\"options\":{\"limitField\":\"50\"}}],\"type\":\"logs\"},{\"collapsed\":false,\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":20},\"panels\":[],\"title\":\"Request statistics over time\",\"type\":\"row\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"palette-classic\"},\"custom\":{\"axisBorderShow\":false,\"axisCenteredZero\":false,\"axisColorMode\":\"text\",\"axisLabel\":\"\",\"axisPlacement\":\"auto\",\"barAlignment\":0,\"barWidthFactor\":0.6,\"drawStyle\":\"line\",\"fillOpacity\":39,\"gradientMode\":\"hue\",\"hideFrom\":{\"legend\":false,\"tooltip\":false,\"viz\":false},\"insertNulls\":false,\"lineInterpolation\":\"smooth\",\"lineWidth\":1,\"pointSize\":5,\"scaleDistribution\":{\"log\":2,\"type\":\"log\"},\"showPoints\":\"never\",\"spanNulls\":true,\"stacking\":{\"group\":\"A\",\"mode\":\"none\"},\"thresholdsStyle\":{\"mode\":\"off\"}},\"decimals\":0,\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"short\"},\"overrides\":[{\"matcher\":{\"id\":\"byName\",\"options\":\"HTTP Status 500\"},\"properties\":[{\"id\":\"color\",\"value\":{\"fixedColor\":\"dark-orange\",\"mode\":\"fixed\"}}]},{\"matcher\":{\"id\":\"byName\",\"options\":\"{statuscode=\\\"200\\\"} 200\"},\"properties\":[{\"id\":\"color\",\"value\":{\"fixedColor\":\"green\",\"mode\":\"fixed\"}}]},{\"matcher\":{\"id\":\"byName\",\"options\":\"{statuscode=\\\"404\\\"} 404\"},\"properties\":[{\"id\":\"color\",\"value\":{\"fixedColor\":\"semi-dark-purple\",\"mode\":\"fixed\"}}]},{\"matcher\":{\"id\":\"byName\",\"options\":\"{statuscode=\\\"500\\\"} 500\"},\"properties\":[{\"id\":\"color\",\"value\":{\"fixedColor\":\"dark-red\",\"mode\":\"fixed\"}}]},{\"matcher\":{\"id\":\"byName\",\"options\":\"HTTP Status 404\"},\"properties\":[{\"id\":\"color\",\"value\":{\"fixedColor\":\"light-orange\",\"mode\":\"fixed\"}}]},{\"matcher\":{\"id\":\"byName\",\"options\":\"HTTP Status 301\"},\"properties\":[{\"id\":\"color\",\"value\":{\"fixedColor\":\"light-blue\",\"mode\":\"fixed\"}}]},{\"matcher\":{\"id\":\"byName\",\"options\":\"HTTP Status 200\"},\"properties\":[{\"id\":\"color\",\"value\":{\"fixedColor\":\"semi-dark-blue\",\"mode\":\"fixed\"}}]}]},\"gridPos\":{\"h\":9,\"w\":8,\"x\":0,\"y\":21},\"maxDataPoints\":50,\"options\":{\"legend\":{\"calcs\":[],\"displayMode\":\"list\",\"placement\":\"bottom\",\"showLegend\":true},\"tooltip\":{\"mode\":\"single\",\"sort\":\"none\"}},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"expr\":\"sum by (status) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json |  __error__=\\\"\\\" [$__interval]))\",\"legendFormat\":\"HTTP Status {{status}}\",\"refId\":\"A\"}],\"title\":\"HTTP status codes over time\",\"transformations\":[{\"id\":\"filterFieldsByName\",\"options\":{\"include\":{\"names\":[\"Time\",\"HTTP Status 200\",\"HTTP Status 301\",\"HTTP Status 304\",\"HTTP Status 404\",\"HTTP Status 406\",\"HTTP Status 500\"]}}}],\"type\":\"timeseries\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"palette-classic\"},\"custom\":{\"axisBorderShow\":false,\"axisCenteredZero\":false,\"axisColorMode\":\"text\",\"axisLabel\":\"\",\"axisPlacement\":\"auto\",\"barAlignment\":0,\"barWidthFactor\":0.6,\"drawStyle\":\"line\",\"fillOpacity\":100,\"gradientMode\":\"hue\",\"hideFrom\":{\"legend\":false,\"tooltip\":false,\"viz\":false},\"insertNulls\":false,\"lineInterpolation\":\"smooth\",\"lineWidth\":1,\"pointSize\":5,\"scaleDistribution\":{\"type\":\"linear\"},\"showPoints\":\"never\",\"spanNulls\":false,\"stacking\":{\"group\":\"A\",\"mode\":\"none\"},\"thresholdsStyle\":{\"mode\":\"off\"}},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\",\"value\":null},{\"color\":\"red\",\"value\":80}]},\"unit\":\"decbytes\"},\"overrides\":[{\"matcher\":{\"id\":\"byName\",\"options\":\"Bytes sent\"},\"properties\":[{\"id\":\"color\",\"value\":{\"fixedColor\":\"light-blue\",\"mode\":\"fixed\"}}]},{\"matcher\":{\"id\":\"byName\",\"options\":\"appfelstrudel\"},\"properties\":[{\"id\":\"color\",\"value\":{\"fixedColor\":\"yellow\",\"mode\":\"fixed\"}}]}]},\"gridPos\":{\"h\":9,\"w\":8,\"x\":8,\"y\":21},\"maxDataPoints\":50,\"options\":{\"legend\":{\"calcs\":[],\"displayMode\":\"list\",\"placement\":\"bottom\",\"showLegend\":true},\"tooltip\":{\"mode\":\"single\",\"sort\":\"none\"}},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"editorMode\":\"code\",\"expr\":\"sum by (host) (sum_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json | status=200 | unwrap size |  __error__=\\\"\\\" [$__interval]))\",\"legendFormat\":\"Bytes sent\",\"queryType\":\"range\",\"refId\":\"A\"}],\"title\":\"Bytes Sent\",\"type\":\"timeseries\"},{\"collapsed\":false,\"gridPos\":{\"h\":1,\"w\":24,\"x\":0,\"y\":30},\"panels\":[],\"title\":\"Acquisition and Behaviour\",\"type\":\"row\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"custom\":{\"align\":\"auto\",\"cellOptions\":{\"type\":\"auto\"},\"filterable\":false,\"inspect\":false},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\"},{\"color\":\"red\",\"value\":80}]}},\"overrides\":[{\"matcher\":{\"id\":\"byName\",\"options\":\"Requests\"},\"properties\":[{\"id\":\"custom.cellOptions\",\"value\":{\"mode\":\"gradient\",\"type\":\"gauge\"}},{\"id\":\"color\",\"value\":{\"mode\":\"continuous-BlPu\"}}]},{\"matcher\":{\"id\":\"byName\",\"options\":\"Requests\"},\"properties\":[{\"id\":\"custom.width\",\"value\":300}]}]},\"gridPos\":{\"h\":6,\"w\":9,\"x\":0,\"y\":31},\"options\":{\"cellHeight\":\"sm\",\"footer\":{\"countRows\":false,\"fields\":\"\",\"reducer\":[\"sum\"],\"show\":false},\"showHeader\":true,\"sortBy\":[{\"desc\":true,\"displayName\":\"Requests\"}]},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"editorMode\":\"code\",\"expr\":\"topk(10, sum by (referer) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json |  referer != \\\"\\\" and referer !~ \\\".*?$host.*?\\\" and referer !~ \\\".*?\\\\\\\\*\\\\\\\\*\\\\\\\\*.*?\\\" | __error__=\\\"\\\" [$__interval])))\",\"instant\":true,\"legendFormat\":\"{{http_referer}}\",\"queryType\":\"range\",\"range\":false,\"refId\":\"A\"}],\"title\":\"Top 10 HTTP Referers\",\"transformations\":[{\"id\":\"reduce\",\"options\":{}},{\"id\":\"organize\",\"options\":{\"excludeByName\":{\"Time\":true},\"includeByName\":{},\"indexByName\":{},\"renameByName\":{\"Field\":\"Referer\",\"Max\":\"Count\",\"Total\":\"Requests\",\"Value #A\":\"Requests\",\"http_referer\":\"HTTP Referrer\"}}},{\"id\":\"limit\",\"options\":{}}],\"type\":\"table\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"custom\":{\"align\":\"auto\",\"cellOptions\":{\"type\":\"auto\"},\"filterable\":false,\"inspect\":false},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\"},{\"color\":\"red\",\"value\":80}]}},\"overrides\":[{\"matcher\":{\"id\":\"byName\",\"options\":\"Requests\"},\"properties\":[{\"id\":\"custom.width\",\"value\":300},{\"id\":\"custom.cellOptions\",\"value\":{\"mode\":\"gradient\",\"type\":\"gauge\"}},{\"id\":\"color\",\"value\":{\"mode\":\"continuous-BlPu\"}}]}]},\"gridPos\":{\"h\":6,\"w\":15,\"x\":9,\"y\":31},\"options\":{\"cellHeight\":\"sm\",\"footer\":{\"countRows\":false,\"fields\":\"\",\"reducer\":[\"sum\"],\"show\":false},\"showHeader\":true,\"sortBy\":[{\"desc\":true,\"displayName\":\"Requests\"}]},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"editorMode\":\"code\",\"expr\":\"topk(10, sum by (agent) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json |  __error__=\\\"\\\" [$__interval])))\",\"instant\":true,\"legendFormat\":\"{{http_user_agent}}\",\"queryType\":\"range\",\"range\":false,\"refId\":\"A\"}],\"title\":\"Top 10 User Agents\",\"transformations\":[{\"id\":\"reduce\",\"options\":{}},{\"id\":\"organize\",\"options\":{\"excludeByName\":{\"Field\":false,\"Time\":true},\"includeByName\":{},\"indexByName\":{},\"renameByName\":{\"Field\":\"Agent\",\"Max\":\"Count\",\"Total\":\"Requests\",\"Value #A\":\"Requests\",\"http_user_agent\":\"User agent\"}}},{\"id\":\"sortBy\",\"options\":{\"fields\":{},\"sort\":[{\"desc\":true,\"field\":\"Count\"}]}},{\"id\":\"limit\",\"options\":{}},{\"id\":\"filterByValue\",\"options\":{\"filters\":[{\"config\":{\"id\":\"equal\",\"options\":{\"value\":\"Value\"}},\"fieldName\":\"Agent\"}],\"match\":\"any\",\"type\":\"exclude\"}}],\"type\":\"table\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"custom\":{\"align\":\"auto\",\"cellOptions\":{\"type\":\"auto\"},\"filterable\":false,\"inspect\":false},\"mappings\":[{\"options\":{\"NL\":{\"index\":1,\"text\":\"??\"},\"US\":{\"index\":0,\"text\":\"??\"}},\"type\":\"value\"}],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\"},{\"color\":\"red\",\"value\":80}]}},\"overrides\":[{\"matcher\":{\"id\":\"byName\",\"options\":\"Requests\"},\"properties\":[{\"id\":\"custom.width\",\"value\":300},{\"id\":\"custom.cellOptions\",\"value\":{\"mode\":\"gradient\",\"type\":\"gauge\"}},{\"id\":\"color\",\"value\":{\"mode\":\"continuous-BlPu\"}}]},{\"matcher\":{\"id\":\"byName\",\"options\":\"Country\"},\"properties\":[{\"id\":\"custom.width\",\"value\":74}]}]},\"gridPos\":{\"h\":8,\"w\":9,\"x\":0,\"y\":37},\"options\":{\"cellHeight\":\"sm\",\"footer\":{\"countRows\":false,\"fields\":\"\",\"reducer\":[\"sum\"],\"show\":false},\"showHeader\":true,\"sortBy\":[{\"desc\":true,\"displayName\":\"Requests\"}]},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"editorMode\":\"code\",\"expr\":\"topk(10, sum by (client) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} | json |  __error__=\\\"\\\" [$__interval])))\",\"instant\":true,\"legendFormat\":\"{{remote_addr}}\",\"queryType\":\"range\",\"range\":false,\"refId\":\"A\"}],\"title\":\"Top 10 visitor IPs\",\"transformations\":[{\"id\":\"reduce\",\"options\":{\"labelsToFields\":false,\"reducers\":[\"lastNotNull\"]}},{\"id\":\"organize\",\"options\":{\"excludeByName\":{\"Field\":false,\"Time\":true},\"includeByName\":{},\"indexByName\":{\"Time\":0,\"Value #A\":3,\"geoip_country_code\":2,\"remote_addr\":1},\"renameByName\":{\"Field\":\"IP Address\",\"Last *\":\"Count\",\"Total\":\"Requests\",\"Value #A\":\"Requests\",\"geoip_country_code\":\"Country\",\"remote_addr\":\"IP Address \"}}},{\"id\":\"sortBy\",\"options\":{\"fields\":{},\"sort\":[{\"desc\":true,\"field\":\"Count\"}]}},{\"id\":\"limit\",\"options\":{}},{\"id\":\"filterByValue\",\"options\":{\"filters\":[{\"config\":{\"id\":\"equal\",\"options\":{\"value\":\"Value\"}},\"fieldName\":\"IP Address\"}],\"match\":\"any\",\"type\":\"exclude\"}}],\"type\":\"table\"},{\"datasource\":{\"uid\":\"$datasource\"},\"description\":\"\",\"fieldConfig\":{\"defaults\":{\"color\":{\"mode\":\"thresholds\"},\"custom\":{\"align\":\"auto\",\"cellOptions\":{\"type\":\"auto\"},\"filterable\":false,\"inspect\":false},\"mappings\":[],\"thresholds\":{\"mode\":\"absolute\",\"steps\":[{\"color\":\"green\"},{\"color\":\"red\",\"value\":80}]}},\"overrides\":[{\"matcher\":{\"id\":\"byName\",\"options\":\"Requests\"},\"properties\":[{\"id\":\"color\",\"value\":{\"mode\":\"continuous-BlPu\"}},{\"id\":\"custom.width\",\"value\":300},{\"id\":\"custom.cellOptions\",\"value\":{\"mode\":\"gradient\",\"type\":\"gauge\"}}]}]},\"gridPos\":{\"h\":8,\"w\":15,\"x\":9,\"y\":37},\"options\":{\"cellHeight\":\"sm\",\"footer\":{\"countRows\":false,\"fields\":\"\",\"reducer\":[\"sum\"],\"show\":false},\"showHeader\":true,\"sortBy\":[{\"desc\":true,\"displayName\":\"Requests\"}]},\"pluginVersion\":\"11.4.0\",\"targets\":[{\"datasource\":{\"uid\":\"$datasource\"},\"editorMode\":\"code\",\"expr\":\"topk(10, sum by (request) (count_over_time({$label_name=~\\\"$label_value\\\", job=~\\\"$job\\\", instance=~\\\"$instance\\\"} !~ `\\\\.ico|\\\\.svg|\\\\.css|\\\\.png|\\\\.txt|\\\\.js|\\\\.xml` | json | status = 200 and request != \\\"/\\\" | __error__=\\\"\\\" [$__interval])))\",\"instant\":true,\"legendFormat\":\"{{request_uri}}\",\"queryType\":\"range\",\"range\":false,\"refId\":\"A\"}],\"title\":\"Top 10 Requested Pages\",\"transformations\":[{\"id\":\"reduce\",\"options\":{\"reducers\":[\"lastNotNull\"]}},{\"id\":\"organize\",\"options\":{\"excludeByName\":{\"Time\":true},\"includeByName\":{},\"indexByName\":{},\"renameByName\":{\"Field\":\"Page\",\"Last *\":\"Count\",\"Max\":\"Count\",\"Time\":\"\",\"Total\":\"\",\"Value #A\":\"Requests\",\"request_uri\":\"Path\"}}},{\"id\":\"sortBy\",\"options\":{\"fields\":{},\"sort\":[{\"desc\":true,\"field\":\"Count\"}]}},{\"id\":\"limit\",\"options\":{}}],\"type\":\"table\"}],\"preload\":false,\"refresh\":false,\"schemaVersion\":40,\"tags\":[],\"templating\":{\"list\":[{\"current\":{\"text\":\"Loki\",\"value\":\"loki\"},\"includeAll\":false,\"label\":\"Datasource\",\"name\":\"datasource\",\"options\":[],\"query\":\"loki\",\"refresh\":1,\"regex\":\"\",\"type\":\"datasource\"},{\"current\":{\"text\":\"log_source\",\"value\":\"log_source\"},\"datasource\":\"$datasource\",\"definition\":\"label_names()\",\"includeAll\":false,\"label\":\"Label Name\",\"name\":\"label_name\",\"options\":[],\"query\":\"label_names()\",\"refresh\":1,\"regex\":\"\",\"sort\":1,\"type\":\"query\"},{\"current\":{\"text\":\"All\",\"value\":[\"$__all\"]},\"datasource\":\"$datasource\",\"definition\":\"label_values($label_name)\",\"includeAll\":true,\"label\":\"Label Value\",\"multi\":true,\"name\":\"label_value\",\"options\":[],\"query\":\"label_values($label_name)\",\"refresh\":1,\"regex\":\"\",\"sort\":1,\"type\":\"query\"},{\"current\":{\"text\":\"All\",\"value\":\"$__all\"},\"datasource\":\"$datasource\",\"definition\":\"label_values({$label_name=~\\\"$label_value\\\"}, job)\",\"includeAll\":true,\"label\":\"Job\",\"multi\":true,\"name\":\"job\",\"options\":[],\"query\":\"label_values({$label_name=~\\\"$label_value\\\"}, job)\",\"refresh\":1,\"regex\":\"\",\"type\":\"query\"},{\"current\":{\"text\":\"All\",\"value\":\"$__all\"},\"datasource\":\"$datasource\",\"definition\":\"label_values({$label_name=~\\\"$label_value\\\"}, instance)\",\"includeAll\":true,\"label\":\"Instance\",\"multi\":true,\"name\":\"instance\",\"options\":[],\"query\":\"label_values({$label_name=~\\\"$label_value\\\"}, instance)\",\"refresh\":1,\"regex\":\"\",\"type\":\"query\"}]},\"time\":{\"from\":\"now-3h\",\"to\":\"now\"},\"timepicker\":{\"refresh_intervals\":[\"10s\",\"30s\",\"1m\",\"5m\",\"15m\",\"30m\",\"1h\",\"2h\",\"1d\"]},\"timezone\":\"\",\"title\":\"Grafana Loki Dashboard for NGINX Service Mesh\",\"uid\":\"Nz6kKgtGj1\",\"weekStart\":\"\"}","dashboard_id":4,"folder":"","id":"0:Nz6kKgtGj1","message":null,"org_id":"0","overwrite":null,"uid":"Nz6kKgtGj1","url":"https://logs.tfmm.co/d/Nz6kKgtGj1/grafana-loki-dashboard-for-nginx-service-mesh","version":1},"sensitive_attributes":[],"private":"eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="}]},{"mode":"managed","type":"grafana_service_account","name":"svc_accounts","provider":"provider[\"registry.opentofu.org/grafana/grafana\"]","instances":[{"index_key":"svc-terraform","schema_version":0,"attributes":{"id":"1:6","is_disabled":false,"name":"svc-terraform","org_id":"1","role":"Admin"},"sensitive_attributes":[],"private":"eyJzY2hlbWFfdmVyc2lvbiI6IjAifQ=="}]}],"check_results":null}
