Document fields disappear in Elasticsearch after upgrading MongoDB from 3.6 to 7.0
We are using Monstache v6.7.17 to sync data between MongoDB and Elasticsearch 8.3.2. Everything worked fine with MongoDB 3.6. However, after upgrading to MongoDB 7.0, we started experiencing issues: when updating some fields in a MongoDB document, the other fields seem to disappear from the document in Elasticsearch. The document itself still exists in Elasticsearch by _id, but I can’t see indexed fields due to _source: disabled.
Here is monstache configuration: