Can audit logging be enabled on the Red Hat MongoDB image
Issue
Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.
A MongoDB Cluster has been deployed in production using Red Hat's MongoDB Image from the redhat.io registry.
Image: registry.redhat.io/rhscl/mongodb-XX-rhel7
How can the MongoDB audit logging functionality, mentioned in the MongoDB manual linked below, be enabled with this image?
Auditing - MongoDB
Environment
OpenShift using the registry.redhat.io/rhscl/mongodb-XX-rhel7
The current version of the image at the time of writing is
registry.redhat.io/rhscl/mongodb-36-rhel7 but this article should relate to all other versions.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.