Mongodb version 3.6 and later added 'OP'_ MSG 'message type. When packet beat parses this type, the output field mongodb is empty. In addition, the most important thing is that there is no end time and no overall response time in the event output field
Parsing output of type OP_MSG:
"mongodb": {},
"resource": "",
"event": {
"start": "2021-10-23T08:28:16.778Z",
"category": [
"network_traffic",
"network"
],
"type": [
"connection",
"protocol"
],
"kind": "event",
"dataset": "mongodb"
}
Parsing output of earlier types:
"mongodb": {
"fullCollectionName": "admin.$cmd",
"numberToSkip": 0,
"numberToReturn": 4294967295,
"cursorId": 0,
"startingFrom": 0,
"numberReturned": 1
},
"resource": "admin.$cmd",
"event": {
"type": [
"connection",
"protocol"
],
"kind": "event",
"dataset": "mongodb",
"duration": 139884,
"start": "2021-07-27T08:27:27.473Z",
"end": "2021-07-27T08:27:27.473Z",
"category": [
"network_traffic",
"network"
]
},