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

View File

@@ -21,10 +21,12 @@
}
]
},
"description": "Mikrotik Loki Logs ",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17139,
"graphTooltip": 0,
"id": 10,
"id": 7,
"links": [
{
"asDropdown": true,
@@ -208,7 +210,7 @@
"uid": "P8E80F9AEF21F6940"
},
"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}}",
"queryType": "range",
"refId": "A"
@@ -259,7 +261,7 @@
"type": "logs"
}
],
"refresh": "30s",
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [
@@ -270,7 +272,7 @@
"list": [
{
"current": {
"selected": true,
"selected": false,
"text": [
"All"
],
@@ -357,7 +359,7 @@
},
{
"current": {
"selected": true,
"selected": false,
"text": "5m",
"value": "5m"
},
@@ -421,8 +423,8 @@
{
"current": {
"selected": false,
"text": "@@@",
"value": "@@@"
"text": "@@",
"value": "@@"
},
"hide": 0,
"label": "Exclude",
@@ -430,24 +432,24 @@
"options": [
{
"selected": true,
"text": "@@@",
"value": "@@@"
"text": "@@",
"value": "@@"
}
],
"query": "@@@",
"query": "@@",
"skipUrlSync": false,
"type": "textbox"
}
]
},
"time": {
"from": "now-24h",
"from": "now-3h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Mikrotik Loki Logs Generic",
"uid": "alix6doiakp-mkt-loki",
"version": 11,
"title": "Mikrotik Loki Logs",
"uid": "awslix6doiakp-mkt-loki",
"version": 1,
"weekStart": ""
}

View File

@@ -28,16 +28,15 @@
"graphTooltip": 0,
"links": [
{
"asDropdown": false,
"asDropdown": true,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [
"mikrotik",
"loki"
"mikrotik"
],
"targetBlank": false,
"title": "Mikrotik Logs",
"title": "Mikrotik",
"tooltip": "",
"type": "dashboards",
"url": ""