ERROR:root:Traceback (most recent call last):
File "/root/elastalert/elastalert/elastalert.py", line 1270, in handle_rule_execution
num_matches = self.run_rule(rule, endtime, rule.get('initial_starttime'))
File "/root/elastalert/elastalert/elastalert.py", line 905, in run_rule
if not self.run_query(rule, rule['starttime'], endtime):
File "/root/elastalert/elastalert/elastalert.py", line 634, in run_query
data = self.get_hits(rule, start, end, index, scroll)
File "/root/elastalert/elastalert/elastalert.py", line 385, in get_hits
**extra_args
File "/usr/local/python3/lib/python3.6/site-packages/elasticsearch-7.0.5-py3.6.egg/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
TypeError: search() got an unexpected keyword argument '_source_include'
File "/root/elastalert/elastalert/elastalert.py", line 1270, in handle_rule_execution
num_matches = self.run_rule(rule, endtime, rule.get('initial_starttime'))
File "/root/elastalert/elastalert/elastalert.py", line 905, in run_rule
if not self.run_query(rule, rule['starttime'], endtime):
File "/root/elastalert/elastalert/elastalert.py", line 634, in run_query
data = self.get_hits(rule, start, end, index, scroll)
File "/root/elastalert/elastalert/elastalert.py", line 385, in get_hits
**extra_args
File "/usr/local/python3/lib/python3.6/site-packages/elasticsearch-7.0.5-py3.6.egg/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
TypeError: search() got an unexpected keyword argument '_source_include'
0 个回复