{
    "annotations": {
      "list": [
        {
          "builtIn": 1,
          "datasource": {
            "type": "datasource",
            "uid": "grafana"
          },
          "enable": true,
          "hide": true,
          "iconColor": "rgba(0, 211, 255, 1)",
          "name": "Annotations & Alerts",
          "type": "dashboard"
        }
      ]
    },
    "description": "Simple Loki dashboard",
    "editable": true,
    "fiscalYearStartMonth": 0,
    "gnetId": 13198,
    "graphTooltip": 0,
    "id": 9,
    "links": [],
    "liveNow": false,
    "panels": [
      {
        "aliasColors": {},
        "bars": false,
        "dashLength": 10,
        "dashes": false,
        "datasource": {
          "type": "loki",
          "uid": "$datasource"
        },
        "fill": 0,
        "fillGradient": 0,
        "gridPos": {
          "h": 8,
          "w": 24,
          "x": 0,
          "y": 0
        },
        "hiddenSeries": false,
        "id": 4,
        "legend": {
          "alignAsTable": true,
          "avg": false,
          "current": false,
          "hideEmpty": true,
          "hideZero": true,
          "max": false,
          "min": false,
          "rightSide": true,
          "show": true,
          "total": false,
          "values": false
        },
        "lines": true,
        "linewidth": 1,
        "nullPointMode": "null",
        "options": {
          "alertThreshold": true
        },
        "percentage": false,
        "pluginVersion": "9.5.2",
        "pointradius": 2,
        "points": false,
        "renderer": "flot",
        "seriesOverrides": [],
        "spaceLength": 10,
        "stack": true,
        "steppedLine": false,
        "targets": [
          {
            "datasource": {
              "uid": "$datasource"
            },
            "editorMode": "code",
            "expr": "count_over_time({job=\"fluent-bit\"}[1m])",
            "legendFormat": "{{ container_name }}",
            "queryType": "range",
            "refId": "A"
          }
        ],
        "thresholds": [],
        "timeRegions": [],
        "title": "Metric Rate",
        "tooltip": {
          "shared": true,
          "sort": 2,
          "value_type": "individual"
        },
        "type": "graph",
        "xaxis": {
          "mode": "time",
          "show": true,
          "values": []
        },
        "yaxes": [
          {
            "format": "short",
            "logBase": 1,
            "show": true
          },
          {
            "format": "short",
            "logBase": 1,
            "show": true
          }
        ],
        "yaxis": {
          "align": false
        }
      },
      {
        "datasource": {
          "type": "loki",
          "uid": "e4f43364-7019-45a7-aa7a-14ce2d4ddb0b"
        },
        "gridPos": {
          "h": 14,
          "w": 24,
          "x": 0,
          "y": 8
        },
        "id": 2,
        "options": {
          "dedupStrategy": "none",
          "enableLogDetails": true,
          "prettifyLogMessage": false,
          "showCommonLabels": false,
          "showLabels": false,
          "showTime": true,
          "sortOrder": "Descending",
          "wrapLogMessage": true
        },
        "pluginVersion": "7.1.3",
        "targets": [
          {
            "datasource": {
              "type": "loki",
              "uid": "e4f43364-7019-45a7-aa7a-14ce2d4ddb0b"
            },
            "editorMode": "code",
            "expr": "{job=~\"fluent-bit\"} |~ \"$string\"",
            "legendFormat": "",
            "queryType": "range",
            "refId": "A"
          }
        ],
        "title": "Loki Search",
        "type": "logs"
      }
    ],
    "refresh": "1m",
    "schemaVersion": 38,
    "style": "dark",
    "tags": [],
    "templating": {
      "list": [
        {
          "current": {
            "selected": false,
            "text": "Loki",
            "value": "Loki"
          },
          "hide": 0,
          "includeAll": false,
          "multi": false,
          "name": "datasource",
          "options": [],
          "query": "loki",
          "queryValue": "",
          "refresh": 1,
          "regex": "",
          "skipUrlSync": false,
          "type": "datasource"
        },
        {
          "allValue": ".*",
          "current": {
            "selected": false,
            "text": "All",
            "value": "$__all"
          },
          "datasource": {
            "type": "loki",
            "uid": "$datasource"
          },
          "definition": "label_values(container_name)",
          "hide": 0,
          "includeAll": true,
          "label": "app",
          "multi": false,
          "name": "app",
          "options": [],
          "query": "label_values(container_name)",
          "refresh": 2,
          "regex": "(.*)-.*-.*-.*-.*-.*",
          "skipUrlSync": false,
          "sort": 0,
          "tagValuesQuery": "",
          "tagsQuery": "",
          "type": "query",
          "useTags": false
        },
        {
          "allValue": ".*",
          "current": {
            "selected": false,
            "text": "All",
            "value": "$__all"
          },
          "datasource": {
            "type": "loki",
            "uid": "$datasource"
          },
          "definition": "label_values(container_name)",
          "hide": 0,
          "includeAll": true,
          "label": "job",
          "multi": false,
          "name": "job",
          "options": [],
          "query": "label_values(container_name)",
          "refresh": 2,
          "regex": "$app-(.*)",
          "skipUrlSync": false,
          "sort": 0,
          "tagValuesQuery": "",
          "tagsQuery": "",
          "type": "query",
          "useTags": false
        },
        {
          "current": {
            "selected": false,
            "text": "",
            "value": ""
          },
          "hide": 0,
          "label": "string",
          "name": "string",
          "options": [
            {
              "selected": true,
              "text": "",
              "value": ""
            }
          ],
          "query": "",
          "skipUrlSync": false,
          "type": "textbox"
        }
      ]
    },
    "time": {
      "from": "now-1h",
      "to": "now"
    },
    "timepicker": {
      "refresh_intervals": [
        "5s",
        "10s",
        "30s",
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "2h",
        "1d"
      ]
    },
    "timezone": "",
    "title": "Loki Logs",
    "uid": "ffxEJdvGz",
    "version": 6,
    "weekStart": ""
}