title: docker logs to mongo
body: <p>Using a docker swarm,
  what is the lightweight solution of transferring the logs and performance metrics of services to a mongo server.
  right now most of the logging is from node.js server. expect from haproxy.</p>
  <p>I am ok to make a node.js broker for transferring the logs to mongo server.</p>