Fails to run elastalert-create-index with python 3
See original GitHub issueUsing Ubuntu 16.04 64 bit, v0.0.79 (issue is also present in v0.0.77) and python 3, installation (python3 setup.py install
) was successful.
However, running elastalert-create-index
shows fails with the following exception:
Traceback (most recent call last):
File "/usr/local/bin/elastalert-create-index", line 9, in <module>
load_entry_point('elastalert==0.0.79', 'console_scripts', 'elastalert-create-index')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.5/dist-packages/elastalert-0.0.79-py3.5.egg/elastalert/create_index.py", line 14, in <module>
from auth import Auth
ImportError: No module named 'auth'
There seems to be a missing dependency (that isn’t checked at installation time) but I can’t find the name of the package for ‘auth’ (containing ‘Auth’).
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Running ElastAlert for the First Time - Read the Docs
Without any valid rules, ElastAlert will not start. ... First, we need to create an index for ElastAlert to write to by running...
Read more >Yelp/elastalert - Gitter
Is there a way to have elastalert run rules at differing times? In my config, I have run_every set to 10 minutes. This...
Read more >Elastalert2 rules folder config not working - Stack Overflow
Docker builds ElastAlert2 and deploy it on Argocd. But, there is a problem that the rules_folder config does not work. There is rules_folder...
Read more >Setting up ElastAlert - Himani Raghav
Blist>=1.3.6 error resolved, config.yaml file not found error resolved, ... Next, to create an index for ElastAlert to write to, run —
Read more >Delete index API | Elasticsearch Guide [8.5] | Elastic
To delete the index, you must roll over the data stream so a new write index is created. You can then use the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, guys!
It already a middle of 2019 here and I have no python2 on my servers now. Also I have no reason to install it.
Thanks for the explanation. I gave up and got it working with Python2 for now, will wait for official Python3 support.