File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "alarms" : {
3+ "alert" : " >=5" ,
4+ "warning" : " >=1"
5+ },
6+ "enable" : true ,
7+ "elk_env" : " staging" ,
8+ "formula" : " ${Invalid_HTTP_Method_Count}" ,
9+ "monitor_id" : " Sample-Invalid_HTTP_Method_Count" ,
10+ "notify" : {
11+ "slack" : " https://${SLACK_WEB_HOOK_URL}"
12+ },
13+ "parameters" : {
14+ "Invalid_HTTP_Method_Count" : {
15+ "query" : {
16+ "bool" : {
17+ "must" : [
18+ {
19+ "match" : {
20+ "@service" : " sample"
21+ }
22+ },
23+ {
24+ "match" : {
25+ "@log_type" : " sample_nginx_access"
26+ }
27+ },
28+ {
29+ "match" : {
30+ "@env_phase" : " staging"
31+ }
32+ },
33+ {
34+ "range" : {
35+ "@timestamp" : {
36+ "gt" : " now-15m"
37+ }
38+ }
39+ },
40+ {
41+ "match" : {
42+ "request_url" : " /v1/sample.api"
43+ }
44+ },
45+ {
46+ "match" : {
47+ "http_status_code" : " 405"
48+ }
49+ }
50+ ]
51+ }
52+ }
53+ }
54+ }
55+ }
You can’t perform that action at this time.
0 commit comments