# Cannot index event avg\_obj\_size

**URL:** <https://discuss.elastic.co/t/cannot-index-event-avg-obj-size/81941>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 11, 2017, 8:33am UTC](https://discuss.elastic.co/t/cannot-index-event-avg-obj-size/81941 "2017-04-11T08:33:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cukal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cukal/32/17226_2.png) [@cukal](https://discuss.elastic.co/u/cukal)\
**Post date:** [April 11, 2017, 8:33am UTC](https://discuss.elastic.co/t/cannot-index-event-avg-obj-size/81941/1 "2017-04-11T08:33:06Z")

</div>

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"}

How can I fix this?

Thanks!

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [April 11, 2017, 11:25am UTC](https://discuss.elastic.co/t/cannot-index-event-avg-obj-size/81941/2 "2017-04-11T11:25:10Z")

</div>

Hi @cukal,

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:

> <https://github.com/elastic/beats/issues/3989>

Best regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 9, 2017, 11:36am UTC](https://discuss.elastic.co/t/cannot-index-event-avg-obj-size/81941/3 "2017-05-09T11:36:08Z")

</div>

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