Grafana dashboard: Mellanox - What Just Happened? Monitoring
Description: The Monitoring Dashboard provides a real-time pane for monitoring "What Just Happened?" activity in the network.


[Deploying Mellanox What-Just-Happen dashboards on Grafana](https://github.com/Mellanox/wjhgraf/wiki/Deploying-Mellanox-What-Just-Happen-dashboards-on-Grafana) 

{
  "__inputs": [
    {
      "name": "DS_TELEGRAF",
      "label": "telegraf",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.0.2"
    },
    {
      "type": "panel",
      "id": "grafana-piechart-panel",
      "name": "Pie Chart",
      "version": "1.3.6"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": "5.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": false,
  "gnetId": 11225,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1574156303238,
  "links": [],
  "panels": [
    {
      "content": "<center><a href=\"http://www.mellanox.com\" target=\"_new\"><img width=\"150px\" src=\"http://www.mellanox.com/img/news/media_kit/logo/white/mellanox-logo-square-white.png\"></a></center>\n\n\n",
      "gridPos": {
        "h": 5,
        "w": 3,
        "x": 0,
        "y": 0
      },
      "id": 13,
      "links": [],
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "content": "<h1><b><br>Mellanox Event Telemetry - What Just Happened? - Monitoring</b></h1>\n<a href=\"/d/enfsjBWZk/mellanox-what-just-happened-debug\">Go to Debug Dashboard</a><br>\n<a href=\"/d/3Qie9y1Wz/mellanox-what-just-happened-layer-1-events\">Go to Layer 1 Dashboard</a>",
      "gridPos": {
        "h": 5,
        "w": 17,
        "x": 3,
        "y": 0
      },
      "id": 15,
      "links": [],
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_TELEGRAF}",
      "fill": 1,
      "gridPos": {
        "h": 5,
        "w": 3,
        "x": 20,
        "y": 0
      },
      "id": 19,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": false,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "paceLength": 10,
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "select (\"usage_system\"+\"usage_user\")  from wjh_cpu where cpu='cpu-total' and $timeFilter ",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Collector CPU Consumption",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_TELEGRAF}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 23,
        "x": 0,
        "y": 5
      },
      "id": 11,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "paceLength": 10,
      "percentage": false,
      "pointradius": 0.5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_severity",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "wjh_socket_listener",
          "orderByTime": "ASC",
          "policy": "autogen",
          "query": "SELECT count(\"packet_ethernet_etherType\") FROM \"DroppedPackets\" WHERE \"message\"=~ /^$message$/ and \"deviceIP\"=~ /^$deviceIP$/ and ((\"message\"='Forwarding' and \"dropReason\"=~ /^$dropReason$/) or \"message\"='ACL') and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ and \"severity\"=~ /^$severity$/ and $timeFilter GROUP BY time($__interval),severity fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "etherType"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "count"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "ACL Drops",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT count(\"packet_ethernet_etherType\") FROM \"DroppedPackets\" WHERE \"message\"='ACL' and \"deviceIP\"=~ /^$deviceIP$/ and \"dropReason\"=~ /^$dropReason$/ and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ and \"severity\"=~ /^$severity$/ and $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Forwarding Drops",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT count(\"packet_ethernet_etherType\") FROM \"DroppedPackets\" WHERE \"message\"='Forwarding' and \"deviceIP\"=~ /^$deviceIP$/ and \"dropReason\"=~ /^$dropReason$/ and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ andand \"severity\"=~ /^$severity$/  $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Buffer Drops",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT count(\"packet_ethernet_etherType\") FROM \"DroppedPackets\" WHERE \"message\"='Buffer' and \"deviceIP\"=~ /^$deviceIP$/ and \"dropReason\"=~ /^$dropReason$/ and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ and and \"severity\"=~ /^$severity$/ $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Dropped Packets",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "decimals": null,
          "format": "short",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {
        "Error": "#FF7383",
        "Notice": "#3274D9"
      },
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_TELEGRAF}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 0,
        "y": 12
      },
      "id": 5,
      "interval": null,
      "legend": {
        "percentage": true,
        "show": true,
        "sort": null,
        "sortDesc": null,
        "values": false
      },
      "legendType": "On graph",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "donut",
      "strokeWidth": "3",
      "targets": [
        {
          "alias": "$tag_severity",
          "groupBy": [
            {
              "params": [
                "deviceIP"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "wjh_socket_listener",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT  count(packet_ethernet_etherType) FROM \"DroppedPackets\" WHERE \"message\"=~ /^$message$/ and \"deviceIP\"=~ /^$deviceIP$/ and ((\"message\"='Forwarding' and \"dropReason\"=~ /^$dropReason$/) or \"message\"='ACL') and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ and ($timeFilter) GROUP BY \"severity\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "*"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "title": "Severity",
      "transparent": true,
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "aliasColors": {
        "ACL": "#1F60C4",
        "Forwarding": "#E0B400"
      },
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_TELEGRAF}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 8,
        "y": 12
      },
      "id": 20,
      "interval": null,
      "legend": {
        "percentage": true,
        "show": true,
        "sort": null,
        "sortDesc": null,
        "values": false
      },
      "legendType": "On graph",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "donut",
      "strokeWidth": "3",
      "targets": [
        {
          "alias": "$tag_message",
          "groupBy": [
            {
              "params": [
                "deviceIP"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "wjh_socket_listener",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT  count(packet_ethernet_etherType) FROM \"DroppedPackets\" WHERE \"message\"=~ /^$message$/ and \"deviceIP\"=~ /^$deviceIP$/ and ((\"message\"='Forwarding' and \"dropReason\"=~ /^$dropReason$/) or \"message\"='ACL') and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ and \"severity\"=~ /^$severity$/ and ($timeFilter) GROUP BY \"message\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "*"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "title": "Drop Category",
      "transparent": true,
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorPostfix": false,
      "colorPrefix": false,
      "colorValue": false,
      "colors": [
        "#299c46",
        "rgba(237, 129, 40, 0.89)",
        "#d44a3a"
      ],
      "datasource": "${DS_TELEGRAF}",
      "format": "locale",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 11,
        "w": 5,
        "x": 17,
        "y": 12
      },
      "id": 9,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "100%",
      "prefix": "",
      "prefixFontSize": "100%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": true,
        "lineColor": "rgb(31, 120, 193)",
        "show": true
      },
      "tableColumn": "",
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT  count(packet_ethernet_etherType) as value FROM \"DroppedPackets\" WHERE \"message\"=~ /^$message$/ and \"deviceIP\"=~ /^$deviceIP$/ and ((\"message\"='Forwarding' and \"dropReason\"=~ /^$dropReason$/) or \"message\"='ACL') and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ and \"severity\"=~ /^$severity$/ and ($timeFilter)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": "",
      "timeFrom": null,
      "timeShift": null,
      "title": "Dropped Packets for selected time range and filters",
      "transparent": true,
      "type": "singlestat",
      "valueFontSize": "200%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "total"
    },
    {
      "aliasColors": {
        "": "rgb(87, 105, 221)",
        "Source MAC equals destination MAC": "#FF7383"
      },
      "breakPoint": "25%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_TELEGRAF}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 0,
        "y": 23
      },
      "id": 7,
      "interval": null,
      "legend": {
        "percentage": true,
        "show": true,
        "sort": null,
        "sortDesc": null,
        "values": false
      },
      "legendType": "On graph",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "donut",
      "strokeWidth": "1",
      "targets": [
        {
          "alias": "$tag_dropReason",
          "groupBy": [
            {
              "params": [
                "deviceIP"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "wjh_socket_listener",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT  count(\"packet_ethernet_etherType\") FROM \"DroppedPackets\" WHERE \"message\"=~ /^$message$/ and \"deviceIP\"=~ /^$deviceIP$/ and ((\"message\"='Forwarding' and \"dropReason\"=~ /^$dropReason$/) or \"message\"='ACL') and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ and \"severity\"=~ /^$severity$/ and ($timeFilter) GROUP BY \"dropReason\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "*"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "title": "Drop Reason",
      "transparent": true,
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "aliasColors": {
        "10.209.37.78": "#FFB357"
      },
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": "0.05"
      },
      "datasource": "${DS_TELEGRAF}",
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 8,
        "y": 23
      },
      "id": 4,
      "interval": null,
      "legend": {
        "header": "",
        "percentage": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "values": false
      },
      "legendType": "On graph",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "donut",
      "strokeWidth": "3",
      "targets": [
        {
          "alias": "$tag_deviceIP",
          "groupBy": [
            {
              "params": [
                "deviceIP"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "wjh_socket_listener",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT  count(packet_ethernet_etherType) FROM \"DroppedPackets\" WHERE \"message\"=~ /^$message$/ and \"deviceIP\"=~ /^$deviceIP$/ and ((\"message\"='Forwarding' and \"dropReason\"=~ /^$dropReason$/) or \"message\"='ACL') and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ and \"severity\"=~ /^$severity$/ and ($timeFilter) GROUP BY \"deviceIP\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "*"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "title": "Switches",
      "transparent": true,
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "aliasColors": {
        "transport": "#8F3BB8"
      },
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_TELEGRAF}",
      "fontSize": "100%",
      "format": "short",
      "gridPos": {
        "h": 11,
        "w": 7,
        "x": 16,
        "y": 23
      },
      "id": 6,
      "interval": null,
      "legend": {
        "percentage": true,
        "percentageDecimals": 0,
        "show": true,
        "sort": null,
        "sortDesc": null,
        "values": false
      },
      "legendType": "On graph",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "donut",
      "strokeWidth": "1",
      "targets": [
        {
          "alias": "$tag_packet_packetType",
          "groupBy": [
            {
              "params": [
                "deviceIP"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "wjh_socket_listener",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT  count(packet_ethernet_etherType) FROM \"DroppedPackets\" WHERE \"message\"=~ /^$message$/ and \"deviceIP\"=~ /^$deviceIP$/ and ((\"message\"='Forwarding' and \"dropReason\"=~ /^$dropReason$/) or \"message\"='ACL') and \"packet_ip_srcIp\"=~ /^$srcIp$/ and \"packet_ip_dstIp\"=~ /^$dstIp$/ and \"packet_ethernet_srcMac\"=~ /^$srcMac$/ and \"packet_ethernet_dstMac\"=~ /^$dstMac$/ \n and  \"packet_transport_dstPort\"=~ /^$dstPort$/ and \"severity\"=~ /^$severity$/ and ($timeFilter) GROUP BY \"packet_packetType\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "*"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Packet Type",
      "transparent": true,
      "type": "grafana-piechart-panel",
      "valueName": "current"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 18,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_TELEGRAF}",
        "definition": "SHOW TAG VALUES FROM DroppedPackets WITH KEY = severity",
        "hide": 0,
        "includeAll": true,
        "label": "Severity",
        "multi": true,
        "name": "severity",
        "options": [],
        "query": "SHOW TAG VALUES FROM DroppedPackets WITH KEY = severity",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_TELEGRAF}",
        "definition": "SHOW TAG VALUES FROM DroppedPackets WITH KEY = message",
        "hide": 0,
        "includeAll": true,
        "label": "Drop Category",
        "multi": true,
        "name": "message",
        "options": [],
        "query": "SHOW TAG VALUES FROM DroppedPackets WITH KEY = message",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_TELEGRAF}",
        "definition": "SHOW TAG VALUES FROM DroppedPackets WITH KEY = dropReason",
        "hide": 0,
        "includeAll": true,
        "label": "Drop Reason",
        "multi": true,
        "name": "dropReason",
        "options": [],
        "query": "SHOW TAG VALUES FROM DroppedPackets WITH KEY = dropReason",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_TELEGRAF}",
        "definition": "SHOW TAG VALUES FROM DroppedPackets WITH KEY = deviceIP",
        "hide": 0,
        "includeAll": true,
        "label": "Switch IP",
        "multi": true,
        "name": "deviceIP",
        "options": [],
        "query": "SHOW TAG VALUES FROM DroppedPackets WITH KEY = deviceIP",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 3,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "current": {
          "selected": true,
          "text": "*",
          "value": "*"
        },
        "hide": 0,
        "label": "SIP",
        "name": "srcIp",
        "options": [
          {
            "selected": true,
            "text": "*",
            "value": "*"
          }
        ],
        "query": "*",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": true,
          "text": "*",
          "value": "*"
        },
        "hide": 0,
        "label": "DIP",
        "name": "dstIp",
        "options": [
          {
            "selected": true,
            "text": "*",
            "value": "*"
          }
        ],
        "query": "*",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": true,
          "text": "*",
          "value": "*"
        },
        "hide": 0,
        "label": "SMAC",
        "name": "srcMac",
        "options": [
          {
            "selected": true,
            "text": "*",
            "value": "*"
          }
        ],
        "query": "*",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": true,
          "text": "*",
          "value": "*"
        },
        "hide": 0,
        "label": "DMAC",
        "name": "dstMac",
        "options": [
          {
            "selected": true,
            "text": "*",
            "value": "*"
          }
        ],
        "query": "*",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": true,
          "text": "*",
          "value": "*"
        },
        "hide": 0,
        "label": "DPort",
        "name": "dstPort",
        "options": [
          {
            "selected": true,
            "text": "*",
            "value": "*"
          }
        ],
        "query": "*",
        "skipUrlSync": false,
        "type": "textbox"
      }
    ]
  },
  "time": {
    "from": "now-5m",
    "to": "now"
  },
  "timepicker": {
    "hidden": false,
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "10m",
      "15m",
      "30m",
      "1h"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "Mellanox - What Just Happened? Monitoring",
  "uid": "XiWyzYZWk",
  "version": 70,
  "description": "The Monitoring Dashboard provides a real-time pane for monitoring \"What Just Happened?\" activity in the network.\n"
}