Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2017 16:45:47 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        Rafal Lukawiecki <raf@rafal.net>
Cc:        freebsd-cloud@freebsd.org
Subject:   Re: AWS CloudWatch Logs Agent
Message-ID:  <aa1bbed7-89c9-e03b-6034-4984724388fd@nomadlogic.org>
In-Reply-To: <0A93F7FC-5547-4A67-B3D9-BB59027FDAD6@rafal.net>
References:  <4FFC6F3B-E8A1-49EE-A05A-C6B9B0A615FF@rafal.net> <0100015e3565144c-18dc3e52-fcba-4b30-bf2f-58b99b55562d-000000@email.amazonses.com> <456A3074-08D2-4141-81EF-5CD6B1B53899@rafal.net> <084bd6ad-9ffd-c097-1d46-c8cb41d745ee@nomadlogic.org> <0A93F7FC-5547-4A67-B3D9-BB59027FDAD6@rafal.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aa1bbed7-89c9-e03b-6034-4984724388fd>