I have setup filbeat using below:
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.4.0-x86_64.rpm
sudo rpm -vi filebeat-6.4.0-x86_64.rpm
Filebeat is successfully set up as service, but the filebeat related files like filebeat.yml is created under /etc/filebeat/filebeat.yml and log file in /var/log/filebeat.
My question is can i install filebeat as service as above but all the filebeat related files should be under my custom folder say /opt/ELK/filebeat instead of /etc/filebeat/filebeat.yml or /var/log/filebeat.
Is this possible ?
Thanks in advance.