Filebeat does not need much space under /etc, normally it is under 10 MB, the /etc/filebeat just keeps the configuration files.
The binary are all installed under /usr/share/filebeat.
But if you want to install on /opt you will need to install it using the tar.gz file and create/edit the service file to point to the correct binary path.
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.