Skip to content

Commit

Permalink
Merge pull request #36 from davegreen/main
Browse files Browse the repository at this point in the history
Weka-logs loki datasource variable
  • Loading branch information
vince-weka authored Sep 15, 2023
2 parents 1fd8376 + 9823450 commit 80bf5c3
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions var_lib_grafana/dashboards/Weka_Logs.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 7,
"iteration": 1668772619871,
"links": [
{
"$$hashKey": "object:48",
Expand Down Expand Up @@ -60,7 +58,7 @@
{
"datasource": {
"type": "loki",
"uid": "-iewarJnz"
"uid": "${loki_datasource}"
},
"gridPos": {
"h": 28,
Expand Down Expand Up @@ -165,7 +163,7 @@
},
"datasource": {
"type": "loki",
"uid": "-iewarJnz"
"uid": "${loki_datasource}"
},
"definition": "label_values(category)",
"hide": 0,
Expand Down Expand Up @@ -195,7 +193,7 @@
},
"datasource": {
"type": "loki",
"uid": "-iewarJnz"
"uid": "${loki_datasource}"
},
"definition": "label_values(severity)",
"hide": 0,
Expand Down Expand Up @@ -225,7 +223,7 @@
},
"datasource": {
"type": "loki",
"uid": "-iewarJnz"
"uid": "${loki_datasource}"
},
"definition": "label_values(event_type)",
"hide": 0,
Expand All @@ -242,6 +240,24 @@
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"selected": true,
"text": "Loki",
"value": "Loki"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "loki_datasource",
"options": [],
"query": "loki",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
},
Expand All @@ -265,6 +281,6 @@
"timezone": "",
"title": "Weka Logs",
"uid": "WekaLogs",
"version": 14,
"version": 15,
"weekStart": ""
}

0 comments on commit 80bf5c3

Please sign in to comment.