The config file location is controlled by the -c flag, not -path.data.
But using a config file that's located on the network creates an implicit dependency on the network. This is less than ideal because the network my not be available when the process launches.
How are you distributing Filebeat to the machines? I would integrate the configuration with the installation. Most commonly I see tools like Ansible, Puppet, or Chef used to manage the configuration of machines.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.