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.
Rafal
--
Rafal Lukawiecki
Data Scientist and Director
Project Botticelli Ltd
> On 31 Aug 2017, at 00:28, Pete Wright <[email protected]> wrote:
>
>
>
> On 08/30/2017 16:19, Rafal Lukawiecki wrote:
>>
>> As for the CW Logs, unfortunately the script at curl
>> https://s3.amazonaws.com/aws-cloudwatch/downloads/latest/awslogs-agent-setup.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.
>
> hi rafal - i also took a look at that python setup script.
>
> 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.
>
> cheers,
> -pete
>
> --
> Pete Wright
> [email protected]
> @nomadlogicLA
>
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
> To unsubscribe, send any mail to "[email protected]"
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
To unsubscribe, send any mail to "[email protected]"