Need help running metricbeat

Henry henry95 at
Wed Jun 27 03:38:29 UTC 2018

FreeBSD 11.1
beats-6.2.4_1 (Installed via ports)


I'm having some trouble getting metricbeat to start. I'm following this

I've updated /usr/local/etc/metricbeat.yml like so:

Steps I ran:
# metricbeat modules enable -c /usr/local/etc/metricbeat.yml
# sudo metricbeat setup -c /usr/local/etc/metricbeat.yml
*Exiting: Error loading Elasticsearch template: error creating template
from file /var/db/beats/fields.yml: open /var/db/beats/fields.yml: no such
file or directory*

I don't know where fields.yml is. I can copy a version of it from,
into /var/db/beats, but then the next step fails.

# metricbeat setup -c /usr/local/etc/metricbeat.yml
Loaded index template
Exiting: Error importing Kibana dashboards: fail to import the dashboards
in Kibana: Error importing directory /var/db/beats/kibana: No directory

I can manually create that directory manually, but at this point I'm just
shooting in the dark to get this running. I'm probably doing something
dumb, but I'm not sure which guide or documentation to follow to figure out
what the issue is.

Any help would be greatly appreciated.


More information about the freebsd-elastic mailing list