From owner-freebsd-elastic@freebsd.org Fri Mar 9 16:31:13 2018 Return-Path: Delivered-To: freebsd-elastic@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4540DF3712E for ; Fri, 9 Mar 2018 16:31:13 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 EDAD17F943 for ; Fri, 9 Mar 2018 16:31:12 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E071E20DB0 for ; Fri, 9 Mar 2018 11:31:11 -0500 (EST) Received: from web4 ([10.202.2.214]) by compute3.internal (MEProxy); Fri, 09 Mar 2018 11:31:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=87p4ufRq4gBEZfkLSbHJtPaKJsArj lSu45Gg5q60Duo=; b=KebM0ZfOpYGhXYf9PDhEpD+uddwpG/hqbbEUrUnsnm0dT QU6v5Sbh3YtoK4Plsy0wQbRioYev/+j9DjTtnKB6EHF72XMC93DIh5Dk/otEqx8x brVclriaJXovNBZGrCC9uPZEYKb6DLaydGogrLovq/V37Ija9YkFEMs3HWzSDTzs lE6BPraZPRoZIYC9l4a7SzZOSp8UrSEdeiqT0DC6DTz5RvNtJkH263MCJP7k/BJP /C6aMZNzxBlhiN5C5x9DFipdad1XMZIhugvIUlKy0YSIAunTgLtZEjwjABh4+VCO VXJqhF8j8YW1S8E9CB9qiGUPSut2PlFBfm/3/tiGQ== X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id BACD7BA43C; Fri, 9 Mar 2018 11:31:11 -0500 (EST) Message-Id: <1520613071.2637344.1297510176.6EBF62F8@webmail.messagingengine.com> From: Mark Felder To: freebsd-elastic@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-54087d22 Subject: logstash improvements Date: Fri, 09 Mar 2018 10:31:11 -0600 X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2018 16:31:13 -0000 As logstash6 has fewer users at the moment, I've started making large improvements to the port. My recent commit does the following: sysutils/logstash6: Many improvements - all config files are now in ETCDIR - rc script is updated to use logsearch.yml to locate logging config (logstash.conf) This will not break existing setups that used the ETCDIR/logstash.conf file, as that is now part of the default logstash.yml file - added configtest to rc script - sample logstash.conf file no longer includes invalid syntax - pkg-message had historical messages removed Previously all of the logstash.yml, jvm.options, etc were in /usr/local/logstash/config which is not an ideal location and may not be preserved between pkg upgrades. Now it's in ETCDIR where it belongs. Soon I plan to also add a dedicated daemon user instead of running as root by default. There's no good reason for this unless you need to listen on syslog port 514, but there are other ways of solving that problem (MAC framework, for example). -- Mark Felder ports-secteam & portmgr member feld@FreeBSD.org