logstash improvements

Mark Felder feld at FreeBSD.org
Tue Mar 13 16:45:24 UTC 2018



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


More information about the freebsd-elastic mailing list