Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2017 02:05:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217368] sysutils/logstash5 problem with rc startup script
Message-ID:  <bug-217368-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217368

            Bug ID: 217368
           Summary: sysutils/logstash5 problem with rc startup script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tj@FreeBSD.org
          Reporter: sam@sheridan.co.uk
          Assignee: tj@FreeBSD.org
             Flags: maintainer-feedback?(tj@FreeBSD.org)

With log stash you should be able to enter something such as:
logstash_config=3D"/usr/local/etc/logstash/*.conf"=20

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

modify:
/usr/local/etc/rc.d/logstash, line 85:
logstash_args=3D"-f ${logstash_config} ${logstash_log_options} ${logstash_o=
pts}"

to:
logstash_args=3D"-f \"${logstash_config}\" ${logstash_log_options}
${logstash_opts}"

resolves this issue.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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