# Monitoring Logstash With Metricbeat

**URL:** https://discuss.elastic.co/t/monitoring-logstash-with-metricbeat/275637
**Category:** Beats
**Tags:** elastic-stack-monitoring, metricbeat
**Created:** [June 11, 2021, 3:15am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-metricbeat/275637 "2021-06-11T03:15:18Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wwalker](https://avatars.discourse-cdn.com/v4/letter/w/43a26b/32.png) [@wwalker](https://discuss.elastic.co/u/wwalker)
#### Post date: [June 11, 2021, 3:15am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-metricbeat/275637/1 "2021-06-11T03:15:18Z")

</div>

Recently upgraded my Elastic Stack to 7.13 and have installed metricbeat 7.13.1 on the logstash server for monitoring, but I can get this thing to send monitoring data. The logs indicate a successful connection to my monitoring cluster...Is there a compatibility issue between running Logstash 7.13 and metricbeat 7.13.1? Monitoring was working fine before I migrated metricbeat from 7.10.0, so I'm not sure what changed.

**metricbeat.yml**

```auto
metricbeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: true
http:
  enabled: true
  port: 5067
monitoring:
  cluster_uuid: x_A
setup.template.settings:
  index.number_of_shards: 1
  index.number_of_replicas: 0
  index.codec: best_compression
output.elasticsearch:
  hosts: ["https://log:9200"]
  proxy_url: "192.168.1.1:1111"
  username: "changeme"
  password: "Password1"
  protocol: "https"
  ssl:
    enabled: true
    certificate_authorities:
      - |
        -----BEGIN CERTIFICATE-----

```

**logstash-xpack.yml**

```auto
- module: logstash
  metricsets:
    - node
    - node_stats
  period: 10s
  hosts: ["http://LS1:9600"]

```

**logstash.yml**

```auto
node:
  name: LS1
config:
  reload:
    automatic: true
    interval: 5s
path:
  data: /data
  logs: /logs
http:
  host: "LS1"
  port: 9600
xpack:
  monitoring.enabled: false
pipeline:
  separate_logs: true

```

---

<div class="post-metadata">

### Author: ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)
#### Post date: [June 14, 2021, 8:54am UTC](https://discuss.elastic.co/t/monitoring-logstash-with-metricbeat/275637/2 "2021-06-14T08:54:00Z")

</div>

Hi @wwalker 🙂

I think `monitoring.enabled` should be set to `true` in `logstash.yml`

---

<div class="post-metadata">

### Author: ![wwalker](https://avatars.discourse-cdn.com/v4/letter/w/43a26b/32.png) [@wwalker](https://discuss.elastic.co/u/wwalker)
#### Post date: [June 16, 2021, 7:11pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-metricbeat/275637/3 "2021-06-16T19:11:00Z")

</div>

Yes, I forgot to update the thread. I went back through the setup documentation and started from scratch. Following instructions always seems to fix problems 😃

---

<div class="post-metadata">

### Author: ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)
#### Post date: [June 16, 2021, 7:12pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-metricbeat/275637/4 "2021-06-16T19:12:00Z")

</div>

Cool 😄

---

<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: [July 14, 2021, 9:12pm UTC](https://discuss.elastic.co/t/monitoring-logstash-with-metricbeat/275637/5 "2021-07-14T21:12:07Z")

</div>

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