export SSLKEYLOGFILE=/tmp/tlskey.log
Run a nodejs program as node --tls-keylog=/tmp/tlskey index.js
where the tls key will be stored on that path and add this tlskey path to wire shark to decrypt the msg by doing following
Go to Preferences→Protocols→TLS and edit the path as shown in the screenshot below.
Mongodb uses Mongodb wire protocol
at application level to know more check here