# Stack monitoring shows a subset of all configured beats

**URL:** https://discuss.elastic.co/t/stack-monitoring-shows-a-subset-of-all-configured-beats/240804
**Category:** Beats
**Tags:** elastic-stack-monitoring, metricbeat
**Created:** [July 11, 2020, 4:55pm UTC](https://discuss.elastic.co/t/stack-monitoring-shows-a-subset-of-all-configured-beats/240804 "2020-07-11T16:55:10Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![tterranigma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tterranigma/32/48360_2.png) [@tterranigma](https://discuss.elastic.co/u/tterranigma)
#### Post date: [July 11, 2020, 4:55pm UTC](https://discuss.elastic.co/t/stack-monitoring-shows-a-subset-of-all-configured-beats/240804/1 "2020-07-11T16:55:10Z")

</div>

I am running version 7.8 of everything. I have a cluster of 3 instances, each running logstash and elasticsearch. On a 4th instance I run kibana with metricbeat and with a separate monitoring cluster. These are located in my "ELK" network.

In my main, business network, ach instance runs filebeat, auditbeat, packetbeat and journalbeat. For the time being I have only 3 such instances, ie 3\*4=12 beats to be monitored by metricbeat. This single metricbeat (sitting on the same instance as Kibana) communicates with my main network over the public internet (I use firewall rules to keep the http endpoints of the beats protected) and for each instance it tries to report back the status of the beats installed.

The problem is that in the Stack Monitoring page of kibana I only see a subset of them, 6 to be exact. All 4 journalbeats are present but I can only see one of each other type. For example, the auditbeat from the 1st instance shows, but the other 2 do not. After a few seconds, this `1st-auditbeat` disappears and the `2nd-auditbeat` (of the 2nd instance) shows and so on. I can't get to show all auditbeats at once (or filebeats or packetbeats).

Here is an example module that I use:

```auto
---
- hosts: x.x.x.x:5069
  metricsets:
  - stats
  - state
  module: beat
  period: 5s
  service:
    name: four-words-in-name
  tags: [..]
  xpack:
    enabled: true

```

I have one file per such module, ie 12 files for the 12 beats in my business network. Of course, each beat on an instance runs on its own port. The `service.name` is also unique per beat.

I have used tcpdump and confirmed that all 12 beats return responses every 5 minutes. I have no errors in kibana logs, neither in the logs of the monitoring cluster.

What am I doing wrong?

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [July 11, 2020, 6:24pm UTC](https://discuss.elastic.co/t/stack-monitoring-shows-a-subset-of-all-configured-beats/240804/2 "2020-07-11T18:24:00Z")

</div>

If you enable the http api for the beats (via `http.enabled: true` in the beat.yml file), double check that each beat has a unique `uuid`. Sometimes users copy/paste their installations across multiple hosts which could result in the same `uuid` for each beat, and the Stack Monitoring UI currently has no way to know that, or notify the user that is is happening

---

<div class="post-metadata">

### Author: ![tterranigma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tterranigma/32/48360_2.png) [@tterranigma](https://discuss.elastic.co/u/tterranigma)
#### Post date: [July 11, 2020, 6:28pm UTC](https://discuss.elastic.co/t/stack-monitoring-shows-a-subset-of-all-configured-beats/240804/3 "2020-07-11T18:28:39Z")

</div>

Thanks for you reply!

Which uuid do you mean though? For instance in auditbeat.reference.yml I can only see the

```auto

# Sets the UUID of the Elasticsearch cluster under which monitoring data for this
# Journalbeat instance will appear in the Stack Monitoring UI. If output.elasticsearch
# is enabled, the UUID is derived from the Elasticsearch cluster referenced by output.elasticsearch.
#monitoring.cluster_uuid:

```

Which I have set to be the same across all my beats (and Logstash/Elasticsearch).

---

<div class="post-metadata">

### Author: ![tterranigma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tterranigma/32/48360_2.png) [@tterranigma](https://discuss.elastic.co/u/tterranigma)
#### Post date: [July 11, 2020, 6:34pm UTC](https://discuss.elastic.co/t/stack-monitoring-shows-a-subset-of-all-configured-beats/240804/4 "2020-07-11T18:34:51Z")

</div>

Oh! I see. I did:

```auto
curl -XGET 'x.x.x.x:5067/?pretty'

```

and indeed the beats share the same uuid. This is due to my instances being created from a common image that has everything (including the beats) pre-installed.

Is there a way to generate a new uuid? If I delete the `meta.json` file in the data path, will this cause trouble?

---

<div class="post-metadata">

### Author: ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)
#### Post date: [July 13, 2020, 3:52pm UTC](https://discuss.elastic.co/t/stack-monitoring-shows-a-subset-of-all-configured-beats/240804/5 "2020-07-13T15:52:19Z")

</div>

@tterranigma The Beat will generate a new UUID on startup for itself if you delete the `meta.json` file. There won't be any issues. In the future make that every Beat has a different meta.json file. 🙂

---

<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: [August 10, 2020, 5:52pm UTC](https://discuss.elastic.co/t/stack-monitoring-shows-a-subset-of-all-configured-beats/240804/6 "2020-08-10T17:52:26Z")

</div>

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