it was already there at /etc/filebeat/filebeat.conf
--path.config is the folder where the configuration resides. Filebeat looks there for a filebeat.yml. If your file is named filebeat.conf, you need to set -c to tell Filebeat to look for a different filename: -c filebeat.conf.