Can't monitor Logstash with Metricbeat

Dear all, I have a 3-node Elasticsearch 7.9.1 cluster. In another server, I have a Logstash 7.9.1 service and Metricbeat with logstash-xpack module enable.

The problem is that in my Kibana --> Stack Monitoring section, I can't see Logstash, entering Setup Mode I can see this:

Please, I show you my configurations in order to get your help:

/etc/logstash/logstash.yml: /var/lib/logstash
pipeline.ordered: auto
config.debug: true
http.enabled: true
#HTTP API Settings
http.port: 9601
#Metrics Settings ""
http.port: 9600
log.level: debug
path.logs: /var/log/logstash
monitoring.enabled: false


path: ${path.config}/modules.d/*.yml
reload.enabled: true
reload.period: 60s
index.number_of_shards: 1
index.codec: best_compression
host: "https://box1:5601"
hosts: ["box1:9200", "box2:9200", "box3:9200"]
protocol: "https"
username: "elastic"
password: "xxx"
ssl.certificate_authorities: ["/etc/ssl/certs/ca.crt"]

  • add_host_metadata: ~
  • add_cloud_metadata: ~
  • add_docker_metadata: ~
  • add_kubernetes_metadata: ~
    monitoring.enabled: false


  • module: logstash
    metricsets: ["node", "node_stats"]
    xpack.enabled: true
    period: 10s
    hosts: ["localhost:9600"]

Thanks a lot!!!

Hi @robertitox,

Where are your logstash pipelines sending their data? Directly to Elasticsearch, or to another service?

Dear Chris, my logstash pipelines data are sent directly to Elasticsearch.

Thanks and I'll be wainting for your response.



Two things to check:

  1. On the machine running logstash, hit the _node/stats?vertices=true API for Logstash and return the full response

  2. Run this query against the monitoring cluster

GET _cat/indices/.monitoring-*

If you see .monitoring-logstash-* indices in the list, then run this query and return the result:

POST .monitoring-logstash-*/_search
  "size": 0,
  "aggs": {
    "clusters": {
      "terms": {
        "field": "cluster_uuid",
        "size": 10
      "aggs": {
        "types": {
          "terms": {
            "field": "type",
            "size": 10
          "aggs": {
            "first": {
              "min": {
                "field": "timestamp"
            "last": {
              "max": {
                "field": "timestamp"

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