Error while sending mongodb.status on mac os 10.11 using metricbeat 5.0


(Zhomart) #1

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


(ruflin) #2

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?


(Zhomart) #3

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.


(ruflin) #4

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?


(ruflin) #5

BTW: Just realised there is already an issue posted for it here: https://github.com/elastic/beats/issues/2990


(system) #6

This topic was automatically closed after 21 days. New replies are no longer allowed.