Firebase Reporting Options

浪子不回头ぞ 提交于 2019-12-22 06:55:16

问题


All my app's data is stored in Firebase. I'd like to build some reports with my data that aren't necessarily accessible through the web/app front-end. I don't see any good options for this in the Console. Has anyone found a good reporting solution for Firebase? I am looking for something like Crystal Reports or just an easy way to render Firebase data based on a query. Thanks, Rima.


回答1:


I found a issue with the solution above. Firebase stores its data in JSON format, which cannot be consumed by solutions such as BigQuery, because it is expecting JSONL format and you get an error. It beats me why Google are not providing an elegant solution when integrating between two of their products, but I believe they have something planned.




回答2:


Firebase does not have any "built-in" reporting tools other than the defined querying APIs.

If your database is small, you dump the JSON from the Firebase Console and then manually run analysis on it.

If your database is large, you can upgrade to the Flame or Blaze plans and sign up for daily private backups. This will create a JSON dump in the background without affecting your database performance and store it in the cloud. You could then use tools to grab that dump and perform advanced reporting on it.




回答3:


1) Via BigQuery

Official Docs: https://cloud.google.com/bigquery/docs/loading-data-cloud-firestore

Codelab Walkthrough: https://codelabs.developers.google.com/codelabs/modern-data-pipeline-firestore-bigquery-dataflow-templates/index.html?index=..%2F..next17

Connect whatever BI tool you want to BigQuery. Google Data Studio is free as is Metabase. Almost every Enterprise BI tool has a BigQuery connector.

From https://www.reddit.com/r/Firebase/comments/arps42/reportingbi_tools_and_firestore/

2) Via "Custom Data Sources"

Cloud Firestore (and probably Realtime-Db) has a RESTFUL API. Many popular reporting tools support "custom", "restful", "ajax", and/or "HTTP" sources.

You should search your favorite reporting tools, and internet search accordingly.

I can see that Stimulsoft seems to support custom/RESTFUL sources. A PowerBI data connector seems to provide a lot of latitude - https://github.com/Microsoft/DataConnectors

Of course, this means that you need to create several data sources, and they probably won't be as optimised as a built-in source type. For example, the report engine probably won't know how to translate any front-end UI filters into custom-source query filters. Perhaps some platforms support the ability for you to create your own adaptors.



来源:https://stackoverflow.com/questions/39106643/firebase-reporting-options

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!