Created
August 22, 2019 16:12
-
-
Save slim-bean/0212bfc7d5754cb23eab2eeafb6dd68b to your computer and use it in GitHub Desktop.
OSSEC Trends 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": 1, | |
"links": [], | |
"panels": [ | |
{ | |
"aliasColors": { | |
"drop": "semi-dark-red" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 0, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 6, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_firewall_total{job=\"ossec\",type=\"firewall\"}[1m])) by (action)", | |
"legendFormat": "{{ action }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Firewall Requests Per Minute", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"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 | |
} | |
}, | |
{ | |
"cards": { | |
"cardPadding": null, | |
"cardRound": null | |
}, | |
"color": { | |
"cardColor": "rgb(1, 252, 207)", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateGreens", | |
"exponent": 0.5, | |
"max": 10, | |
"mode": "spectrum" | |
}, | |
"dataFormat": "tsbuckets", | |
"datasource": "Prometheus", | |
"gridPos": { | |
"h": 8, | |
"w": 24, | |
"x": 0, | |
"y": 8 | |
}, | |
"heatmap": {}, | |
"hideZeroBuckets": true, | |
"highlightCards": true, | |
"id": 11, | |
"legend": { | |
"show": false | |
}, | |
"options": {}, | |
"reverseYBuckets": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",type=~\"^alerts{0,}$\"}[5m])) by (level)", | |
"format": "time_series", | |
"instant": false, | |
"legendFormat": "Level {{ level }}", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "OSSEC Alert 5m Rate", | |
"tooltip": { | |
"show": true, | |
"showHistogram": false | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketNumber": null, | |
"xBucketSize": null, | |
"yAxis": { | |
"decimals": null, | |
"format": "short", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true, | |
"splitFactor": null | |
}, | |
"yBucketBound": "middle", | |
"yBucketNumber": null, | |
"yBucketSize": null | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 6, | |
"w": 24, | |
"x": 0, | |
"y": 16 | |
}, | |
"id": 2, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"01\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 1 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"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": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 22 | |
}, | |
"id": 13, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"02\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 2 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"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": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 29 | |
}, | |
"id": 14, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"03\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 3 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"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": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 36 | |
}, | |
"id": 15, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"04\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 4 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 43 | |
}, | |
"id": 16, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"05\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 5 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 50 | |
}, | |
"id": 17, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"06\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 6 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 57 | |
}, | |
"id": 18, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"07\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 7 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 64 | |
}, | |
"id": 19, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"08\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 8 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 71 | |
}, | |
"id": 20, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"09\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 9 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 78 | |
}, | |
"id": 21, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"10\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 10 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 85 | |
}, | |
"id": 22, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"11\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 11 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 92 | |
}, | |
"id": 23, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"12\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 12 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 99 | |
}, | |
"id": 24, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"13\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 13 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 106 | |
}, | |
"id": 25, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"14\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 14 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"01": "dark-green" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus", | |
"fill": 1, | |
"fillGradient": 5, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 113 | |
}, | |
"id": 26, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"dataLinks": [] | |
}, | |
"percentage": false, | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "01", | |
"color": "#C8F2C2" | |
}, | |
{ | |
"alias": "02", | |
"color": "#96D98D" | |
}, | |
{ | |
"alias": "03", | |
"color": "#56A64B" | |
}, | |
{ | |
"alias": "04", | |
"color": "#37872D" | |
}, | |
{ | |
"alias": "05", | |
"color": "#FFF899" | |
}, | |
{ | |
"alias": "06", | |
"color": "#FFEE52" | |
}, | |
{ | |
"alias": "07", | |
"color": "#F2CC0C" | |
}, | |
{ | |
"alias": "08", | |
"color": "#E0B400" | |
}, | |
{ | |
"alias": "09", | |
"color": "#FFA6B0" | |
}, | |
{ | |
"alias": "10", | |
"color": "#FF7383" | |
}, | |
{ | |
"alias": "11", | |
"color": "#E02F44" | |
}, | |
{ | |
"alias": "12", | |
"color": "#C4162A" | |
}, | |
{ | |
"alias": "13", | |
"color": "#CA95E5" | |
}, | |
{ | |
"alias": "14", | |
"color": "#A352CC" | |
}, | |
{ | |
"alias": "15", | |
"color": "#8F3BB8" | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(increase(promtail_custom_ossec_alerts_total{job=\"ossec\",level=\"15\",type=~\"^alerts{0,}$\"}[30m])) by (level)", | |
"legendFormat": "{{ level }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Level 15 30m Alert Rate", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
} | |
], | |
"refresh": "1m", | |
"schemaVersion": 19, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-12h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
] | |
}, | |
"timezone": "", | |
"title": "OSSEC Trends", | |
"uid": "jAYuCINWz", | |
"version": 27 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great work- you've saved me days!