我能否访问 Discourse 论坛数据库以用于 PowerBI 报表?

您好,我们使用 Discourse 作为论坛,用于讨论各公司的产品、发布、使用情况及问题。我们已将其划分为多个分类并添加了标签,以确保主题的相关性。我试图创建一份报告,以利用现有数据查看质量指标。

如何访问这些数据?数据存储在哪里?以及如何查询该数据库?

基本上,我试图访问后端数据,以便为满足我的报告需求而提取数据。

The best way to query your site’s database is with the Data Explorer plugin. Have a look at the (Superseded) What cool data explorer queries have you come up with? topic to see some example queries. If you need help with specific queries, feel free to ask for help in the #plugin:data-explorer category.

Thank you Simon. But where do I install the plug in from?

For our hosted customers, the Data Explorer plugin is installed on all Business sites. You can access it by going to the admin section of your site, clicking the Plugins link on the admin menu, and then clicking the Data Explorer link from the left-side menu.

For self-hosted sites, the plugin can be installed by following these instructions: Install Plugins in Discourse.

Thank you Simon. I installed the data explorer plugin and was able to run sample queries.

I need help in pulling the data continuously on daily basis and stage it in my own database for future reporting. Once I have all the data, I can pull it and shape it as the requirement. Is there any good practice to do the continuous data load. Can I integrate it with some kind of scheduler like Jenkins for daily loads?