From owner-freebsd-elastic@freebsd.org Wed Jun 27 03:38:29 2018 Return-Path: Delivered-To: freebsd-elastic@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA3D3102B79C for ; Wed, 27 Jun 2018 03:38:28 +0000 (UTC) (envelope-from henry95@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6A95C91204 for ; Wed, 27 Jun 2018 03:38:28 +0000 (UTC) (envelope-from henry95@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2984E102B798; Wed, 27 Jun 2018 03:38:28 +0000 (UTC) Delivered-To: elastic@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E50BE102B796 for ; Wed, 27 Jun 2018 03:38:27 +0000 (UTC) (envelope-from henry95@gmail.com) Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81D30911FF for ; Wed, 27 Jun 2018 03:38:27 +0000 (UTC) (envelope-from henry95@gmail.com) Received: by mail-yw0-x234.google.com with SMTP id i143-v6so204111ywc.9 for ; Tue, 26 Jun 2018 20:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=2BTqKjUXLUPLdGcpLFAfXNOYdRWXoXXcRXg7Wr0Lrl8=; b=TYIFojSM+gObC11T28u/xZJR0vBS2uaDRvgV2ekGeFCfiaKb2ahWouEnpELED7fyO8 h1pEwne7uFA+devXroEUcXnpkNztAmN4KvrhJ9ZtVzkIxefTlngbZQn8ZenHVXst+s47 rn86yelBM6Tx0v+BpMxLTIRB1Rz103z1byAlVyP15koBZkZOG1+okrrPjhc7Ok74uhN9 pJxSvJxsW4//Ua195ZaciRA/gKoRdvLLt3SYZypceKpKK4HLnWELAx0YhVzVGJTBVXFd iXa/+aF7yxETsBXiJUE6m/mJM86LB0fIRB1ovo6gLFmkkE/ufXz2q6/2OX6wpaDpu+fq 7Kyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2BTqKjUXLUPLdGcpLFAfXNOYdRWXoXXcRXg7Wr0Lrl8=; b=KkNByBt7UXctRbLTJb3/TY8KVZish+mZtTQlRAdeDcYFNjjNXL2wcbB07y6X9/8zZb Sm6kNeGf/rbW5LW9EU449bU0i7lQY4KZMOJuXouLLGkZ48X90iStLZbz3CS+9sPEiHav 0d58LHIFGuYvqylCBm4L+8ESfUmMGPQekSoiMLxRza/uGO4fnqxiQ+KV+HUvicEyE+fU Ffcq36H+iwRsqIoPnaaI72/pe0asq7Upe7ok8qG804kS2hGpxLW5QZd/xqpjtqcRw/xX VcTiz0QoTj8CjYrIfwcx1cW4xG54J9Ac77t3CVIvN1maloc61aoIoltQyP+SNNhhsp2x ZZhg== X-Gm-Message-State: APt69E04tOGRgGQlTINNhzW0H0irVkNzydaxwgtn3A8ApdmYkesdtEDd z01bCRAWVvJsu6yDYWRF3soociPCjF5kKnZR7nkN4ka8 X-Google-Smtp-Source: AAOMgpfkCnOfX5HuwHdpNWlitFFeBzZfROSG3p2WzHZ7u8D2J9P6DhMOFkU/5WPfF0Zc7nFAYYYgwnLGMbujT2UR6nw= X-Received: by 2002:a81:2706:: with SMTP id n6-v6mr1973759ywn.88.1530070706734; Tue, 26 Jun 2018 20:38:26 -0700 (PDT) MIME-Version: 1.0 From: Henry Date: Tue, 26 Jun 2018 23:38:14 -0400 Message-ID: Subject: Need help running metricbeat To: elastic@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 03:38:29 -0000 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 From owner-freebsd-elastic@freebsd.org Wed Jun 27 03:41:36 2018 Return-Path: Delivered-To: freebsd-elastic@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A518102BC7C for ; Wed, 27 Jun 2018 03:41:36 +0000 (UTC) (envelope-from henry95@gmail.com) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CFE8914FD for ; Wed, 27 Jun 2018 03:41:33 +0000 (UTC) (envelope-from henry95@gmail.com) Received: by mail-yw0-x231.google.com with SMTP id i143-v6so205719ywc.9 for ; Tue, 26 Jun 2018 20:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ouCx0qX3sUCJNS5w1Yjo/Nd2QVvOsDbSRb1BH7Yisv8=; b=soRWk9p2JpKiNXZX39hjZjKxXmZQWIWmtQkjQx4Yj/rypcwd0T+pGDzt81S9MBbME2 0ggIN/6RWWhINhQqHQZJvnOSGe0PHSGs7VUtwKRgaR+NhJ6UNc/7QMDm4cx/i9+CCCJE ZTeKFUAZmt5cnIZpMl+a0MhxQ2X0mkQFZBZ2IT1JWdjAHhrjPCNEQFYXCjBEDnH+iCei qlflTle77TQeMEhXTOJ3KoV5RfrsbV/tZxEGanjtkyQ3zq9pkuCV59KRpXPjWKA27c2T jf0Ba2Jioox9g/AeHSfxDUHAPHGR2rGlhNtF5fPW6FUK1WyPqWtCCt60oHYluUSEas8A WDTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ouCx0qX3sUCJNS5w1Yjo/Nd2QVvOsDbSRb1BH7Yisv8=; b=Kg1r7F2GRTg1AM3G/x2sLDLmsHwyDSbJD7b/npkwnky8ROgMd9UntACQrL8+c6+4Jc u1DsT4PiZm3Oidx/WBZu4TWTqRKl5Dvczghdyr6yFUCmlXmo48TNwwuZHBqAot9GHW49 wmjmMOTAJ0EVIFygc6/CzTltT2yyq481VmFSuAPYPGZADkzY9dcteRiwiSbGFnTZCzj7 gbdIfGPkSwCIrXU3vhdBexxAd7pfiPx6Uj7Jw40LVlGXDeZbRjcvpk09b07HJJZeIkbo XBpRt5o0kS68M6onEiNBjKwA07YMgh0riRee5GI5o4y4voZ61ONdUJ5iiVIMaCQVei6J eMHw== X-Gm-Message-State: APt69E1nnYWK5HytLro/Z1R36X+NurzpHSJyZJOF3breF3VZjIdk11Tc sOBhegQECB2UHrCLatErlhuoCMTs/6LZwMYYFf/c6Q== X-Google-Smtp-Source: AAOMgpfAhVFNJXjVKzkO4UNkXV72odb5tCnZape+IkHVkxgpS04q9ESS/4emRvBWlssCzIE8dbaoDXQCkZmrCoeGCEY= X-Received: by 2002:a0d:c105:: with SMTP id c5-v6mr2028467ywd.131.1530070892148; Tue, 26 Jun 2018 20:41:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Henry Date: Tue, 26 Jun 2018 23:41:20 -0400 Message-ID: Subject: Fwd: Need help running metricbeat To: freebsd-elastic@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 03:41:36 -0000 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