Microsoft Office 365 Input
Microsoft Office 365 is a widely used cloud-based suite of productivity tools. This plugin allows you to pull your organization’s Office 365 logs into Graylog for processing, monitoring, and alarming.
Note
This is a Graylog Enterprise Integrations feature and is only available since Graylog version 3.3.3. A valid Graylog Enterprise license is required.
Required Office 365 Setup
Prerequisites
In order to use the Office 365 plugin, you will need to create and authorize a Client Application through your organization’s Microsoft Azure portal.
It is assumed that you already have a working Office 365 subscription and access to the Microsoft Azure portal for your organization. It is also assumed you have the correct account type which allows access to the audit logs. Generally this is an E5/A5 account.
The following steps are mandatory.
Azure Configuration
Log in to Microsoft Azure
Navigate to
Azure Active Directoryin the left-hand menuSelect
App Registrationsunder the Manage heading in the left-hand menuSelect
New Registrationin the top of the right-hand paneRegister a new application
Once the application has been created, take note of the following fields, which will be needed to set up the O365 plugin:
For the newly-created Application, navigate to
Certificates & SecretsClick on
New Client SecretAdd a description for the new secret, select an expiration time, and then click
AddMake a note of the generated value, you will need this to set up the O365 Plugin
Client Application Permissions in O365
- For the newly-created Application, navigate to
API permissions - Click on
Add a permission - Select
Office 365 Management APIs - Select
Application Permissions - Select all available permissions on the list and click
Add permissions - Click on
Grant admin consentfor... and confirm by clickingYesin the popup dialog
Enable Unified Audit Logging
Navigate to the Audit Log Search page in Microsoft Office 365 and enable Unified Audit Logging. If this is the first time enabling Unified Audit Log, it can take up to 24 hours before logs start coming into Graylog.
Plugin Configuration
Note
You will need the Client ID, Tenant ID, and Client Secret from the previous sections in order to proceed.
Input NameDirectory (tenant) IDApplication (client) IDClient SecretSubscription Type
O365 Content Subscription
Log Types To CollectPolling IntervalDrop DLP logs containing sensitive dataEnable ThrottlingStore Full Message