Traceback (most recent call last):


 "/usr/local/bin/elastalert-test-rule", line 8, in <module>

sys.exit(main())


 "/usr/local/python3.6/lib/python3.6/site-packages/elastalert/test_rule.py", line 445, in main

test_instance.run_rule_test()


 "/usr/local/python3.6/lib/python3.6/site-packages/elastalert/test_rule.py", line 437, in run_rule_test

self.run_elastalert(rule_yaml, conf, args)


 "/usr/local/python3.6/lib/python3.6/site-packages/elastalert/test_rule.py", line 318, in run_elastalert

client.run_rule(rule, endtime, starttime)


 "/usr/local/python3.6/lib/python3.6/site-packages/elastalert/elastalert.py", line 883, in run_rule

if not self.run_query(rule, rule['starttime'], tmp_endtime):


 "/usr/local/python3.6/lib/python3.6/site-packages/elastalert/elastalert.py", line 632, in run_query

data = self.get_hits(rule, start, end, index, scroll)


 "/usr/local/python3.6/lib/python3.6/site-packages/elastalert/elastalert.py", line 383, in get_hits

**extra_args


 "/usr/local/python3.6/lib/python3.6/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped

return func(*args, params=params, **kwargs)
TypeError: search() got an unexpected keyword argument '_source_include'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "/usr/local/lib/python3.6/threading.py", line 864, in run

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


 "/opt/coco/coco/sshd.py", line 96, in handle_chan

self.dispatch(client)


 "/opt/coco/coco/sshd.py", line 102, in dispatch

InteractiveServer(self.app, client).interact()


 "/opt/coco/coco/interactive.py", line 296, in interact

rv = self.dispatch(opt)


 "/opt/coco/coco/interactive.py", line 138, in dispatch

self.search_and_proxy(opt)


 "/opt/coco/coco/interactive.py", line 275, in search_and_proxy

if len(self.search_result) == 1:
TypeError: object of type 'NoneType' has no len()
