If you need to simply copy a Azure Application Insights data to Heroku Postgres without mapping configuration, you can use Skyvia replication. It allows you to create a copy of Azure Application Insights data in Heroku Postgres and keep it up-to-date with little to no configuration efforts. You don’t even need to prepare the schema — Skyvia can automatically create tables for your Azure Application Insights data.
All you need is to specify the connections to Azure Application Insights and Heroku Postgres, select the required objects and fields, set filters if needed, and Skyvia does the rest. It will copy the selected data to Heroku Postgres and maintain this copy up-to-date automatically.