Date: Tue, 26 Jun 2018 23:41:20 -0400 From: Henry <henry95@gmail.com> To: freebsd-elastic@freebsd.org Subject: Fwd: Need help running metricbeat Message-ID: <CAK1r8CVvrLU4TuP%2BbR5k8PV5pBEjuGxtka_6w_y8ZW8afKP2CA@mail.gmail.com> In-Reply-To: <CAK1r8CV79NrPNrmhPhEs6w58Y7NVimEBEamXKuezoQv9ZpEjLA@mail.gmail.com> References: <CAK1r8CV79NrPNrmhPhEs6w58Y7NVimEBEamXKuezoQv9ZpEjLA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Versions: FreeBSD 11.1 elasticsearch6-6.2.4 kibana6-6.2.4 beats-6.2.4_1 (Installed via ports) Hi, I'm having some trouble getting metricbeat to start. I'm following this guide: https://www.elastic.co/guide/en/beats/metricbeat/6.2/metricbeat-configuration.html I've updated /usr/local/etc/metricbeat.yml like so: https://gist.github.com/henrymendez/58aec9901fb8b53894121be34805ce76 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 https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-6.3.0-linux-x86_64.tar.gz, 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 /var/db/beats/kibana/6 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. Thanks, Henry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK1r8CVvrLU4TuP%2BbR5k8PV5pBEjuGxtka_6w_y8ZW8afKP2CA>