
ProcessController:
ERROR:root:Traceback (most recent call last):


 "/opt/elastalert/elastalert/elastalert.py", line 1245, in handle_rule_execution

num_matches = self.run_rule(rule, endtime, rule.get('initial_starttime'))


 "/opt/elastalert/elastalert/elastalert.py", line 950, in run_rule

self.writeback('elastalert_status', body)


 "/opt/elastalert/elastalert/elastalert.py", line 1578, in writeback

res = self.writeback_es.index(index=index, body=body)


 "/usr/lib/python2.7/site-packages/elasticsearch-6.4.0-py2.7.egg/elasticsearch/client/utils.py", line 84, in _wrapped

return func(*args, params=params, **kwargs)

TypeError: index() takes at least 4 arguments (4 given)

Traceback (most recent call last):


 "c:\users\mjhen\appdata\local\programs\python\python39\lib\threading.py", line 950, in _bootstrap_inner

self.run()


 "c:\users\mjhen\appdata\local\programs\python\python39\lib\threading.py", line 888, in run

self._target(*self._args, **self._kwargs)


 "c:\users\mjhen\appdata\local\programs\python\python39\lib\multiprocessing\pool.py", line 576, in _handle_results

task = get()


 "c:\users\mjhen\appdata\local\programs\python\python39\lib\multiprocessing\connection.py", line 256, in recv

return _ForkingPickler.loads(buf.getbuffer())
TypeError: __init__() missing 1 required positional argument: 'pattern'