Error initializing beat: error loading config file: stat /etc/filebeat/filebeat.yml: no such file or directory

Hello,

I removed Elastic's Beats (filebeat & metricbeat package) by issuing apt-get remove filbeat metricbeat and removed directory rm -rf /etc/filebeat /etc/metricbeat as well.

I than tried to install it back by issuing apt-get install filebeat metricbeat, yet getting following error now:

# filebeat modules list
Error initializing beat: error loading config file: stat /etc/filebeat/filebeat.yml: no such file or directory
# 
# metricbeat modules list
Error initializing beat: error loading config file: stat /etc/metricbeat/metricbeat.yml: no such file or directory
# 

Please advise.

Can you try apt-get purge filebeat metricbeat and then apt-get install filebeat metricbeat?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.