{"overwrite": true, "folderId": 0, "dashboard":
  {
    "id": null,
    "annotations": {
      "list": [
        {
          "builtIn": 1,
          "datasource": "-- Grafana --",
          "enable": true,
          "hide": true,
          "iconColor": "rgba(0, 211, 255, 1)",
          "name": "Annotations & Alerts",
          "target": {
            "limit": 100,
            "matchAny": false,
            "tags": [],
            "type": "dashboard"
          },
          "type": "dashboard"
        }
      ]
    },
    "editable": true,
    "fiscalYearStartMonth": 0,
    "gnetId": null,
    "graphTooltip": 0,
    "iteration": 1646406031197,
    "links": [],
    "liveNow": false,
    "panels": [
      {
        "datasource": null,
        "fieldConfig": {
          "defaults": {
            "color": {
              "mode": "palette-classic"
            },
            "custom": {
              "axisLabel": "",
              "axisPlacement": "auto",
              "barAlignment": 0,
              "drawStyle": "line",
              "fillOpacity": 0,
              "gradientMode": "none",
              "hideFrom": {
                "legend": false,
                "tooltip": false,
                "viz": false
              },
              "lineInterpolation": "smooth",
              "lineWidth": 1,
              "pointSize": 5,
              "scaleDistribution": {
                "type": "linear"
              },
              "showPoints": "never",
              "spanNulls": false,
              "stacking": {
                "group": "A",
                "mode": "none"
              },
              "thresholdsStyle": {
                "mode": "off"
              }
            },
            "mappings": [],
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "green",
                  "value": null
                },
                {
                  "color": "red",
                  "value": 80
                }
              ]
            }
          },
          "overrides": [
            {
              "matcher": {
                "id": "byRegexp",
                "options": ".* PACKETS_.*"
              },
              "properties": [
                {
                  "id": "custom.axisPlacement",
                  "value": "left"
                },
                {
                  "id": "unit",
                  "value": "pps"
                },
                {
                  "id": "custom.axisLabel",
                  "value": "Packets / sec"
                },
                {
                  "id": "custom.axisSoftMin",
                  "value": 0
                }
              ]
            },
            {
              "matcher": {
                "id": "byRegexp",
                "options": ".* BYTES_.*"
              },
              "properties": [
                {
                  "id": "custom.axisPlacement",
                  "value": "right"
                },
                {
                  "id": "unit",
                  "value": "Bps"
                },
                {
                  "id": "custom.axisLabel",
                  "value": "Bytes / sec"
                },
                {
                  "id": "custom.axisSoftMin",
                  "value": 0
                }
              ]
            }
          ]
        },
        "gridPos": {
          "h": 19,
          "w": 24,
          "x": 0,
          "y": 0
        },
        "id": 2,
        "options": {
          "legend": {
            "calcs": [
              "first",
              "min",
              "mean",
              "max",
              "lastNotNull"
            ],
            "displayMode": "table",
            "placement": "right"
          },
          "tooltip": {
            "mode": "multi"
          }
        },
        "targets": [
          {
            "alias": "$tag_device_id $tag_endpoint_id $tag_kpi_sample_type",
            "groupBy": [
              {
                "params": [
                  "device_id"
                ],
                "type": "tag"
              },
              {
                "params": [
                  "endpoint_id"
                ],
                "type": "tag"
              },
              {
                "params": [
                  "kpi_sample_type"
                ],
                "type": "tag"
              }
            ],
            "measurement": "samples",
            "orderByTime": "ASC",
            "policy": "autogen",
            "refId": "A",
            "resultFormat": "time_series",
            "select": [
              [
                {
                  "params": [
                    "kpi_value"
                  ],
                  "type": "field"
                }
              ]
            ],
            "tags": [
              {
                "key": "device_id",
                "operator": "=",
                "value": "/^$device_id$/"
              },
              {
                "condition": "AND",
                "key": "endpoint_id",
                "operator": "=",
                "value": "/^$endpoint_id$/"
              },
              {
                "condition": "AND",
                "key": "kpi_sample_type",
                "operator": "=",
                "value": "/^$kpi_sample_type$/"
              }
            ]
          }
        ],
        "title": "L3 Monitoring Packets/Bytes Received/Sent",
        "transformations": [],
        "type": "timeseries"
      }
    ],
    "refresh": "5s",
    "schemaVersion": 32,
    "style": "dark",
    "tags": [],
    "templating": {
      "list": [
        {
          "allValue": null,
          "current": {
            "selected": true,
            "text": [
              "R1-EMU",
              "R3-EMU"
            ],
            "value": [
              "R1-EMU",
              "R3-EMU"
            ]
          },
          "datasource": null,
          "definition": "SELECT DISTINCT device_id FROM monitoring;",
          "description": null,
          "error": null,
          "hide": 0,
          "includeAll": true,
          "label": "Device",
          "multi": true,
          "name": "device_id",
          "options": [],
          "query": "SELECT DISTINCT device_id FROM monitoring;",
          "refresh": 2,
          "regex": "",
          "skipUrlSync": false,
          "sort": 0,
          "type": "query"
        },
        {
          "allValue": null,
          "current": {
            "selected": true,
            "text": [
              "13/1/2"
            ],
            "value": [
              "13/1/2"
            ]
          },
          "datasource": null,
          "definition": "SELECT DISTINCT endpoint_id FROM monitoring WHERE device_id IN (${device_id})",
          "description": null,
          "error": null,
          "hide": 0,
          "includeAll": true,
          "label": "EndPoint",
          "multi": true,
          "name": "endpoint_id",
          "options": [],
          "query": "SELECT DISTINCT endpoint_id FROM monitoring WHERE device_id IN (${device_id})",
          "refresh": 2,
          "regex": "",
          "skipUrlSync": false,
          "sort": 0,
          "type": "query"
        },
        {
          "allValue": null,
          "current": {
            "selected": true,
            "text": [
              "All"
            ],
            "value": [
              "$__all"
            ]
          },
          "datasource": null,
          "definition": "SELECT DISTINCT kpi_sample_type FROM monitoring;",
          "description": null,
          "error": null,
          "hide": 0,
          "includeAll": true,
          "label": "Kpi Sample Type",
          "multi": true,
          "name": "kpi_sample_type",
          "options": [],
          "query": "SELECT DISTINCT kpi_sample_type FROM monitoring;",
          "refresh": 2,
          "regex": "",
          "skipUrlSync": false,
          "sort": 0,
          "type": "query"
        }
      ]
    },
    "time": {
      "from": "now-15m",
      "to": "now"
    },
    "timepicker": {},
    "timezone": "",
    "title": "L3 Monitoring",
    "uid": "tf-l3-monit",
    "version": 2
  }
}
