# Elasticsearch node with Metricbeat not registering in Kibana

**URL:** https://discuss.elastic.co/t/elasticsearch-node-with-metricbeat-not-registering-in-kibana/301548
**Category:** Beats
**Tags:** metricbeat
**Created:** [April 4, 2022, 6:04pm UTC](https://discuss.elastic.co/t/elasticsearch-node-with-metricbeat-not-registering-in-kibana/301548 "2022-04-04T18:04:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Chris\_Stone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_stone/32/21026_2.png) [@Chris\_Stone](https://discuss.elastic.co/u/Chris_Stone)
#### Post date: [April 4, 2022, 6:04pm UTC](https://discuss.elastic.co/t/elasticsearch-node-with-metricbeat-not-registering-in-kibana/301548/1 "2022-04-04T18:04:14Z")

</div>

I've added a 4th identical ES node to my cluster, and for some reason Metricbeat is not reporting correctly to Kibana.

The only error from the Metricbeat logs is:

```auto
Apr 4 17:58:35 elk-5 metricbeat[8781]: 2022-04-04T10:58:35.629-0700#011ERROR#011module/wrapper.go:259#011Error fetching data for metricset elasticsearch.cluster_stats: error making http request: Get "https://elk-2.corp.XXXXX.com:9200/_cluster/stats": net/http: request canceled (Client.Timeout exceeded while awaiting headers)

```

But looks like it connect OK via curl:

```auto
root@elk-5:~# curl -XGET -I https://elk-2.corp.XXXXX.com:9200/_cluster/stats
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="security" charset="UTF-8"
WWW-Authenticate: Bearer realm="security"
WWW-Authenticate: ApiKey
content-type: application/json; charset=UTF-8
content-length: 487

```

But this looks OK, no?

```auto
metricbeat[8781]: 2022-04-04T10:57:21.243-0700#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cgroup":{"memory":{"mem":{"usage":{"bytes":-27754496}}}},"cpu":{"system":{"ticks":4908000,"time":{"ms":902}},"total":{"ticks":40826610,"time":{"ms":5814},"value":40826610},"user":{"ticks":35918610,"time":{"ms":4912}}},"handles":{"limit":{"hard":524288,"soft":1024},"open":18},"info":{"ephemeral_id":"77f55a2e-2259-4474-989e-3eeafd732023","uptime":{"ms":246513107},"version":"7.17.2"},"memstats":{"gc_next":136159040,"memory_alloc":71992056,"memory_total":6069660873112,"rss":291917824},"runtime":{"goroutines":84}},"libbeat":{"config":{"module":{"running":1}},"output":{"events":{"acked":9587,"active":9,"batches":344,"duplicates":7424,"total":17011},"read":{"bytes":5996379},"write":{"bytes":43746814}},"pipeline":{"clients":9,"events":{"active":0,"published":17011,"total":17011},"queue":{"acked":17011}}},"metricbeat":{"elasticsearch":{"cluster_stats":{"events":4,"success":4},"enrich":{"events":9,"success":9},"index":{"events":5853,"success":5853},"index_recovery":{"events":3,"success":3},"index_summary":{"events":3,"success":3},"node_stats":{"events":3,"success":3},"shard":{"events":11136,"success":11136}}},"system":{"load":{"1":0.74,"15":0.43,"5":0.66,"norm":{"1":0.0925,"15":0.0538,"5":0.0825}}}}}}

```

The node shows in Kibana as in the screenshot below:

 ![Screen Shot 2022-04-04 at 10.20.19 AM](https://us1.discourse-cdn.com/elastic/original/3X/d/e/de3c3ab459218e1a772c37860d3d3286ebf98da7.png)

---

<div class="post-metadata">

### Author: ![Chris\_Stone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_stone/32/21026_2.png) [@Chris\_Stone](https://discuss.elastic.co/u/Chris_Stone)
#### Post date: [April 6, 2022, 3:19pm UTC](https://discuss.elastic.co/t/elasticsearch-node-with-metricbeat-not-registering-in-kibana/301548/2 "2022-04-06T15:19:21Z")

</div>

Any ideas about this? Trying to find other things to try...

---

<div class="post-metadata">

### Author: ![zx8086](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zx8086/32/94917_2.png) [@zx8086](https://discuss.elastic.co/u/zx8086)
#### Post date: [April 6, 2022, 3:22pm UTC](https://discuss.elastic.co/t/elasticsearch-node-with-metricbeat-not-registering-in-kibana/301548/3 "2022-04-06T15:22:46Z")

</div>

All metricbeat.yml files are identical ?

Other than metricbeat, the node is healthy ?

---

<div class="post-metadata">

### Author: ![Chris\_Stone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_stone/32/21026_2.png) [@Chris\_Stone](https://discuss.elastic.co/u/Chris_Stone)
#### Post date: [April 6, 2022, 3:45pm UTC](https://discuss.elastic.co/t/elasticsearch-node-with-metricbeat-not-registering-in-kibana/301548/4 "2022-04-06T15:45:33Z")

</div>

Thanks! Yeah, they were identical, and that was the problem 🤦‍♂️ The `host` value in `/etc/metricbeat/modules.d/elasticsearch-xpack.yml` was set to the original host and not the localhost. I'll just change them all to `localhost`. In any case, it's working now. Thanks again!

---

<div class="post-metadata">

### Author: ![zx8086](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zx8086/32/94917_2.png) [@zx8086](https://discuss.elastic.co/u/zx8086)
#### Post date: [April 6, 2022, 4:38pm UTC](https://discuss.elastic.co/t/elasticsearch-node-with-metricbeat-not-registering-in-kibana/301548/5 "2022-04-06T16:38:52Z")

</div>

@Chris_Stone that is what i meant, the configuration should be identical to the working ones, as usually you don't need to make them unique when using the default setup.

---

<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: [May 4, 2022, 6:39pm UTC](https://discuss.elastic.co/t/elasticsearch-node-with-metricbeat-not-registering-in-kibana/301548/6 "2022-05-04T18:39:28Z")

</div>

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