New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker run error and elasticsearch 7.7.0 #2995
Comments
ElastAlert Server Docker Images
example elasticsearch:7.7.0 praeco/nginx_config/default.conf
Dockerfiles/Dockerfile.elastalert
docker-compose.yml
es/config/elasticsearch.yml
kibana/config/kibana.yml
praeco/bin/elastalert-start.sh
praeco/bin/elastic_search_status.sh
praeco/config/api.config.json Default settings
praeco/config/elastalert.yaml Default settings
praeco/public/praeco.config.json Default settings
setting
|
@nsano-rururu if it works in 7.7, is there any particular reason why 7.0 is still listed as requirement on setup? Line 8 in 1dc4f30
|
thanks! i'm looking at fixing CVEs opened in my docker image and 7.0.0 has this CVE which is only closed on versions >7.2.1. i'll make some tests to see if i can upgrade it. |
yes发自我的华为手机-------- 原始邮件 --------发件人: Naoyuki Sano <notifications@github.com>日期: 2020年12月16日周三 清晨6:28收件人: Yelp/elastalert <elastalert@noreply.github.com>抄送: papioyue <16619765933@163.com>, Mention <mention@noreply.github.com>主 题: Re: [Yelp/elastalert] docker run error and elasticsearch 7.7.0 (#2995)
Please close if resolved
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
how can i use this by es 6.x.x ? |
15:13:58.664Z ERROR elastalert-server:
ProcessController: Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
15:13:58.665Z ERROR elastalert-server:
ProcessController: "main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/opt/elastalert/elastalert/elastalert.py", line 1929, in
sys.exit(main(sys.argv[1:]))
File "/opt/elastalert/elastalert/elastalert.py", line 1925, in main
15:13:58.665Z ERROR elastalert-server:
ProcessController: client.start()
File "/opt/elastalert/elastalert/elastalert.py", line 1106, in start
15:13:58.665Z ERROR elastalert-server:
ProcessController: self.run_all_rules()
File "/opt/elastalert/elastalert/elastalert.py", line 1158, in run_all_rules
15:13:58.666Z ERROR elastalert-server:
ProcessController: self.send_pending_alerts()
File "/opt/elastalert/elastalert/elastalert.py", line 1534, in send_pending_alerts
15:13:58.666Z ERROR elastalert-server:
ProcessController: pending_alerts = self.find_recent_pending_alerts(self.alert_time_limit)
15:13:58.666Z ERROR elastalert-server:
ProcessController: File "/opt/elastalert/elastalert/elastalert.py", line 1526, in find_recent_pending_alerts
15:13:58.667Z ERROR elastalert-server:
ProcessController: size=1000)
15:13:58.667Z ERROR elastalert-server:
ProcessController: File "/usr/lib/python2.7/site-packages/elasticsearch-7.0.1-py2.7.egg/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
TypeError: search() got an unexpected keyword argument 'doc_type'
15:13:58.711Z ERROR elastalert-server: ProcessController: ElastAlert exited with code 1
15:13:58.711Z INFO elastalert-server: Server: Stopping server
15:13:58.711Z INFO elastalert-server: ProcessController: ElastAlert is not running
15:13:58.711Z INFO elastalert-server: Server: Server stopped. Bye!
The text was updated successfully, but these errors were encountered: