Metricbeat & Mongo 5

Hey I have a pretty simple config of Metric Beat

metricbeat.modules:
  - module: mongodb
    enabled: true
    hosts: [ "mongodb://root:secret@mongo" ]

I run it in docker (also mongo itself runs in docker). And it works well with Mongo 3.6. It works also with Mongo 4.4. But when upgrading to Mongo 5.0.3 I get:

Error fetching data for metricset mongodb.collstats: error creating new Session: server returned error on SASL authentication step: BSON field 'saslContinue.mechanism' is an unknown field.

Should I change sth in the metricbeat's configuration for Mongo 5?
Is there any known issue related to this?

1 Like

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