I am facing this issue after adding the line
"fields_under_root": true
[root@localhost filebeat-6.2.4-linux-x86_64]# sudo ./filebeat
Exiting: error loading config file: config file ("filebeat.yml") must be owned by the beat user (uid=0) or root
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.