Created
April 6, 2021 20:54
-
-
Save prafiles/d0c1035cd00e6c51f38be8205fd12fae to your computer and use it in GitHub Desktop.
Cowrie Grafana Dashboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"id": 11, | |
"links": [], | |
"panels": [ | |
{ | |
"datasource": "MySQL - Cowrie", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 4, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "center", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.1.5", | |
"targets": [ | |
{ | |
"format": "table", | |
"group": [], | |
"metricColumn": "none", | |
"rawQuery": true, | |
"rawSql": "SELECT\n count(fingerprint)\nFROM keyfingerprints", | |
"refId": "A", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"id" | |
], | |
"type": "column" | |
} | |
] | |
], | |
"table": "keyfingerprints", | |
"timeColumn": "id", | |
"timeColumnType": "int", | |
"where": [ | |
{ | |
"name": "$__unixEpochFilter", | |
"params": [], | |
"type": "macro" | |
} | |
] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Unique Fingerprints", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "MySQL - Cowrie", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 4, | |
"y": 0 | |
}, | |
"id": 6, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "center", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"max" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.1.5", | |
"targets": [ | |
{ | |
"format": "table", | |
"group": [], | |
"metricColumn": "none", | |
"rawQuery": true, | |
"rawSql": "SELECT\n timestamp AS \"time\",\n id\nFROM input\nWHERE\n $__timeFilter(timestamp)\nORDER BY timestamp", | |
"refId": "A", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"id" | |
], | |
"type": "column" | |
} | |
] | |
], | |
"table": "auth", | |
"timeColumn": "timestamp", | |
"timeColumnType": "timestamp", | |
"where": [ | |
{ | |
"name": "$__timeFilter", | |
"params": [], | |
"type": "macro" | |
} | |
] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Inputs", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "MySQL - Cowrie", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 8, | |
"y": 0 | |
}, | |
"id": 8, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "center", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"max" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.1.5", | |
"targets": [ | |
{ | |
"format": "table", | |
"group": [], | |
"metricColumn": "none", | |
"rawQuery": true, | |
"rawSql": "SELECT\n count(distinct ip)\nFROM sessions\nWHERE\n $__timeFilter(starttime)\n", | |
"refId": "A", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"id" | |
], | |
"type": "column" | |
} | |
] | |
], | |
"table": "auth", | |
"timeColumn": "timestamp", | |
"timeColumnType": "timestamp", | |
"where": [ | |
{ | |
"name": "$__timeFilter", | |
"params": [], | |
"type": "macro" | |
} | |
] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Unique IPs", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "MySQL - Cowrie", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 10, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "center", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"last" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.1.5", | |
"targets": [ | |
{ | |
"format": "table", | |
"group": [], | |
"metricColumn": "none", | |
"rawQuery": true, | |
"rawSql": "SELECT\n count(id)\nFROM downloads\n", | |
"refId": "A", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"id" | |
], | |
"type": "column" | |
} | |
] | |
], | |
"table": "downloads", | |
"timeColumn": "timestamp", | |
"timeColumnType": "datetime", | |
"where": [ | |
{ | |
"name": "$__timeFilter", | |
"params": [], | |
"type": "macro" | |
} | |
] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Downloads", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "MySQL - Cowrie", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 4, | |
"x": 16, | |
"y": 0 | |
}, | |
"id": 12, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.1.5", | |
"targets": [ | |
{ | |
"format": "table", | |
"group": [], | |
"metricColumn": "none", | |
"rawQuery": true, | |
"rawSql": "SELECT\n count(id)\nFROM clients\n", | |
"refId": "A", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"id" | |
], | |
"type": "column" | |
} | |
] | |
], | |
"table": "clients", | |
"timeColumn": "id", | |
"timeColumnType": "int", | |
"where": [ | |
{ | |
"name": "$__unixEpochFilter", | |
"params": [], | |
"type": "macro" | |
} | |
] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Clients", | |
"type": "stat" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "MySQL - Cowrie", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 9, | |
"w": 24, | |
"x": 0, | |
"y": 5 | |
}, | |
"hiddenSeries": false, | |
"id": 2, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"maxDataPoints": 1, | |
"nullPointMode": "null", | |
"percentage": false, | |
"pluginVersion": "7.1.5", | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"format": "table", | |
"group": [], | |
"metricColumn": "none", | |
"rawQuery": true, | |
"rawSql": "SELECT\n timestamp AS \"time\",\n id\nFROM auth\nWHERE\n $__timeFilter(timestamp)\nORDER BY timestamp", | |
"refId": "A", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"id" | |
], | |
"type": "column" | |
} | |
] | |
], | |
"table": "auth", | |
"timeColumn": "timestamp", | |
"timeColumnType": "datetime", | |
"where": [ | |
{ | |
"name": "$__timeFilter", | |
"params": [], | |
"type": "macro" | |
} | |
] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Number of Auth Connections", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
} | |
], | |
"schemaVersion": 26, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-6h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
] | |
}, | |
"timezone": "", | |
"title": "Cowrie", | |
"uid": "grOSx5-Mz", | |
"version": 10 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment