Bug 217368

Summary: sysutils/logstash5 problem with rc startup script
Product: Ports & Packages Reporter: Sam <sam>
Component: Individual Port(s)Assignee: freebsd-elastic (Nobody) <elastic>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: lwhsu, pi, rene, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (tj)
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
svn-diff-logstash5 none

Description Sam 2017-02-26 02:05:03 UTC
With log stash you should be able to enter something such as:

which is able to import all *.conf config files, the current startup script in /usr/local/etc/rc.d needs to be modified to allow this, otherwise you get multiple errors about each file being an invalid command line option

/usr/local/etc/rc.d/logstash, line 85:
logstash_args="-f ${logstash_config} ${logstash_log_options} ${logstash_opts}"

logstash_args="-f \"${logstash_config}\" ${logstash_log_options} ${logstash_opts}"

resolves this issue.
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-23 01:02:35 UTC
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-02-24 05:35:43 UTC
Fix included in update Bug #225665.
Comment 3 Rene Ladan freebsd_committer 2018-11-06 21:42:47 UTC
Maintainer reset.
Comment 4 Walter Schwarzenfeld freebsd_triage 2019-08-13 16:14:28 UTC
Created attachment 206490 [details]
Comment 5 Walter Schwarzenfeld freebsd_triage 2019-08-13 16:15:39 UTC
Kurt or Rene, please commit "this little nothing" ..... Seems everybody overlooked it.
Comment 6 Rene Ladan freebsd_committer 2021-04-06 20:47:25 UTC
Totally missed the patch from two years ago, but by now this port has expired in favor of logstash6 or logstash7.