Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "alert": {
- "conditions": [
- {
- "evaluator": {
- "params": [
- 5000
- ],
- "type": "gt"
- },
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "5m",
- "now"
- ]
- },
- "reducer": {
- "params": [],
- "type": "max"
- },
- "type": "query"
- },
- {
- "evaluator": {
- "params": [
- 600
- ],
- "type": "gt"
- },
- "operator": {
- "type": "or"
- },
- "query": {
- "params": [
- "B",
- "5m",
- "now"
- ]
- },
- "reducer": {
- "params": [],
- "type": "max"
- },
- "type": "query"
- }
- ],
- "executionErrorState": "alerting",
- "frequency": "60s",
- "handler": 1,
- "message": "Количество переходов /idp/login/pwd/do за 5 минут достигло 5000 или 600 ошибочных.",
- "name": "Requests /idp/login/pwd/do alert",
- "noDataState": "alerting",
- "notifications": []
- },
- "aliasColors": {
- "408": "#6ed0e0",
- "499": "#e5ac0e",
- "502": "#890f02",
- "Count": "#bf1b00",
- "ERROR count": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "nlbext",
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Request count",
- "yaxis": 1
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Request count",
- "bucketAggs": [
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "hide": false,
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- }
- ],
- "query": "request_uri.keyword : \"/idp/login/pwd/do\"",
- "refId": "A",
- "timeField": "@timestamp"
- },
- {
- "alias": "",
- "bucketAggs": [
- {
- "fake": true,
- "field": "status",
- "id": "3",
- "settings": {
- "min_doc_count": 1,
- "order": "desc",
- "orderBy": "_term",
- "size": "10"
- },
- "type": "terms"
- },
- {
- "field": "@timestamp",
- "id": "2",
- "settings": {
- "interval": "auto",
- "min_doc_count": 0,
- "trimEdges": 0
- },
- "type": "date_histogram"
- }
- ],
- "hide": false,
- "metrics": [
- {
- "field": "select field",
- "id": "1",
- "type": "count"
- }
- ],
- "query": "request_uri.keyword : \"/idp/login/pwd/do\" AND status: [ 404 TO 526 ]",
- "refId": "B",
- "timeField": "@timestamp"
- }
- ],
- "thresholds": [
- {
- "value": 5000,
- "op": "gt",
- "fill": true,
- "line": true,
- "colorMode": "critical"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Requests /idp/login/pwd/do",
- "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
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement