AWS CloudWatch Logs Agent

Pete Wright pete at nomadlogic.org
Wed Aug 30 23:45:49 UTC 2017



On 08/30/2017 16:39, Rafal Lukawiecki wrote:
> Dear Pete, that was my feeling too—I suspect that for someone more skilled than me in FreeBSD rc.d it should be realistically possible to port it, but the spaghetti nature of the awslogs script would also be something to contend with. I did a bit of searching, but the only reference to awslogs that I found on GH is this one:
>
> 	https://github.com/jorgebastida/awslogs
>
> While this looks like a good utility for CloudWatch Logs querying, it does not seem to deal with the agent and actual log collection. The AWS GitHub account does not seem to list anything related amongst their 70+ repositories...
>
> If you embark on such a port, I would be happy to test, help, and give feedback. On the other hand, please let me know if you find anything else that could be of use. Many thanks.

hrm yea - so i did a bit of reading through that setup script and if i'm 
not mistaken it is actually installing the python package:
https://pypi.python.org/pypi/awscli-cwlogs

a majority of the code located at 
https://s3.amazonaws.com//aws-cloudwatch/downloads/latest/awslogs-agent-setup.py 
seems to configure the behaviour of awscli-cwlogs.

i may poke at this later this week and see if i can get awscli-cwlogs 
working in my environment, if it looks good it may be a good starting 
point for a freebsd port of this functionality. also since it seems to 
be mostly python  code doing the actual log-shipping we might be in good 
shape.


-p

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-cloud mailing list