Date: Fri, 06 Mar 2020 06:55:50 +0000 From: bugzilla-noreply@freebsd.org To: elastic@FreeBSD.org Subject: maintainer-feedback requested: [Bug 244627] sysutils/beats filebeat rc.d started with wrong path.home Message-ID: <bug-244627-37421-sjiXDBG3PH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-244627-37421@https.bugs.freebsd.org/bugzilla/> References: <bug-244627-37421@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-elastic mailing list <elastic@FreeBSD.org> for maintainer-feedback: Bug 244627: sysutils/beats filebeat rc.d started with wrong path.home https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244627 --- Description --- Current rc.d script is starting with -path.home=3D/var/db/beats/filebeat. The correct path.home should be /usr/local/share/beats/filebeat. /var/db/beats/filebeat is only the data directory. Correct cli args should be "-path.data /var/db/beats/filebeat -path.config /usr/local/etc -path.home /usr/local/share/beats/filebeat" see diff below: --- /usr/local/etc/rc.d/filebeat.old 2020-01-06 12:52:53.000000000 +1100 +++ /usr/local/etc/rc.d/filebeat 2020-03-06 17:52:04.423819000 +1100 @@ -21,7 +21,7 @@ load_rc_config $name : ${filebeat_enable:=3D"NO"} -: ${filebeat_config:=3D"-path.home /var/db/beats/${name} -path.config /usr/local/etc"} +: ${filebeat_config:=3D"-path.home=3D/usr/local/share/beats/${name} -path.= data /var/db/beats/${name} -path.config /usr/local/etc"} Also I would suggest that path.config be /usr/local/etc/filebeat instead of /usr/local/etc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244627-37421-sjiXDBG3PH>