Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS - awslogs-agent-setup.py is not supported for Python 3.6

Can someone know how to setup awslog agent so my containerized service can route the log to cloud watch as awslogs-agent-setup.py is not supporting python 3.6. We do not want to have multiple version of Python as there lot application built on python 3.6

like image 928
Abhishek Jain Avatar asked Oct 27 '25 06:10

Abhishek Jain


1 Answers

You should probably install the new CloudWatch Agent instead of the old python-based awslogs agent. The new agent supports all the features of the old agent, is much faster, is a standalone binary without any dependencies, and has a simple wizard to convert your awslogs config file to the new format.

On the other hand, if you're using docker, you could also use the native docker driver for CloudWatch Logs.

like image 184
Daniel Vassallo Avatar answered Oct 29 '25 00:10

Daniel Vassallo