I did an rpm install of filebeat. When I run filebeat from /usr/bin/filebeat with /usr/bin/filebeat start or /usr/bin/filebeat -c /path/to/filebeat.yml, the shell just hangs. When I run etc/init.d/filebeat start, i get a message saying that it started.
However, if I use /etc/init.d/filebeat start, i can't pass command line arguments, such as the location of the config file. even /etc/init.d/filebeat -h does not work.
How should I run filebeat, with /usr/bin/filebeat or /etc/init.d/filebeat start?