Metricbeat unable to find its own yml config

Installed metricbeat-6.7.0-x86_64.rpm on my single node ELK 6.7 server. When I go to load dashboards I get the following error:

[root@elk ~]# /usr/share/metricbeat/bin/metricbeat -e setup --dashboards
Exiting: error loading config file: stat metricbeat.yml: no such file or directory
[root@elk ~]# ll /etc/metricbeat/
total 516
-rw-r--r--. 1 root root 381194 Mar 21 09:41 fields.yml
-rw-r--r--. 1 root root 62005 Mar 21 09:41 metricbeat.reference.yml
-rw-------. 1 root root 62038 Apr 1 13:21 metricbeat.yml
drwxr-xr-x. 2 root root 4096 Apr 1 13:14 modules.d
-rw-------. 1 root root 5653 Apr 1 13:15 orig.metricbeat.yml
[root@elk ~]#

What am I missing?

I got passed this error by doing:

[root@elk ~]# cd /etc/metricbeat/
[root@elk metricbeat]# /usr/share/metricbeat/bin/metricbeat -e setup --dashboards

Sorry for the late response... I'm glad you found the solution.

1 Like

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