diff --git a/docker-compose/grafana/dashboards/home.json b/docker-compose/grafana/dashboards/home.json index 7c0f1c0c0e010fd6edc5984b5c960fa63d37f04f..f1b7a626e2ca470f513d22cadf240345cacf2f25 100644 --- a/docker-compose/grafana/dashboards/home.json +++ b/docker-compose/grafana/dashboards/home.json @@ -484,6 +484,196 @@ ], "type": "table" }, + { + "datasource": "ELK logs", + "description": "List of the errors in the selected timespan", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "filterable": true + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "@timestamp" + }, + "properties": [ + { + "id": "custom.width", + "value": 149 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "level" + }, + "properties": [ + { + "id": "custom.width", + "value": 62 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "program" + }, + "properties": [ + { + "id": "custom.width", + "value": 287 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "extra.logger_name" + }, + "properties": [ + { + "id": "custom.width", + "value": 72 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "extra.lofar_id" + }, + "properties": [ + { + "id": "custom.width", + "value": 196 + } + ] + } + ] + }, + "gridPos": { + "h": 5, + "w": 24, + "x": 0, + "y": 10 + }, + "id": 56, + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "8.2.1", + "targets": [ + { + "alias": "", + "bucketAggs": [], + "metrics": [ + { + "hide": false, + "id": "1", + "settings": { + "limit": "500" + }, + "type": "logs" + } + ], + "query": "level:(ERROR or CRIT or FATAL)", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "Error Log", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "@version": true, + "_id": true, + "_index": true, + "_source": true, + "_type": true, + "extra.func_name": true, + "extra.interpreter": true, + "extra.interpreter_version": true, + "extra.line": true, + "extra.logger_name": true, + "extra.logstash_async_version": true, + "extra.path": true, + "extra.process_name": true, + "extra.software_version": true, + "extra.tango_device": true, + "extra.thread_name": true, + "highlight": true, + "host": true, + "logsource": true, + "pid": true, + "port": true, + "sort": true, + "tags": true, + "type": true + }, + "indexByName": { + "@timestamp": 0, + "@version": 5, + "_id": 6, + "_index": 7, + "_source": 8, + "_type": 9, + "extra.func_name": 10, + "extra.interpreter": 11, + "extra.interpreter_version": 12, + "extra.line": 13, + "extra.lofar_id": 4, + "extra.logger_name": 14, + "extra.logstash_async_version": 15, + "extra.path": 16, + "extra.process_name": 17, + "extra.software_version": 18, + "extra.tango_device": 19, + "extra.thread_name": 20, + "highlight": 21, + "host": 2, + "level": 1, + "logsource": 22, + "message": 23, + "pid": 24, + "port": 25, + "program": 3, + "sort": 26, + "tags": 27, + "type": 28 + }, + "renameByName": {} + } + } + ], + "type": "table" + }, { "collapsed": false, "datasource": null, @@ -491,7 +681,7 @@ "h": 1, "w": 24, "x": 0, - "y": 10 + "y": 15 }, "id": 49, "panels": [], @@ -527,7 +717,7 @@ "h": 3, "w": 21, "x": 0, - "y": 11 + "y": 16 }, "id": 24, "options": { @@ -635,7 +825,7 @@ "h": 3, "w": 3, "x": 21, - "y": 11 + "y": 16 }, "id": 50, "options": { @@ -674,7 +864,7 @@ "h": 1, "w": 24, "x": 0, - "y": 14 + "y": 19 }, "id": 53, "panels": [], @@ -714,7 +904,7 @@ "h": 3, "w": 24, "x": 0, - "y": 15 + "y": 20 }, "id": 54, "options": { @@ -785,7 +975,7 @@ "h": 1, "w": 24, "x": 0, - "y": 18 + "y": 23 }, "id": 17, "panels": [], @@ -824,7 +1014,7 @@ "h": 8, "w": 6, "x": 0, - "y": 19 + "y": 24 }, "id": 21, "options": { @@ -888,7 +1078,7 @@ "h": 8, "w": 6, "x": 6, - "y": 19 + "y": 24 }, "id": 25, "options": { @@ -954,7 +1144,7 @@ "h": 8, "w": 6, "x": 12, - "y": 19 + "y": 24 }, "id": 51, "options": { @@ -994,7 +1184,7 @@ "h": 1, "w": 24, "x": 0, - "y": 27 + "y": 32 }, "id": 19, "panels": [], @@ -1034,7 +1224,7 @@ "h": 8, "w": 5, "x": 0, - "y": 28 + "y": 33 }, "id": 11, "options": { @@ -1102,7 +1292,7 @@ "h": 8, "w": 5, "x": 5, - "y": 28 + "y": 33 }, "id": 9, "options": { @@ -1176,7 +1366,7 @@ "h": 4, "w": 3, "x": 10, - "y": 28 + "y": 33 }, "id": 12, "options": { @@ -1218,7 +1408,7 @@ "h": 1, "w": 24, "x": 0, - "y": 36 + "y": 41 }, "id": 27, "panels": [], @@ -1258,7 +1448,7 @@ "h": 8, "w": 5, "x": 0, - "y": 37 + "y": 42 }, "id": 28, "options": { @@ -1356,7 +1546,7 @@ "h": 8, "w": 5, "x": 5, - "y": 37 + "y": 42 }, "id": 29, "options": { @@ -1465,7 +1655,7 @@ "h": 8, "w": 5, "x": 10, - "y": 37 + "y": 42 }, "id": 30, "options": { @@ -1558,7 +1748,7 @@ "h": 8, "w": 5, "x": 15, - "y": 37 + "y": 42 }, "id": 33, "options": { @@ -1653,7 +1843,7 @@ "h": 8, "w": 3, "x": 20, - "y": 37 + "y": 42 }, "id": 34, "options": { @@ -1690,7 +1880,7 @@ "h": 1, "w": 24, "x": 0, - "y": 45 + "y": 50 }, "id": 36, "panels": [], @@ -1730,7 +1920,7 @@ "h": 4, "w": 5, "x": 0, - "y": 46 + "y": 51 }, "id": 37, "options": { @@ -1828,7 +2018,7 @@ "h": 8, "w": 5, "x": 5, - "y": 46 + "y": 51 }, "id": 38, "options": { @@ -1937,7 +2127,7 @@ "h": 8, "w": 5, "x": 10, - "y": 46 + "y": 51 }, "id": 39, "options": { @@ -2030,7 +2220,7 @@ "h": 8, "w": 5, "x": 15, - "y": 46 + "y": 51 }, "id": 40, "options": { @@ -2125,7 +2315,7 @@ "h": 8, "w": 3, "x": 20, - "y": 46 + "y": 51 }, "id": 41, "options": { @@ -2188,7 +2378,7 @@ "h": 4, "w": 5, "x": 0, - "y": 50 + "y": 55 }, "id": 45, "options": {