Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2017 00:39:26 +0100
From:      Rafal Lukawiecki <raf@rafal.net>
To:        Pete Wright <pete@nomadlogic.org>
Cc:        freebsd-cloud@freebsd.org
Subject:   Re: AWS CloudWatch Logs Agent
Message-ID:  <0A93F7FC-5547-4A67-B3D9-BB59027FDAD6@rafal.net>
In-Reply-To: <084bd6ad-9ffd-c097-1d46-c8cb41d745ee@nomadlogic.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Dear Pete, that was my feeling too=E2=80=94I 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.

Rafal
--
Rafal Lukawiecki
Data Scientist and Director=20
Project Botticelli Ltd

> On 31 Aug 2017, at 00:28, Pete Wright <pete@nomadlogic.org> wrote:
>=20
>=20
>=20
> On 08/30/2017 16:19, Rafal Lukawiecki wrote:
>>=20
>> As for the CW Logs, unfortunately the script at curl =
https://s3.amazonaws.com/aws-cloudwatch/downloads/latest/awslogs-agent-set=
up.py is a bit too daunting for me to try rewriting using my brand-new =
rc.d scripting skills, with only a hundred lines working (!) so far =
behind my belt.
>=20
> hi rafal - i also took a look at that python setup script.
>=20
> my initial impression was that is was full of linux'isms (the first =
line being #!/usr/bin/python being the first thing i noticed).  and =
while a lot of the setup code is linux specific, i think there are some =
bits in there which could be ported to freebsd.  do you happen to know =
if there is a git or other open-source repository available with the =
awslogs-agent code out there?  i didn't find anything after a quick =
google search.
>=20
> cheers,
> -pete
>=20
> --=20
> Pete Wright
> pete@nomadlogic.org
> @nomadlogicLA
>=20
> _______________________________________________
> freebsd-cloud@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
> To unsubscribe, send any mail to =
"freebsd-cloud-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0A93F7FC-5547-4A67-B3D9-BB59027FDAD6>