{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "loki", "uid": "P982945308D3682D1" }, "gridPos": { "h": 21, "w": 24, "x": 0, "y": 0 }, "id": 1, "options": { "dedupStrategy": "exact", "enableLogDetails": true, "prettifyLogMessage": false, "showCommonLabels": false, "showLabels": false, "showTime": true, "sortOrder": "Descending", "wrapLogMessage": true }, "targets": [ { "datasource": { "type": "loki", "uid": "P982945308D3682D1" }, "editorMode": "builder", "expr": "{service=~\"$service\", level=~\"$level\"} |= `$line_contain` | json | line_format `{{.message}}`", "queryType": "range", "refId": "A" } ], "title": "$service", "transformations": [], "type": "logs" } ], "refresh": "auto", "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": true, "text": ["All"], "value": ["$__all"] }, "datasource": { "type": "loki", "uid": "P982945308D3682D1" }, "definition": "", "hide": 0, "includeAll": true, "label": "Сервис", "multi": true, "name": "service", "options": [], "query": { "label": "service", "refId": "LokiVariableQueryEditor-VariableQuery", "stream": "", "type": 1 }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "allValue": "trace|debug|info|warn|error", "current": { "selected": true, "text": ["warn", "error", "info"], "value": ["warn", "error", "info"] }, "hide": 0, "includeAll": true, "label": "Уровень", "multi": true, "name": "level", "options": [ { "selected": false, "text": "All", "value": "$__all" }, { "selected": false, "text": "trace", "value": "trace" }, { "selected": false, "text": "debug", "value": "debug" }, { "selected": true, "text": "info", "value": "info" }, { "selected": true, "text": "warn", "value": "warn" }, { "selected": true, "text": "error", "value": "error" } ], "query": "trace, debug, info, warn, error", "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "current": { "selected": true, "text": "", "value": "" }, "hide": 0, "label": "Содержит", "name": "line_contain", "options": [ { "selected": true, "text": "", "value": "" } ], "query": "", "skipUrlSync": false, "type": "textbox" } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "_all", "uid": "f0eba705-09c5-4476-a5f0-6c9e2a8ab077", "version": 1, "weekStart": "" }