From owner-freebsd-elastic@freebsd.org Fri Mar 9 17:58:25 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 631A9F3E3EA for ; Fri, 9 Mar 2018 17:58:25 +0000 (UTC) (envelope-from news@saz.gr) Received: from mail.doom.gr (doom.gr [46.101.135.209]) (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 DCD148419D for ; Fri, 9 Mar 2018 17:58:24 +0000 (UTC) (envelope-from news@saz.gr) Received: from laptopidis (178-6-134.dynamic.cyta.gr [178.59.6.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.doom.gr (Postfix) with ESMTPSA id A746E29A51A for ; Fri, 9 Mar 2018 17:58:16 +0000 (UTC) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-elastic@freebsd.org Subject: Re: logstash improvements References: <1520613071.2637344.1297510176.6EBF62F8@webmail.messagingengine.com> Date: Fri, 09 Mar 2018 19:58:09 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Fotis Zabaras" Message-ID: In-Reply-To: <1520613071.2637344.1297510176.6EBF62F8@webmail.messagingengine.com> User-Agent: Opera Mail/1.0 (Win32) 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 17:58:25 -0000 On Fri, 09 Mar 2018 18:31:11 +0200, Mark Felder wrote: > 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). > Nice :) Should we add also on the pkg-message the requirement of /proc to be mounted as it is needed by java? Fotis