Abhishek Jain
Abhishek Jain

Reputation: 4209

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

Upvotes: 4

Views: 5486

Answers (1)

Daniel Vassallo
Daniel Vassallo

Reputation: 344431

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.

Upvotes: 7

Related Questions