When running /filebeat --setup -e It exits with the next error:
2018-10-22T10:19:29.306+0200 ERROR instance/beat.go:743 Exiting: Could not start registrar: Error
loading state: open /filebeat/data/registry: permission denied
Exiting: Could not start registrar: Error loading state: open /filebeat/data/registry: permission denied
I am running filebeat 6.4.2-darwin-x86_64 on MacOS Mojave
The files are owned by root, but the directory is owned by sebastiaanspeck. When running filebeat setup with your user, you can not access the files. Fix users of directory and files to one user only. Use 'sudo' if you want to run filebeat as another user.
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.