Chartio supports MongoDB through a tool developed by Stripe called MoSQL. MoSQL creates and live-updates a PostgreSQL instance of your MongoDB data. As an added bonus, you’ll be creating a backup copy of your data, which is something we always recommend.

We have several customers, including MongoHQ, who are successfully using MoSQL to import their MongoDB databases to Chartio.

To get started, just follow these basic steps:

  1. Create a PostgreSQL database.
  2. Follow Stripe’s instructions for syncing your MongoDB data to your PostgreSQL instance.
  3. Connect PostgreSQL data source to Chartio.

Unfortunately, MoSQL does not support MongoDB 3.2 or later. If you are using a newer version of MongoDB, you can consider these other options:

  • Stitch or other ETL tools
  • Momy, a tool to replicate MongoDB to MySQL in realtime
  • rollback to MoSQL-supported version of MongoDB