Skip to content

Commit

Permalink
Merge pull request #155 from AccessibleAI/DEV-21208-upgrade-elastalert2
Browse files Browse the repository at this point in the history
Upgrade ElastAlert from v1 to v2
  • Loading branch information
OfirCnvrg authored Jan 4, 2024
2 parents a2be5a6 + 9fd6bb9 commit 98f3d1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion api/v1/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var fluentbitDefault = Fluentbit{
var cnvrgAppLoggingDefault = CnvrgAppLogging{
Elastalert: Elastalert{
Enabled: false,
Image: "elastalert:3.0.0-beta.1",
Image: "elastalert2:server-2.15",
CredsRef: "elastalert-creds",
AuthProxyImage: "nginx:1.20",
Port: 80,
Expand Down
14 changes: 2 additions & 12 deletions pkg/logging/tmpl/elastalert/cm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@ data:
"wsport": 3333,
"elastalertPath": "/opt/elastalert",
"verbose": true,
"use_ssl": false,
"verify_certs": false,
"run_every": {
"minutes": 1
},
"buffer_time": {
"minutes": 15
},
"alert_time_limit": {
"days": 2
},
"rules_folder": "rules",
"rulesPath": {
"relative": true,
"path": "/rules"
Expand All @@ -45,6 +33,8 @@ data:
},
"es_host": "{{ .Spec.Dbs.Es.SvcName }}",
"es_port": {{ .Spec.Dbs.Es.Port }},
"es_ssl": false,
"ea_verify_certs": false,
"writeback_index": "elastalert_status"
}
config.yaml: |
Expand Down

0 comments on commit 98f3d1e

Please sign in to comment.