logstash improvements

Mark Felder feld at FreeBSD.org
Fri Mar 9 16:31:13 UTC 2018


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 at FreeBSD.org


More information about the freebsd-elastic mailing list