# Setting up Metricbeats

**URL:** <https://discuss.elastic.co/t/setting-up-metricbeats/220398>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [February 21, 2020, 3:02pm UTC](https://discuss.elastic.co/t/setting-up-metricbeats/220398 "2020-02-21T15:02:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elk\_huh](https://avatars.discourse-cdn.com/v4/letter/e/d26b3c/32.png) [@Elk\_huh](https://discuss.elastic.co/u/Elk_huh)\
**Post date:** [February 21, 2020, 3:02pm UTC](https://discuss.elastic.co/t/setting-up-metricbeats/220398/1 "2020-02-21T15:02:54Z")

</div>

Metricbeats file  
output.elasticsearch:  
hosts: ["[https://host:9200](https://host:9200)"]  
username: "monitor"  
password: ""  
ssl.certificate\_authorities: ["/path"]

I am getting this error any ideas /  
alhost:9200/\_nodes/\_local/stats: EOF  
2020-02-21T10:02:16.608-0500 ERROR [elasticsearch] elastic/elastic.go:107 error determining if connected Elasticsearch node is master: error making http request: Get [http://localhost:9200/\_nodes/\_local/nodes:](http://localhost:9200/_nodes/_local/nodes:) EOF  
2020-02-21T10:02:16.609-0500 ERROR [elasticsearch] elastic/elastic.go:107 error determining if connected Elasticsearch node is master: error making http request: Get [http://localhost:9200/\_nodes/\_local/nodes:](http://localhost:9200/_nodes/_local/nodes:) EOF  
2020-02-21T10:02:23.616-0500 ERROR [elasticsearch] elastic/elastic.go:107 error making http request: Get [http://localhost:9200/\_nodes/\_local/stats:](http://localhost:9200/_nodes/_local/stats:) EOF  
2020-02-21T10:02:23.616-0500 ERROR [elasticsearch] elastic/elastic.go:107 error making http request: Get [http://localhost:9200/\_nodes/\_local:](http://localhost:9200/_nodes/_local:) EOF  
2020-02-21T10:02:26.609-0500 ERROR [elasticsearch] elastic/elastic.go:107 error determining if connected Elasticsearch node is master: error making http request: Get [http://localhost:9200/\_nodes/\_local/nodes:](http://localhost:9200/_nodes/_local/nodes:) EOF  
2020-02-21T10:02:26.609-0500 ERROR [elasticsearch] elastic/elastic.go:107 error determining if connected Elasticsearch node is master: error making http request: Get [http://localhost:9200/\_nodes/\_local/nodes:](http://localhost:9200/_nodes/_local/nodes:) EOF  
2020-02-21T10:02:28.601-0500 ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch([https://spf-elkm-prd1:9200](https://spf-elkm-prd1:9200))): Get [https://spf-elkm-prd1:9200](https://spf-elkm-prd1:9200): x509: certificate signed by unknown authority  
2020-02-21T10:02:28.601-0500 INFO pipeline/output.go:93 Attempting to reconnect to backoff(elasticsearch([https://spf-elkm-prd1:9200](https://spf-elkm-prd1:9200))) with 7 reconnect attempt(s)  
2020-02-21T10:02:28.601-0500 INFO [publish] pipeline/retry.go:189 retryer: send unwait-signal to consumer  
2020-02-21T10:02:28.601-0500 INFO [publish] pipeline/retry.go:191 done  
2020-02-21T10:02:28.602-0500 INFO [publish] pipeline/retry.go:166 retryer: send wait signal to consumer  
2020-02-21T10:02:28.602-0500 INFO [publish] pipeline/retry.go:168 done  
2020-02-21T10:02:33.616-0500 ERROR [elasticsearch] elastic/elastic.go:107 error making http request: Get [http://localhost:9200/\_nodes/\_local:](http://localhost:9200/_nodes/_local:) EOF  
2020-02-21T10:02:33.616-0500 ERROR [elasticsearch] elastic/elastic.go:107 error making http request: Get [http://localhost:9200/\_nodes/\_local/stats:](http://localhost:9200/_nodes/_local/stats:) EOF  
2020-02-21T10:02:36.608-0500 ERROR [elasticsearch] elastic/elastic.go:107 error determining if connected Elasticsearch node is master: error making http request: Get [http://localhost:9200/\_nodes/\_local/nodes:](http://localhost:9200/_nodes/_local/nodes:) EOF  
2020-02-21T10:02:36.608-0500 ERROR [elasticsearch] elastic/elastic.go:107 error determining if connected Elasticsearch node is master: error making http request: Get [http://localhost:9200/\_nodes/\_local/nodes:](http://localhost:9200/_nodes/_local/nodes:) EOF

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 20, 2020, 3:02pm UTC](https://discuss.elastic.co/t/setting-up-metricbeats/220398/2 "2020-03-20T15:02:55Z")

</div>

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