我将elastalert插件安装到kibana, 和下载的克隆github ElastAlert, 并配置基本文件Config.Yaml 但没跑 这个错误:
root@l-elk1:~# python elastalert/elastalert/elastalert.py
Traceback (most recent call last):
File "elastalert/elastalert/elastalert.py", line 19, in <module>
import kibana
File "/home/ituser/elastalert/elastalert/kibana.py", line 5, in <module>
from util import EAException
File "/home/ituser/elastalert/elastalert/util.py", line 8, in <module>
from auth import Auth
File "/home/ituser/elastalert/elastalert/auth.py", line 4, in <module>
from aws_requests_auth.aws_auth import AWSRequestsAuth
ImportError: No module named aws_requests_auth.aws_auth
答案 0 :(得分:1)
此错误显示缺少需求依赖性。在结账时运行命令:
pip install -r requirements.txt
然后重新执行elastalert。