-
Notifications
You must be signed in to change notification settings - Fork 216
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
Failing to start #153
Comments
Same here has to do with new version that was launched this week seeing last update in the repo might be a while. |
Same. Any updates? |
same problem. container can not be started |
See Yelp/elastalert, Python 3 is required for
The version was bumped here. Yes, the naming and versioning of these two projects is confusing... |
getting the following error if i try to build using the above command,
Also tried to run with the already hosted image "bitsensor/elastalert:2.0.0" which uses v0.1.39 build of elastalert I believe and getting the following error
|
same problem. container can not be started Following is my pod.yaml
rewrite docker image command to : sleep 10000, then exec container ,see following :
user: node creates a directory in root's directory: elastalert |
Hello,
CentOS 7
Docker: Docker version 19.03.5, build 633a0ea
ES, Kibana - 7.5.1
Any tips ... google is not helpful!
Thank you in advance.
00:26:05.086Z INFO elastalert-server: Config: No config.dev.json file was found in /opt/elastalert-server/config/config.dev.json.
00:26:05.088Z INFO elastalert-server: Config: Proceeding to look for normal config file.
00:26:05.089Z INFO elastalert-server: Config: A config file was found in /opt/elastalert-server/config/config.json. Using that config.
00:26:05.109Z INFO elastalert-server: Router: Listening for GET request on /.
00:26:05.110Z INFO elastalert-server: Router: Listening for GET request on /status.
00:26:05.110Z INFO elastalert-server: Router: Listening for GET request on /status/control/:action.
00:26:05.110Z INFO elastalert-server: Router: Listening for GET request on /status/errors.
00:26:05.110Z INFO elastalert-server: Router: Listening for GET request on /rules.
00:26:05.111Z INFO elastalert-server: Router: Listening for GET request on /rules/:id.
00:26:05.112Z INFO elastalert-server: Router: Listening for POST request on /rules/:id.
00:26:05.112Z INFO elastalert-server: Router: Listening for DELETE request on /rules/:id.
00:26:05.112Z INFO elastalert-server: Router: Listening for GET request on /templates.
00:26:05.112Z INFO elastalert-server: Router: Listening for GET request on /templates/:id.
00:26:05.112Z INFO elastalert-server: Router: Listening for POST request on /templates/:id.
00:26:05.112Z INFO elastalert-server: Router: Listening for DELETE request on /templates/:id.
00:26:05.112Z INFO elastalert-server: Router: Listening for POST request on /test.
00:26:05.112Z INFO elastalert-server: Router: Listening for GET request on /config.
00:26:05.112Z INFO elastalert-server: Router: Listening for POST request on /config.
00:26:05.113Z INFO elastalert-server: Router: Listening for POST request on /download.
00:26:05.113Z INFO elastalert-server: Router: Listening for GET request on /metadata/:type.
00:26:05.113Z INFO elastalert-server: Router: Listening for GET request on /mapping/:index.
00:26:05.113Z INFO elastalert-server: Router: Listening for POST request on /search/:index.
00:26:05.116Z INFO elastalert-server: ProcessController: Starting ElastAlert
00:26:05.116Z INFO elastalert-server: ProcessController: Creating index
00:26:05.513Z INFO elastalert-server:
ProcessController: Elastic Version:7
Mapping used for string:{'type': 'keyword'}
Index elastalert_status already exists. Skipping index creation.
00:26:05.513Z INFO elastalert-server: ProcessController: Index create exited with code 0
00:26:05.513Z INFO elastalert-server: ProcessController: Starting elastalert with arguments [none]
00:26:05.520Z INFO elastalert-server: ProcessController: Started Elastalert (PID: 36)
00:26:05.521Z INFO elastalert-server: Server: Server listening on port 3030
00:26:05.522Z INFO elastalert-server: Server: Websocket listening on port 3333
00:26:05.522Z INFO elastalert-server: Server: Server started
00:26:06.142Z ERROR elastalert-server:
ProcessController: Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
00:26:06.142Z 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
00:26:06.142Z ERROR elastalert-server:
ProcessController: client.start()
File "/opt/elastalert/elastalert/elastalert.py", line 1106, in start
00:26:06.143Z ERROR elastalert-server:
ProcessController: self.run_all_rules()
File "/opt/elastalert/elastalert/elastalert.py", line 1158, in run_all_rules
00:26:06.143Z ERROR elastalert-server:
ProcessController: self.send_pending_alerts()
File "/opt/elastalert/elastalert/elastalert.py", line 1534, in send_pending_alerts
00:26:06.143Z ERROR elastalert-server:
ProcessController: pending_alerts = self.find_recent_pending_alerts(self.alert_time_limit)
File "/opt/elastalert/elastalert/elastalert.py", line 1526, in find_recent_pending_alerts
00:26:06.144Z ERROR elastalert-server:
ProcessController: size=1000)
File "/usr/lib/python2.7/site-packages/elasticsearch-7.0.1-py2.7.egg/elasticsearch/client/utils.py", line 84, in _wrapped
00:26:06.144Z ERROR elastalert-server:
ProcessController: return func(*args, params=params, **kwargs)
TypeError: search() got an unexpected keyword argument 'doc_type'
00:26:06.174Z ERROR elastalert-server: ProcessController: ElastAlert exited with code 1
00:26:06.174Z INFO elastalert-server: Server: Stopping server
00:26:06.175Z INFO elastalert-server: ProcessController: ElastAlert is not running
00:26:06.175Z INFO elastalert-server: Server: Server stopped. Bye!`
The text was updated successfully, but these errors were encountered: