Bug 217368 - sysutils/logstash5 problem with rc startup script
Summary: sysutils/logstash5 problem with rc startup script
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-elastic (Nobody)
Depends on:
Reported: 2017-02-26 02:05 UTC by Sam
Modified: 2020-06-17 00:03 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (tj)

svn-diff-logstash5 (481 bytes, patch)
2019-08-13 16:14 UTC, Walter Schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.