Monitoring Logstash with Metricbeat

Hi,

I'm configuring the monitoring feature of the Elastic Stack using metricbeat 7.6.2. I have configured a metricbeat with this configuration:

    - module: logstash
      metricsets:
        - node
        - node_stats
      period: 20s
      hosts:
        - "A:9600"
        - "B:9600"
        - "C:9600"
        - "D:9600"
      username: "xx"
      password: "yy"
      xpack.enabled: true

And now I can see information about the Logstash and Pipelines, but when I enter in a pipeline, the events/second in each stage are always 0.

Am I missing any configuration? If I query the logstash port I can see that the information is there, but Metricbeat doesn´t seem to retrieve it

Hi @cpiment,

Let's take a look at the data and see if we can figure this out.

Can you run this query against the monitoring cluster?

POST .monitoring-logstash-*/_search
{
	"size": 1,
	"sort": {
		"timestamp": {
			"order": "desc"
		}
	},
	"query": {
		"bool": {
			"filter": [
				{
					"term": {
						"type": "logstash_stats"
					}
				}
			]
		}
	}
} 

Hi @chrisronline,

I'm checking it today and now it's already reporting metrics. It seems I hadn't wait enought time to the visualization to show data.

Thanks for your help :slight_smile:

Glad to hear.

We have a long outstanding bug that might be involved here: https://github.com/elastic/kibana/issues/28153

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