Mongodb auditing

Hi
How does one implement auditing for mongodb on the percona kubernetes install.
The mongo.conf file under /etc is not writable by non root user?
How does one get access to that file or is there another location associated with the conf file?

TIA.

1 Like

Hi @tropically ,

You don’t need to edit mongod.conf in the container. There is a section in cr.yaml to configure audit log: percona-server-mongodb-operator/cr.yaml at main · percona/percona-server-mongodb-operator · GitHub

1 Like