Testing rule with ES version 5.2.2 fails
I have created rules with ES version 2.4.4 (works fine) and now trying with ES version 5.2.2. With 5.2.2 same rule gives this error below. OS version (Ubuntu 16.04) is same for both ES versions.
root@haproxydbmon:/usr/local/elastalert# elastalert-test-rule es_rules/es_change.yaml
Traceback (most recent call last):
File "/usr/local/bin/elastalert-test-rule", line 9, in
With version 2.4.4 same command runs as follows: root@haproxy:/usr/local/elastalert# elastalert-test-rule es_rules/es_change.yaml Successfully loaded es change
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 10.236.133.196 INFO:elastalert:Note: In debug mode, alerts will be logged to console but NOT actually sent. To send them, use --verbose. INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 10.236.133.196 INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 10.236.133.196
Sorry, this is a result of a change pushed live today. I'll fix it right away.
Thanks. Very fast response!!
Fixed in master: https://github.com/Yelp/elastalert/commit/c9fd1959878e57983827555533bb6b924bb02c82