[agent]
  interval="1s"
  flush_interval="3s"

[[inputs.mongodb]]
  servers = ["mongodb://mongodb:27017"]

[[outputs.file]]
  files = ["stdout"]