I get this warning in metricbeat 5.3.0 log output:
WARN Can not index event (status=400): {"type":"mapper_parsing_exception","reason":"object mapping for [mongodb.dbstats.avg_obj_size] tried to parse field [avg_obj_size] as object, but found a concrete value"}
Thank you for sharing this. I think you just found a bug in metricbeat, I've opened an issue to track it, feel free to comment there if you think it needs further clarification:
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.