We are currently using Percona Server for MongoDB in Docker containers using this image percona/percona-server-mongodb
I have auditing enabled per this documentation. I’d like to find a good way to harvest these logs from the various replica set member containers we have running on several hosts to a central storage location. Does anyone have recommendations on a good way to do this? One idea would be to write out to a file that can then be mounted and then picked up from the host filesystem, or perhaps a better idea is to write to syslog and then setup forwarding to a remote syslog server, but in that case the percona-server-mongodb container isn’t equipped out of the box to forward syslog entries?
I’d be interested to hear if anyone in the community is harvesting audit logs and what approaches have/have not worked for you.