Pushing data to PostgreSQL from couchbase DB

How to push the couchbase db data to PostgreSQL ? I’m quite new to couchbase and PostgreSQL.
Kindly help me

Could you describe your setup and usecase? Every time your applications sends new JSON object into Couchbase, you want to upsert the same object into postgresql?

Basically I need to create a dashboard using Grafana for an app. Currently the app is using couchbase db. So need push the data to PostgreSQL.

Because grafana itself can only access postgresql in your setup?

all these db are available so thouht in this way.

No, there is no grafana datasource for Couchbase yet, but you could try to use SimpleJson datasource and write service, which will export data you need as JSON.

Here is the most simple implementation using javascript programming language:

1 Like