Skip to content

Commit cefeff2

Browse files
committed
Update example configs
1 parent 3711181 commit cefeff2

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

config/config-hisoric-data-example.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"appName": "elastalert-server",
33
"port": 3030,
4+
"wsport": 3333,
45
"elastalertPath": "/opt/elastalert",
56
"start": "2014-01-01T00:00:00",
67
"end": "2016-01-01T00:00:00",
@@ -14,5 +15,9 @@
1415
"templatesPath": {
1516
"relative": true,
1617
"path": "/rule_templates"
17-
}
18+
},
19+
"es_host": "elasticsearch",
20+
"es_port": 9200,
21+
"writeback_index": "elastalert_status"
22+
1823
}

config/config-local-elastalert-installation.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"appName": "elastalert-server",
33
"port": 3030,
4+
"wsport": 3333,
45
"elastalertPath": "/opt/elastalert",
56
"verbose": false,
67
"es_debug": false,
@@ -12,5 +13,9 @@
1213
"templatesPath": {
1314
"relative": false,
1415
"path": "/opt/elastalert/rule_templates"
15-
}
16+
},
17+
"es_host": "elasticsearch",
18+
"es_port": 9200,
19+
"writeback_index": "elastalert_status"
20+
1621
}

config/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"appName": "elastalert-server",
33
"port": 3030,
4-
"elastalertPath": "/opt/elastalert",
54
"wsport": 3333,
5+
"elastalertPath": "/opt/elastalert",
66
"verbose": false,
77
"es_debug": false,
88
"debug": false,
@@ -14,7 +14,7 @@
1414
"relative": true,
1515
"path": "/rule_templates"
1616
},
17-
"es_host": "localhost",
17+
"es_host": "elasticsearch",
1818
"es_port": 9200,
1919
"writeback_index": "elastalert_status"
2020
}

0 commit comments

Comments
 (0)