Journaling and Diagnostics Logging are services to monitor and audit activity on Microsoft Exchange servers. They provide basic auditing functionality for email activity (e.g. who sent which message to whom) and, if collected and analyzed, may help organizations answer basic questions about email, as well as comply with policies and regulations. (Note: Varonis DatAdvantage for Exchange does not require journaling or diagnostics to monitor Exchange activity.)
Journaling records email communication traffic and processes messages on the Hub Transport servers. The information collected by the journaling agent can be viewed through journaling reports, which include the original message with all the attachments.
Is your Office 365 and Teams data as secure as it could be? Find out with our Free Video Course.
Diagnostics writes additional activities to the event log (visible in Windows Event Viewer), such as “message sent as” and “message sent on behalf of” actions. Diagnostics can be configured through the Manage Diagnostics Logging Properties window in the Exchange Management Console.
Journaling and Diagnostics Logging collect significant amounts of events and generate a large amount of raw log data, so it is critical to plan which mailboxes and messages will be monitored and allocate additional storage before enabling.
Here are the steps to enable Journaling and Diagnostics in your Exchange Server.
Setting up Journaling in Exchange
There are two types of Journaling: standard and premium. Standard provides journaling of all the messages sent and received from mailboxes on a specified mailbox database, while premium provides the ability journal individual recipients by using journaling rules.
Here are the high-level steps to setup journaling on your Exchange server:
- First, create a journaling mailbox. This mailbox will be configured to collect all the journaling reports, and should ideally be setup with no storage limits to avoid missing any. The process to create the mailbox is:
- Select a different OU than the default
- Assign a display name
- Assign user logon name (user will use to login to this mailbox)
- Setup a password—take into account that journaling mailboxes may contain sensitive information, as a copy of the message is stored with the report.
- To enable standard Journaling it is necessary to modify the properties of the mailbox database. Under the Organization Configuration/Mailbox/Database Management/Maintenance tab, you will need to specify the journaling mailbox where you want the journaling reports sent.
- Premium Journaling requires an Exchange Enterprise Client license. To setup premium journaling, it is necessary to create journal rules, which are used to setup journaling for specific recipients. Using the EMC (Exchange Management Console) the journal rules can be created under the Hub Transport section of the Organization Configuration; on the Journal Rules tab. The fields to configure a journal rule are the following:
- Send reports to email
- Global – all messages through the Hub transport
- Internal – messages sent and received by users in the organization
- External – messages sent to or from recipients outside the organization
- Journal messages for recipient – journal messages sent to or from a specific recipient
- Enable rule – checkbox
Make sure the status on the completion page is “Completed” to verify that the rule was created successfully.
Setting up Diagnostics in Exchange
- In the Exchange Management Console (EMC), click on Server Configuration.
- Right-click on an Exchange server to enable Diagnostics Logging on it.
- Click on Manage Diagnostics Logging Properties.
- On the Manage Diagnostics Logging window, select the services you want to enable diagnostics for.
- Choose the level of diagnostics you would like on that service.
- Lowest – log only critical events
- Low – log only events with logging level 1 or lower
- Medium – log events with logging level 3 or lower
- High – log events with logging level 5 or lower
- Expert – log events with logging level 7 or lower
- Click on configure. The system will provide a confirmation screen.
In a future post, we will go over the Mailbox Audit Logging in MS Exchange 2010.