CloudWatch Logs代理停止从Jenkins日志发送数据

nukf8bse  于 2023-05-16  发布在  Jenkins
关注(0)|答案(1)|浏览(113)

我的cloudwatch日志停止从我为jenkins.log创建的日志流发送数据。我在/var/log/aws. log中得到的错误是以下代码

Traceback (most recent call last):
File "/var/awslogs/bin/aws", line 27, in <module>
sys.exit(main())
File "/var/awslogs/bin/aws", line 23, in main
return awscli.clidriver.main()
File "/var/awslogs/lib/python2.7/site-packages/awscli/clidriver.py",   line 58, in main
driver = create_clidriver()
File "/var/awslogs/lib/python2.7/site-packages/awscli/clidriver.py", line 69, in create_clidriver
event_hooks=emitter)
File "/var/awslogs/lib/python2.7/site-packages/awscli/plugin.py", line 49, in load_plugins
plugin.awscli_initialize(event_hooks)
File "/var/awslogs/lib/python2.7/site-packages/cwlogs/__init__.py", line 25, in awscli_initialize
from cwlogs.pull import initialize as logs_pull_init
File "/var/awslogs/lib/python2.7/site-packages/cwlogs/pull.py", line 22, in <module>
from awscli.customizations.service import Service
ImportError: No module named service
luaexgnf

luaexgnf1#

您是否尝试过使用pip安装服务包?

pip install service

相关问题