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

时间:2018-05-18 07:46:10

标签: python amazon-web-services jenkins amazon-cloudwatch

我的cloudwatch日志停止从我为jenkins.log创建的日志流中发送数据。我在/var/log/awslogs.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

0 个答案:

没有答案