From owner-freebsd-cloud@freebsd.org Sat Sep 16 23:43:58 2017 Return-Path: Delivered-To: freebsd-cloud@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDA0DE10D39 for ; Sat, 16 Sep 2017 23:43:58 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (unknown [IPv6:2607:f2f8:a098::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C33A368037 for ; Sat, 16 Sep 2017 23:43:58 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.26] (cpe-23-242-94-236.socal.res.rr.com [23.242.94.236]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 08add45c TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Sat, 16 Sep 2017 16:43:57 -0700 (PDT) Subject: Re: AWS CloudWatch Logs Agent To: Rafal Lukawiecki Cc: freebsd-cloud@freebsd.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> <0A93F7FC-5547-4A67-B3D9-BB59027FDAD6@rafal.net> <38BA8CBD-8A74-4705-BB7B-5737C809540D@rafal.net> <2a296862-8364-9814-d307-971fa9cf62fd@nomadlogic.org> <9B84E838-718C-4477-9940-C80A74D8A030@rafal.net> From: Pete Wright Message-ID: <9adf8d45-6343-b37b-ce4f-95ea71deda3d@nomadlogic.org> Date: Sat, 16 Sep 2017 16:43:56 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <9B84E838-718C-4477-9940-C80A74D8A030@rafal.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2017 23:43:59 -0000 On 09/16/2017 13:46, Rafal Lukawiecki wrote: >> On 31 Aug 2017, at 00:50, Pete Wright wrote: >> >> lol no prob - although i promise nothing ;^) but hopefully i can cobble together a proof of concept - i'll keep ya in the loop. >> >> -p >> >> -- >> Pete Wright >> pete@nomadlogic.org >> @nomadlogicLA >> > Hi Pete, > > I was wondering if you had a chance to assess how bad the work of converting that AWS CloudWatch log collection script would be. hey there - so i read through the script that's used for linux and it doesn't really seem salvageable tbh.  i did check out the python module that it uses and i didn't see any obvious blockers to wrapping it in a small script and calling it from cron: https://pypi.python.org/pypi/awscli-cwlogs unfortunately this slipped down my priority list but hopefully i can get it setup on my systems in the next month or so.  if you beat me to it i'd love to hear how it goes for you :) Cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA