VS
Size: a a a
VS
GM
ЕО
A
A
AS
AS
ЕО
AS
G
v19.16.2.2-stable
A
A
root@foo [/opt/elastalert]: elastalert-test-rule --config /opt/elastalert/config.yaml /opt/elastalert/rules/nginx_rate_limit.yaml
INFO:elastalert:Note: In debug mode, alerts will be logged to console but NOT actually sent.
To send them but remain verbose, use --verbose instead.
Didn't get any results.
INFO:elastalert:Note: In debug mode, alerts will be logged to console but NOT actually sent.
To send them but remain verbose, use --verbose instead.
1 rules loaded
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
Traceback (most recent call last):
File "/usr/local/bin/elastalert-test-rule", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/elastalert/test_rule.py", line 445, in main
test_instance.run_rule_test()
File "/usr/local/lib/python3.5/dist-packages/elastalert/test_rule.py", line 437, in run_rule_test
self.run_elastalert(rule_yaml, conf, args)
File "/usr/local/lib/python3.5/dist-packages/elastalert/test_rule.py", line 318, in run_elastalert
client.run_rule(rule, endtime, starttime)
File "/usr/local/lib/python3.5/dist-packages/elastalert/elastalert.py", line 883, in run_rule
if not self.run_query(rule, rule['starttime'], tmp_endtime):
File "/usr/local/lib/python3.5/dist-packages/elastalert/elastalert.py", line 632, in run_query
data = self.get_hits(rule, start, end, index, scroll)
File "/usr/local/lib/python3.5/dist-packages/elastalert/elastalert.py", line 383, in get_hits
**extra_args
File "/usr/local/lib/python3.5/dist-packages/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
TypeError: search() got an unexpected keyword argument '_source_include'
A
A
ЕО
A
A
A
A
A