web stats
User Login / Activity Log - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 04-13-2017, 12:48 PM
cmr7567 cmr7567 is offline
What's HL7?
Join Date: Apr 2017
Posts: 1
cmr7567 is on a distinguished road
Default User Login / Activity Log

Can anyone instruct me on how I can generate or review activity logs within MC which would show at least who logged on, and when? Detailed activity of what was done while a user was logged in would also be helpful.

Reply With Quote
Old 04-13-2017, 01:25 PM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 6,971
narupley is on a distinguished road

Yes, all of that information is available from the Events view. You can search events by user, IP address, operation name, date range, and more.

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote
Old 04-21-2017, 12:05 AM
amble amble is offline
OBX.2 Kenobi
Join Date: Nov 2015
Posts: 82
amble is on a distinguished road

For info, we had to recently set up an audit trail ourselves so used an SSRS report which interrogated the database and removed a lot of the generic stuff to give us some more meaningful results. Might be useful:

SELECT event.date_created, event.name, event.outcome, event.user_id, event.ip_address, person.username
FROM event
LEFT JOIN person ON person.id = event.user_id
WHERE name NOT IN ('Data Pruner', 'Get message content', 'Get messages by page limit', 'Get search results count', 'Alert Dispatched')
AND person.username != '' 
AND (event.date_created > current_date - 30 * INTERVAL '1 day')
ORDER by event.date_created desc
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 08:32 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Mirth Corporation