From the official filebeat docs :
If you use an init.d script to start Filebeat on deb or rpm, you can’t specify command line flags (see Command Line Options). To specify flags, start Filebeat in the foreground.
I'm using Supervisor to run Filebeat but this requires that Filebeat runs as a foreground process. How do I achieve this ? I'm on CentOS 7 and have Filebeat installed using RPM as shown here
I'm currently using /etc/init.d/filebeat start to get it started but Filebeat simply prints Config OK and returns the control to the user. I want to continue seeing it in the foreground.