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: ["my-internal-elb.us-east-1.elb.amazonaws.com:9200"]
metricsets:
- 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!