聊天记录和监控插件Openfire [英] Chat History and Monitoring Plugin Openfire

查看:167
本文介绍了聊天记录和监控插件Openfire的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的人.我有一个运行nodejs的聊天应用程序.我有一个单独的安装了openfire的聊天服务器.

I'm new to openfire. I have a chat application running nodejs. I have a separate Chat server with openfire installed.

  1. 我想知道如何处理聊天组的聊天记录?
  2. 如何从Openfire服务器逐步加载客户端中的聊天记录?我是否应该为此编写自定义例程?监控插件是否提供相同的功能
  3. 哪些聊天记录的格式是什么?有没有办法以任何给定的格式检索它们?
  4. 是否可以使用任何API来访问数据库?(我对此表示怀疑)

我同样安装了Monitoring Plugin.但是,我找不到有关聊天记录的openfire或监视插件的任何文档. 任何帮助将不胜感激.

I have installed Monitoring Plugin for the same. However I'm not able to find any documentation for openfire or monitoring plugin regarding chat history. Any help would be much appreciated.

推荐答案

  1. 请登录到您的服务器

  1. Please login to your server

转到插件,找到插件"Monitoring Service",如果尚未启用,请安装/启用它

Go to Plugins, find plugin "Monitoring Service" install/enable it if you have not enabled

现在转到服务器"菜单,依次转到存档"和存档设置"

Now go to the "Server" menu, go to "Archiving" then "Archiving Settings"

选中存档一对一聊天" 选中存档群聊"

Check "Archive one-to-one chats" Check "Archive group chats"

现在单击更新设置"

然后最重要的是,您需要单击重建索引"(此设置屏幕中的最后一个按钮). 然后从您的应用程序发送一条消息,并检查您的数据库表"ofMessageArchive"

And then after most important is you need to click on "Rebuild Index" (last button in this setting screen). Then send a messsage from your app, and check your database table "ofMessageArchive"

您将拥有魔法:)

它对我有用,让我们看看它是否对您有用!

It's working for me, let's see it is working for you or not!

这篇关于聊天记录和监控插件Openfire的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆