Metricbeat attempting to fetch metrics for unlisted metricset - why?

I've installed metricbeat (7.12.0) and enabled the elasticsearch-xpack module.

And configured it like so:

- module: elasticsearch
  xpack.enabled: true
  period: 10s
  scope: cluster
  hosts: [""]
    - node
    - node_stats
    - cluster_stats
    - index
    - index_recovery
    - shard
    - index_summary
    - pending_tasks

And I'm getting the following logs in syslog:

INFO#011module/wrapper.go:259#011Error fetching data for metricset elasticsearch.ml_job: HTTP error 400 in : 400 Bad Request

I didn't enable the elasticsearch.ml_job metricset, so why is it trying to fetch it?
How can I make it stop?
Do I need to be using the elasticsearch module instead of elasticsearch-xpack?

Thanks for any help offered!

I also get this error on a fresh install of elasticsearch-xpack with no changes to the config, but only on some nodes, not on others.

This seems to happen on master nodes only. Seems like a bug?

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