# Packetbeat 7.2.0 and mongodb 4.0.12 - no "resource" and no "mongodb.fullCollectionName"

**URL:** <https://discuss.elastic.co/t/packetbeat-7-2-0-and-mongodb-4-0-12-no-resource-and-no-mongodb-fullcollectionname/205454>\
**Category:** Beats\
**Tags:** elastic-stack-monitoring, packetbeat\
**Created:** [October 28, 2019, 12:16pm UTC](https://discuss.elastic.co/t/packetbeat-7-2-0-and-mongodb-4-0-12-no-resource-and-no-mongodb-fullcollectionname/205454 "2019-10-28T12:16:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maria\_Dorohin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maria_dorohin/32/56703_2.png) [@Maria\_Dorohin](https://discuss.elastic.co/u/Maria_Dorohin)\
**Post date:** [October 28, 2019, 12:16pm UTC](https://discuss.elastic.co/t/packetbeat-7-2-0-and-mongodb-4-0-12-no-resource-and-no-mongodb-fullcollectionname/205454/1 "2019-10-28T12:16:04Z")

</div>

I am monitoring mongodb with packetbeat.

I want to build dashboard in kibana with "Visualize" per collection name, but I don't see relevant values in "resource" or in "mongodb.fullCollectionName" in ellastic.

The values of mongodb.fullCollectionName: admin.$cmd, admin.$cmd.otherCommand(), mydb.$cmd.otherCommand().

How can I get the collection names(mydb.myCollection)?  
Does packetbeat support mongo 4?

packetbeat configuration:  
packetbeat.protocols:  
- type: mongodb  
ports: "27017"

packetbeat version: 7.2.0  
mongodb version: 4.0.12

In addition packatbeat throws following error:  
"ERROR mongodb/mongodb\_parser.go:68 Unknown operation code: 1936028769 ((value=1936028769))"

It worked great with packetbeat version 6.5.4 and mongodb version: 3.6.4

---

<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:** [November 25, 2019, 12:16pm UTC](https://discuss.elastic.co/t/packetbeat-7-2-0-and-mongodb-4-0-12-no-resource-and-no-mongodb-fullcollectionname/205454/2 "2019-11-25T12:16:07Z")

</div>

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