# 将所有对话转储到文件和结构化数据中

**URL:** <https://meta.discourse.org/t/dump-all-conversations-in-a-file-and-structured-data/202351>\
**Category:** Support\
**Created:** [2021年九月1日 14:59 UTC](https://meta.discourse.org/t/dump-all-conversations-in-a-file-and-structured-data/202351 "2021-09-01T14:59:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Wall-E](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wall-e/32/184438_2.png) [@Wall-E](https://meta.discourse.org/u/Wall-E)\
**Post date:** [2021年九月14日 22:40 UTC](https://meta.discourse.org/t/dump-all-conversations-in-a-file-and-structured-data/202351/4 "2021-09-14T22:40:02Z")

</div>

> [@pfaffman](#):
>
> 你还可以使用 [Data Explorer 插件](https://meta.discourse.org/t/data-explorer-plugin/32566) 以多种格式导出数据。

所以我安装了该插件，并查看了 [(Superseded) What cool data explorer queries have you come up with?](https://meta.discourse.org/t/what-cool-data-explorer-queries-have-you-come-up-with/43516?u=wall-e) 上执行的所有查询，但似乎没有任何查询能够导出实际的对话内容。例如，我查询了活跃度最高的前 100 个主题。我得到了包含主题 ID 的数据库条目（见截图），但没有对话内容。这是因为该插件仅用于从数据库中提取数据，而无法获取对话本身吗？如果是这样，有没有办法利用从数据库中提取的信息，将这些主题 ID 对应的对话以 JSON 文件的形式导出？这些主题 ID 正是由该插件从数据库中获取的。

 ![2021-09-14 18_33_29-top-100-active-topics@helionauts-org-2021-09-14.dcqresult - Excel](https://global.discourse-cdn.com/meta/original/3X/d/c/dc9851bdcd586293bc8ea6de413af475b32d6f49.png)

---

_[View the full topic](https://meta.discourse.org/t/dump-all-conversations-in-a-file-and-structured-data/202351)._
