Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Admin ability to view history for all channels, direct messages and private channels

Open gt50 opened this issue 10 years ago • 102 comments

Your Rocket.Chat version: 0.26.0

I would like to be able to view all conversations that have occurred on the RocketChat server. I would like to use it in an work environment. There is no expectation of privacy and the information would be accessed when needed for auditing purposes.

I imagine this either being added to the history area, or allowing an admin to view a room, or add themselves to a room from the rooms area in adminstration.

gt50 avatar Apr 13 '16 18:04 gt50

I agree, there is some expectation from upper management that all electronic communication is being logged somewhere. Even if if it just dumped every message sent to a log file somewhere, that would be enough for our purposes. It is very rare that I have to dig into such information, but sometimes there is good reason.

edman545 avatar Apr 19 '16 12:04 edman545

Could be implemented in the admin rooms view (where all direct messages are already listed as well), when clicking on the room to show the logs of it. Or in a separate audit view.

tholu avatar Apr 19 '16 12:04 tholu

I also think that from a compliance point of view it would be very important to be able to access all chats on the server

kdahmani avatar Apr 23 '16 14:04 kdahmani

Definitely need logging for compliance here. Anything would be great; text, syslog, d/b, don't care how. We won't be able to go live until this is available.

heytimc avatar May 13 '16 17:05 heytimc

same requirement for our office as well. currently utilizing openfire jabber for interoffice communication w/ their archive plugin. something similar or anything really would be great.

dereckhall avatar May 27 '16 14:05 dereckhall

+1 for this. It's the only thing holding us back from implementing RocketChat

thelilmatt avatar Jun 10 '16 20:06 thelilmatt

I would love this functionality too...

On Jun 10, 2016, at 3:36 PM, thelilmatt [email protected] wrote:

+1 for this. It's the only thing holding us back from implementing RocketChat

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RocketChat/Rocket.Chat/issues/2869#issuecomment-225288931, or mute the thread https://github.com/notifications/unsubscribe/AOVtMEqR3suEpU_gECJHTbf_otfHbdZdks5qKcrGgaJpZM4IGrw8.

dupree972 avatar Jun 10 '16 20:06 dupree972

Rocketchat is a fantastic platform but I would really like to see this feature implemented so we can use this in our organization. Pretty much every other chat style program has at least one way to audit conversations for HR purposes.

widget7h15 avatar Jun 16 '16 16:06 widget7h15

Is there any progress or has anyone even found a work around for this. We are a SEC and CFTC regulated entity and our compliance officer has the need to randomly review a certain small percentage of messages per month. Also we have the need to archive messages. It does not need to be fancy, even if they all dropped into a text file or something that could be ingested somewhere like a smarsh or other archive that would be terrific.

dupree972 avatar Jun 22 '16 13:06 dupree972

This is also functionality we will need before moving to production in our environment.

warrentech-net avatar Aug 17 '16 22:08 warrentech-net

Yay! Merged to develop :)

heytimc avatar Sep 18 '16 10:09 heytimc

I see the Smarsh Connector in the latest build, which is great. Is there any plan to offer a built-in log/archive/history page to audit conversations?

warrentech-net avatar Sep 21 '16 15:09 warrentech-net

Here too, we need that function before moving to production

patit72 avatar Dec 19 '16 14:12 patit72

This functionality is vital before we can consider using rocket Chat hosted version!

megabit-computing avatar Jan 15 '17 21:01 megabit-computing

+1

rajsardhara avatar Feb 13 '17 17:02 rajsardhara

You can already do this by connecting to your Mongo database.

List the rooms with db.rocketchat_room.find({}), grab the ID of the room you want the history for.

Then you can see that room's history with db.rocketchat_message.find({"rid": "your_chatroom_id"}, {"u.username": 1, "msg": 1, "_id": 0}).sort({ts: 1}).map(function (d) {return d.u.username + ": " + d.msg})

It's not as intuitive as a web interface, but auditing your users' chat logs should seldom be done therefore this is a viable workaround in the meantime.

This topic attracts a great deal of controversy, as it should. That being said, this method is a workaround until there is a corresponding UI. This also means that you are already being recorded when chatting using RocketChat since your messages are saved in the database unencrypted (unless you use OTR). If you allow your users to edit/delete their messages, they are indeed modified/deleted from the database, so take that into account.

Nepoxx avatar Feb 15 '17 15:02 Nepoxx

@Nepoxx For the majority of users here this is a business requirement.

Also, your method doesn't take into account that users can still edit their original message, which modifies the original within mongo.

dereckhall avatar Feb 15 '17 16:02 dereckhall

@dereckhall He just gave us a workaround. You can disagree about the spying part (I don't), but where I'm from when someone help you, you say "thank you"

@Nepoxx thanks!

philippevk avatar Feb 15 '17 19:02 philippevk

If this feature is enabled it should be made clear the chat is being recorded. RocketChat is already being used for private chat servers as well.

xandershelley avatar Feb 16 '17 06:02 xandershelley

It might be required for forensic audit, and its use should be logged too. For sure it is a feature needed in business environments

patit72 avatar Feb 16 '17 07:02 patit72