Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Mar 2018 10:31:11 -0600
From:      Mark Felder <feld@FreeBSD.org>
To:        freebsd-elastic@freebsd.org
Subject:   logstash improvements
Message-ID:  <1520613071.2637344.1297510176.6EBF62F8@webmail.messagingengine.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1520613071.2637344.1297510176.6EBF62F8>