I followed https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-mongodb.html doc, still getting error. What could be the problem?
Configuration and output is here
https://gist.github.com/Zhomart/9f37598e71c7a1f0403f2d488fddac05
I followed https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-mongodb.html doc, still getting error. What could be the problem?
Configuration and output is here
https://gist.github.com/Zhomart/9f37598e71c7a1f0403f2d488fddac05
It seems like some metrics are missing in your mongodb installations. Which version of mongodb are you using? I assume the data is still shipped to elasticsearch, you only see some errors in the log file?
I use 3.2.9
$ mongod --version
db version v3.2.9
git version: 22ec9e93b40c85fc7cae7d56e7d6a02fd811088c
OpenSSL version: OpenSSL 1.0.2j 26 Sep 2016
allocator: system
modules: none
build environment:
distarch: x86_64
target_arch: x86_64
Here is the full output https://gist.github.com/Zhomart/1babae5dc915ccdd1052948f6ea0aa52
You're right, data is still shipped. This error is just keep showing only.
We tested the module with mongodb 3.0. I just checked and it seems in 3.2 (and 3.4) quite a few of the statistics fields were removed or moved. Can you open a Github issue for that?
BTW: Just realised there is already an issue posted for it here: https://github.com/elastic/beats/issues/2990
This topic was automatically closed after 21 days. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.