Initial Commit

This commit is contained in:
Arseniy Kuznetsov
2022-10-19 11:24:15 +01:00
parent c8bbfbc4c6
commit 75765965f5
2 changed files with 19 additions and 18 deletions
@@ -21,10 +21,12 @@
} }
] ]
}, },
"description": "Mikrotik Loki Logs ",
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"gnetId": 17139,
"graphTooltip": 0, "graphTooltip": 0,
"id": 10, "id": 7,
"links": [ "links": [
{ {
"asDropdown": true, "asDropdown": true,
@@ -208,7 +210,7 @@
"uid": "P8E80F9AEF21F6940" "uid": "P8E80F9AEF21F6940"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "count_over_time({job=\"syslog\"} [$__interval] | pattern \"<prefix>:<_>\" |~\"(?i)$topics\" |~\"(?i)$searchable_pattern\" !~\"$exclude_pattern\" !~\"$exclude_pattern\")", "expr": "count_over_time({job=\"syslog\"} [$__interval] | pattern \"<prefix>:<_>\" |~\"(?i)$topics\" |~\"(?i)$searchable_pattern\" !~\"$exclude_pattern\")",
"legendFormat": "{{prefix}}", "legendFormat": "{{prefix}}",
"queryType": "range", "queryType": "range",
"refId": "A" "refId": "A"
@@ -259,7 +261,7 @@
"type": "logs" "type": "logs"
} }
], ],
"refresh": "30s", "refresh": false,
"schemaVersion": 37, "schemaVersion": 37,
"style": "dark", "style": "dark",
"tags": [ "tags": [
@@ -270,7 +272,7 @@
"list": [ "list": [
{ {
"current": { "current": {
"selected": true, "selected": false,
"text": [ "text": [
"All" "All"
], ],
@@ -357,7 +359,7 @@
}, },
{ {
"current": { "current": {
"selected": true, "selected": false,
"text": "5m", "text": "5m",
"value": "5m" "value": "5m"
}, },
@@ -421,8 +423,8 @@
{ {
"current": { "current": {
"selected": false, "selected": false,
"text": "@@@", "text": "@@",
"value": "@@@" "value": "@@"
}, },
"hide": 0, "hide": 0,
"label": "Exclude", "label": "Exclude",
@@ -430,24 +432,24 @@
"options": [ "options": [
{ {
"selected": true, "selected": true,
"text": "@@@", "text": "@@",
"value": "@@@" "value": "@@"
} }
], ],
"query": "@@@", "query": "@@",
"skipUrlSync": false, "skipUrlSync": false,
"type": "textbox" "type": "textbox"
} }
] ]
}, },
"time": { "time": {
"from": "now-24h", "from": "now-3h",
"to": "now" "to": "now"
}, },
"timepicker": {}, "timepicker": {},
"timezone": "", "timezone": "",
"title": "Mikrotik Loki Logs Generic", "title": "Mikrotik Loki Logs",
"uid": "alix6doiakp-mkt-loki", "uid": "awslix6doiakp-mkt-loki",
"version": 11, "version": 1,
"weekStart": "" "weekStart": ""
} }
@@ -28,16 +28,15 @@
"graphTooltip": 0, "graphTooltip": 0,
"links": [ "links": [
{ {
"asDropdown": false, "asDropdown": true,
"icon": "external link", "icon": "external link",
"includeVars": false, "includeVars": false,
"keepTime": false, "keepTime": false,
"tags": [ "tags": [
"mikrotik", "mikrotik"
"loki"
], ],
"targetBlank": false, "targetBlank": false,
"title": "Mikrotik Logs", "title": "Mikrotik",
"tooltip": "", "tooltip": "",
"type": "dashboards", "type": "dashboards",
"url": "" "url": ""