/teler-dashboard.json Secret
Last active
January 1, 2021 15:41
Grafana Dashboard for teler
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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_TELER_DATA SOURCE", | |
"label": "Teler Data Source", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} | |
], | |
"__requires": [ | |
{ | |
"type": "panel", | |
"id": "bargauge", | |
"name": "Bar gauge", | |
"version": "" | |
}, | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "7.3.6" | |
}, | |
{ | |
"type": "datasource", | |
"id": "prometheus", | |
"name": "Prometheus", | |
"version": "1.0.0" | |
}, | |
{ | |
"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": null, | |
"graphTooltip": 0, | |
"id": null, | |
"iteration": 1609515116790, | |
"links": [], | |
"panels": [ | |
{ | |
"datasource": "${DS_TELER_DATA SOURCE}", | |
"description": "Total number of detected threats", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 7, | |
"options": { | |
"displayMode": "gradient", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"sum" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showUnfilled": true | |
}, | |
"pluginVersion": "7.3.6", | |
"targets": [ | |
{ | |
"expr": "teler_threats_count_total", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$__interval", | |
"legendFormat": "{{case}}", | |
"queryType": "randomWalk", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Total number of detected threats", | |
"type": "bargauge" | |
}, | |
{ | |
"datasource": "${DS_TELER_DATA SOURCE}", | |
"description": "Total number of Bad IP Addresses", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 9, | |
"options": { | |
"displayMode": "gradient", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"sum" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showUnfilled": true | |
}, | |
"pluginVersion": "7.3.6", | |
"targets": [ | |
{ | |
"expr": "teler_badip_count", | |
"interval": "$__interval", | |
"legendFormat": "{{remote_addr}}", | |
"queryType": "randomWalk", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Total number of Bad IP Addresses", | |
"type": "bargauge" | |
}, | |
{ | |
"datasource": "${DS_TELER_DATA SOURCE}", | |
"description": "List of Common Web Attacks", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Time" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 145 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 8 | |
}, | |
"id": 3, | |
"links": [], | |
"options": { | |
"showHeader": true, | |
"sortBy": [ | |
{ | |
"desc": true, | |
"displayName": "Time" | |
} | |
] | |
}, | |
"pluginVersion": "7.3.6", | |
"targets": [ | |
{ | |
"expr": "rate(teler_cwa[5m])", | |
"format": "table", | |
"instant": false, | |
"interval": "$__interval", | |
"legendFormat": "{{description}}", | |
"queryType": "randomWalk", | |
"refId": "A" | |
} | |
], | |
"title": "Common Web Attacks", | |
"transformations": [ | |
{ | |
"id": "organize", | |
"options": { | |
"excludeByName": { | |
"Value": true, | |
"instance": true, | |
"job": true | |
}, | |
"indexByName": {}, | |
"renameByName": {} | |
} | |
} | |
], | |
"type": "table" | |
}, | |
{ | |
"datasource": "${DS_TELER_DATA SOURCE}", | |
"description": "Lists of Directories Bruteforce", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 8 | |
}, | |
"id": 5, | |
"options": { | |
"showHeader": true, | |
"sortBy": [ | |
{ | |
"desc": false, | |
"displayName": "remote_addr" | |
} | |
] | |
}, | |
"pluginVersion": "7.3.6", | |
"targets": [ | |
{ | |
"expr": "rate(teler_dir_bruteforce[5m])", | |
"format": "table", | |
"instant": false, | |
"interval": "$__interval", | |
"legendFormat": "{{instance}}", | |
"queryType": "randomWalk", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Directories Bruteforce", | |
"transformations": [ | |
{ | |
"id": "organize", | |
"options": { | |
"excludeByName": { | |
"Value": true, | |
"instance": true, | |
"job": true | |
}, | |
"indexByName": {}, | |
"renameByName": {} | |
} | |
} | |
], | |
"type": "table" | |
}, | |
{ | |
"datasource": "${DS_TELER_DATA SOURCE}", | |
"description": "Lists of Bad Crawler requests", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "status" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 145 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "http_user_agent" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 313 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 16 | |
}, | |
"id": 11, | |
"options": { | |
"showHeader": true, | |
"sortBy": [] | |
}, | |
"pluginVersion": "7.3.6", | |
"targets": [ | |
{ | |
"expr": "teler_badcrawler", | |
"format": "table", | |
"interval": "$__interval", | |
"legendFormat": "{{description}}", | |
"queryType": "randomWalk", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Bad Crawler requests", | |
"transformations": [ | |
{ | |
"id": "organize", | |
"options": { | |
"excludeByName": { | |
"__name__": true, | |
"instance": true, | |
"job": true | |
}, | |
"indexByName": {}, | |
"renameByName": {} | |
} | |
} | |
], | |
"type": "table" | |
}, | |
{ | |
"datasource": "${DS_TELER_DATA SOURCE}", | |
"description": "Lists of Bad Referrer requests", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 16 | |
}, | |
"id": 13, | |
"options": { | |
"showHeader": true, | |
"sortBy": [ | |
{ | |
"desc": true, | |
"displayName": "Time" | |
} | |
] | |
}, | |
"pluginVersion": "7.3.6", | |
"targets": [ | |
{ | |
"expr": "teler_bad_referrer", | |
"format": "table", | |
"instant": false, | |
"interval": "$__interval", | |
"legendFormat": "", | |
"queryType": "randomWalk", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Bad Referrer requests", | |
"transformations": [ | |
{ | |
"id": "organize", | |
"options": { | |
"excludeByName": { | |
"__name__": true, | |
"instance": true, | |
"job": true | |
}, | |
"indexByName": {}, | |
"renameByName": { | |
"__name__": "", | |
"http_referer": "", | |
"instance": "" | |
} | |
} | |
} | |
], | |
"type": "table" | |
} | |
], | |
"refresh": "5s", | |
"schemaVersion": 26, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"datasource": "Teler Data Source", | |
"error": null, | |
"filters": [], | |
"hide": 0, | |
"label": null, | |
"name": "Filters", | |
"skipUrlSync": false, | |
"type": "adhoc" | |
} | |
] | |
}, | |
"time": { | |
"from": "now-15m", | |
"to": "now" | |
}, | |
"timepicker": { | |
"hidden": false, | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
], | |
"type": "timepicker" | |
}, | |
"timezone": "Asia/Jakarta", | |
"title": "Teler Dashboard", | |
"uid": "teler-dashboard", | |
"version": 6 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment