Metricbeat stops logstash monitoring

I have running metricbeat, to monitor my ELK. It works great for Kibana and Elasticsearch, but when it comes to Logstash, it stops showing status. Starts working only after metricbeat restart.
Logstash version: 7.5.2
Metricbeat version: 7.5.2
Metricbeat logstash-xpack.yml

# Module: logstash
# Docs:

- module: logstash
    - node
    - node_stats
  period: 60s
  hosts: ["my_ip:9600"]
  username: "monitor"
  password: "${monitor.password}"
  xpack.enabled: true

logstash.yml node_name /u01/app/logstash/data my_ip
http.port: 9600
log.level: info
path.logs: /u01/data/ls_logs
config.reload.automatic: true
xpack.monitoring.enabled: false

Metricbeat logs show this message:

2020-02-13T08:39:36.801+0100 ERROR [logstash.node_stats] node_stats/node_stats.go:81 HTTP error 400 in : 400 Bad Request

We have the exact same problem here, on the same version (7.5.2).

Everything works fine for a while (after restarting Metricbeat), but then the dataflow stops, and we see the same error as OP in the logs:

2020-02-14T03:14:09.685+0100 ERROR [logstash.node_stats] node_stats/node_stats.go:81 HTTP error 400 in : 400 Bad Request

No errors can be seen on the Logstash side, that would explain why the HTTP API server is throwing back a 400 Bad Request.

Any suggestions?

I have the same error , MB stops after node_stats fails.

I think you might be running into this bug: It was fixed via and the fix is released in version 7.6.0.

Hope that helps,


@shaunak metricbeat updated to 7.6. Now i can just wait.

It's working now. Thanks!

Yes, its working now. Thanks!

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