Grafana dashboard: SELKS SN-DNP3
Description: Dashboard SELKS for Grafana
SN-DNP3
https://github.com/b4b857f6ee/selks_grafana_dashboard

Follow the information here : https://github.com/b4b857f6ee/selks_grafana_dashboard
And find more dashboard on the github repo
Needed : https://www.stamus-networks.com/scirius-open-source

{
  "__inputs": [],
  "__requires": [
    {
      "type": "datasource",
      "id": "elasticsearch",
      "name": "Elasticsearch",
      "version": "1.0.0"
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.2.1"
    },
    {
      "type": "panel",
      "id": "grafana-piechart-panel",
      "name": "Pie Chart",
      "version": "1.3.9"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 13232,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1603301058706,
  "links": [],
  "panels": [
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "",
        "threshold": 0
      },
      "datasource": "$Elastcisearch",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "string"
        },
        "overrides": []
      },
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 10,
        "w": 6,
        "x": 0,
        "y": 0
      },
      "id": 8,
      "interval": null,
      "legend": {
        "percentage": false,
        "show": true,
        "values": false
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "pluginVersion": "7.2.1",
      "strokeWidth": 1,
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:10100",
              "fake": true,
              "field": "dnp3.iin.indicators.keyword",
              "id": "3",
              "settings": {
                "min_doc_count": 0,
                "order": "asc",
                "orderBy": "_count",
                "size": "20"
              },
              "type": "terms"
            },
            {
              "$$hashKey": "object:10052",
              "field": "@timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:10050",
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-ByIndicators",
      "type": "grafana-piechart-panel",
      "valueName": "total"
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "",
        "threshold": 0
      },
      "datasource": "$Elastcisearch",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "string"
        },
        "overrides": []
      },
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 10,
        "w": 6,
        "x": 6,
        "y": 0
      },
      "id": 36,
      "interval": null,
      "legend": {
        "percentage": false,
        "show": true,
        "values": false
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "pluginVersion": "7.2.1",
      "strokeWidth": "1",
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:10185",
              "fake": true,
              "field": "dnp3.dst",
              "id": "3",
              "settings": {
                "min_doc_count": 0,
                "order": "asc",
                "orderBy": "_term",
                "size": "20"
              },
              "type": "terms"
            },
            {
              "$$hashKey": "object:10173",
              "field": "@timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:10171",
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-ByDst",
      "type": "grafana-piechart-panel",
      "valueName": "total"
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "",
        "threshold": 0
      },
      "datasource": "$Elastcisearch",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "string"
        },
        "overrides": []
      },
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 10,
        "w": 6,
        "x": 12,
        "y": 0
      },
      "id": 37,
      "interval": null,
      "legend": {
        "percentage": false,
        "show": true,
        "values": false
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "pluginVersion": "7.2.1",
      "strokeWidth": 1,
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:10270",
              "fake": true,
              "field": "dnp3.type.keyword",
              "id": "3",
              "settings": {
                "min_doc_count": "1",
                "order": "desc",
                "orderBy": "_count",
                "size": "20"
              },
              "type": "terms"
            },
            {
              "$$hashKey": "object:10258",
              "field": "@timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:10256",
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-ByType",
      "type": "grafana-piechart-panel",
      "valueName": "total"
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "",
        "threshold": 0
      },
      "datasource": "$Elastcisearch",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "string"
        },
        "overrides": []
      },
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 10,
        "w": 6,
        "x": 18,
        "y": 0
      },
      "id": 38,
      "interval": null,
      "legend": {
        "percentage": false,
        "show": true,
        "values": false
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "pluginVersion": "7.2.1",
      "strokeWidth": 1,
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:10355",
              "fake": true,
              "field": "dnp3.src",
              "id": "3",
              "settings": {
                "min_doc_count": "1",
                "order": "desc",
                "orderBy": "_count",
                "size": "20"
              },
              "type": "terms"
            },
            {
              "$$hashKey": "object:10343",
              "field": "@timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:10341",
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-BySrc",
      "type": "grafana-piechart-panel",
      "valueName": "total"
    },
    {
      "datasource": "$Elastcisearch",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "displayMode": "color-text",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "alert.signature.keyword"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 493
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 7,
        "x": 0,
        "y": 10
      },
      "id": 6,
      "options": {
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "7.2.1",
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:9718",
              "fake": true,
              "field": "src_ip.keyword",
              "id": "3",
              "settings": {
                "min_doc_count": "1",
                "order": "desc",
                "orderBy": "_count",
                "size": "20"
              },
              "type": "terms"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:9630",
              "field": "src_ip.keyword",
              "id": "1",
              "meta": {},
              "settings": {},
              "type": "count"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-BySrcIP",
      "transformations": [
        {
          "id": "organize",
          "options": {}
        }
      ],
      "type": "table"
    },
    {
      "datasource": "$Elastcisearch",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "displayMode": "color-text",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "alert.signature.keyword"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 493
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 5,
        "x": 7,
        "y": 10
      },
      "id": 33,
      "options": {
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "7.2.1",
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:9805",
              "fake": true,
              "field": "src_port",
              "id": "3",
              "settings": {
                "min_doc_count": "1",
                "order": "desc",
                "orderBy": "_term",
                "size": "20"
              },
              "type": "terms"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:9791",
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-BySrcPort",
      "type": "table"
    },
    {
      "datasource": "$Elastcisearch",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "displayMode": "color-text",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "alert.signature.keyword"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 493
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 7,
        "x": 12,
        "y": 10
      },
      "id": 34,
      "options": {
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "7.2.1",
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:9886",
              "fake": true,
              "field": "dest_ip.keyword",
              "id": "3",
              "settings": {
                "min_doc_count": "1",
                "order": "asc",
                "orderBy": "_term",
                "size": "20"
              },
              "type": "terms"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:9872",
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-ByDestIP",
      "type": "table"
    },
    {
      "datasource": "$Elastcisearch",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "displayMode": "color-text",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "alert.signature.keyword"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 493
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 5,
        "x": 19,
        "y": 10
      },
      "id": 35,
      "options": {
        "showHeader": true,
        "sortBy": []
      },
      "pluginVersion": "7.2.1",
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:9951",
              "fake": true,
              "field": "dest_port",
              "id": "3",
              "settings": {
                "min_doc_count": "1",
                "order": "desc",
                "orderBy": "_count",
                "size": "20"
              },
              "type": "terms"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:9937",
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-ByDestPort",
      "transformations": [],
      "type": "table"
    },
    {
      "datasource": "$Elastcisearch",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "left",
            "filterable": false
          },
          "mappings": [],
          "max": 10000,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "string"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 20
      },
      "id": 3,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "/^Count$/",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.2.1",
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:9341",
              "field": "@timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:9339",
              "field": "select field",
              "id": "1",
              "type": "count"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-Count",
      "type": "stat"
    },
    {
      "datasource": "$Elastcisearch",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "displayMode": "color-text",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 24,
        "w": 24,
        "x": 0,
        "y": 26
      },
      "id": 20,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "alert.category"
          }
        ]
      },
      "pluginVersion": "7.2.1",
      "targets": [
        {
          "bucketAggs": [
            {
              "$$hashKey": "object:10408",
              "field": "@timestamp",
              "id": "2",
              "settings": {
                "interval": "auto",
                "min_doc_count": 0,
                "trimEdges": 0
              },
              "type": "date_histogram"
            }
          ],
          "metrics": [
            {
              "$$hashKey": "object:10406",
              "field": "select field",
              "id": "1",
              "meta": {},
              "settings": {},
              "type": "logs"
            }
          ],
          "query": "logstash-dnp3-* AND event_type:dnp3",
          "refId": "A",
          "timeField": "@timestamp"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "SN-DNP3-EventsList",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "@timestamp",
                "dest_ip",
                "dest_port",
                "src_ip",
                "src_port",
                "dnp3.type",
                "dnp3.application.function_code"
              ]
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {
              "@timestamp": 0,
              "dest_ip": 3,
              "dest_port": 4,
              "dnp3.application.function_code": 6,
              "dnp3.type": 5,
              "src_ip": 1,
              "src_port": 2
            },
            "renameByName": {}
          }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": false,
  "schemaVersion": 26,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "Elasticsearch",
          "value": "Elasticsearch"
        },
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "Elastcisearch",
        "options": [],
        "query": "elasticsearch",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      }
    ]
  },
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "SELKS SN-DNP3",
  "uid": "3e04uHtMz",
  "version": 8,
  "description": "Dashboard SELKS for Grafana\nSN-DNP3\nhttps://github.com/b4b857f6ee/selks_grafana_dashboard"
}