From owner-freebsd-elastic@freebsd.org Tue Mar 13 16:45:24 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 30B92F30D94 for ; Tue, 13 Mar 2018 16:45:24 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 D989768270 for ; Tue, 13 Mar 2018 16:45:23 +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 647CD21226 for ; Tue, 13 Mar 2018 12:45:23 -0400 (EDT) Received: from web4 ([10.202.2.214]) by compute3.internal (MEProxy); Tue, 13 Mar 2018 12:45:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=xoemG7 He6/PlolEuTI1GwB/QSmuzbU2OCacBIkfVgLE=; b=YeZkj1pt5m3G3MifgzKymW 704OOmJXhs0OzCmrsDNb7iQ3YutAev7cISiYIeZi+DdK4uT1Acz8PjJVYaLX63Zs xVsJh7MsPECUSDoRsg4gEEtpm5qWzsgZpWjltagcnyjOMRNH+FERuRMyBtOhHsrP waoUHeXk0CDqu460X3RPwku1pXdh8gvLUWhuc4W7V7yo8Gbu1ra25idz1r5MWYXm iYvTHSfHlYuKPkA5rFeiJmlj66IvmUDODNav8GzWJFTdxtWtiNLFKBdRJRQly1NF fhlr1MAuZG+atre28ShJkFsMQJgqlCFNkJoXBf3aZpadhgC7WDW/g8izpFF3qVLw == X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 3DB81BA43C; Tue, 13 Mar 2018 12:45:23 -0400 (EDT) Message-Id: <1520959523.4160936.1301725184.7519F688@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 In-Reply-To: References: <1520613071.2637344.1297510176.6EBF62F8@webmail.messagingengine.com> Subject: Re: logstash improvements Date: Tue, 13 Mar 2018 11:45:23 -0500 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: Tue, 13 Mar 2018 16:45:24 -0000 On Fri, Mar 9, 2018, at 12:58, Fotis Zabaras via freebsd-elastic wrote: > 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? > I tend to automatically mount procfs and fdescfs for Java programs, but this would be a useful message for new users. -- Mark Felder ports-secteam & portmgr member feld@FreeBSD.org