Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Configuration requirements
To run this collector, there are some configurations detailed below that you need to consider.
...
Configuration
...
Details
...
Microsot Azure account
...
Overview
Microsoft 365
...
is a
...
Info |
---|
More information Refer to the Vendor setup section to know more about these configurations. |
Overview
Office 365 is a widely adopted productivity suite from Microsoft. The suite includes Microsoft Exchange Online collaboration service for email, calendars, contacts, and tasks. Message tracing is one of the basic tools used by administrators to monitor email flow.
...
Note |
---|
Message tracking logs You won’t be able to edit the messages in Office 365 since they are not simple text files. To do that you can use message tracking logs in on-prem Exchange that allow you to edit them directly since they are simple text files. |
Devo collector features
...
Feature
...
Details
...
Configuration requirements
To run this collector, there are some configurations detailed below that you need to consider.
Configuration | Details |
---|---|
Microsot Azure account | It is a requirement to have an account so you can run this collector. |
Microsoft 365 account | It is a requirement to have an account so you can run this collector. |
Info |
---|
More information Refer to the Vendor setup section to know more about these configurations. |
Devo collector features
Feature | Details |
---|---|
Allow parallel downloading ( |
|
Running environments |
|
Populated Devo events |
|
Flattening preprocessing |
|
Data sources
Data source | Description | API endpoint | Collector service name | Devo table | Available from release |
---|---|---|---|---|---|
Message Reports | Reports for every email sent and received through the Exchange Online organization |
|
|
|
|
For more information on how the events are parsed, visit our page. Anchor
Vendor setup
There are some minimal requirements to enable this collector:
Microsoft Azure account: The account must be able to register applications and assign roles.
Microsoft Office 365 account: The account must have administrative permissions in the Office 365 organization.
There are some configurations you need to do to enable the collector.
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
Minimum configuration required for basic pulling
Although this collector supports advanced configuration, the fields required to retrieve data with basic configuration are defined below.
Info |
---|
This minimum configuration refers exclusively to those specific parameters of this integration. There are more required parameters related to the generic behavior of the collector. Check setting sections for details. |
...
Setting
...
Details
...
tenant_id
...
This is the Tenant ID you copied during the Obtain the client credentials step.
...
client_id
...
This is the Application (client) ID you copied during the Obtain the client credentials step.
...
client_secret
...
This is the created secret’s Value field you copied during the Obtain the client credentials step.
Info |
---|
See the Accepted authentication methods section to verify what settings are required based on the desired authentication method. |
Accepted authentication methods
...
Authentication method
...
Username
...
Password
...
Tenant ID
...
Client ID
...
Client Secret
...
Modern OAuth2 Auth
...
...
...
Status | ||||
---|---|---|---|---|
|
...
Status | ||||
---|---|---|---|---|
|
...
Status | ||||
---|---|---|---|---|
|
...
Basic User/Password Auth
...
Status | ||||
---|---|---|---|---|
|
...
Status | ||||
---|---|---|---|---|
|
...
...
...
Run the collector
Once the data source is configured, you can either send us the required information if you want us to host and manage the collector for you (Cloud collector), or deploy and host the collector in your own machine using a Docker image (On-premise collector).
...
Rw tab | ||
---|---|---|
|
This data collector can be run in any machine that has the Docker service available because it should be executed as a docker container. The following sections explain how to prepare all the required setup for having the data collector running.
Structure
The following directory structure should be created for being used when running the collector:
Code Block |
---|
<any_directory>
└── devo-collectors/
└── <product_name>/
├── certs/
│ ├── chain.crt
│ ├── <your_domain>.key
│ └── <your_domain>.crt
├── state/
└── config/
└── config.yaml |
Note |
---|
Replace |
Devo credentials
In Devo, go to Administration → Credentials → X.509 Certificates, download the Certificate, Private key and Chain CA and save them in <product_name>/certs/
. Learn more about security credentials in Devo here.
...
Note |
---|
Replace |
Editing the config.yaml file
...
Minimum configuration required for basic pulling
Although this collector supports advanced configuration, the fields required to retrieve data with basic configuration are defined below.
Info |
---|
This minimum configuration refers exclusively to those specific parameters of this integration. There are more required parameters related to the generic behavior of the collector. Check setting sections for details. |
Setting | Details |
---|---|
| This is the Tenant ID you copied during the Obtain the client credentials step. |
| This is the Application (client) ID you copied during the Obtain the client credentials step. |
| This is the created secret’s Value field you copied during the Obtain the client credentials step. |
Info |
---|
See the Accepted authentication methods section to verify what settings are required based on the desired authentication method. |
Accepted authentication methods
Authentication method | Details |
---|---|
Modern OAuth2 Auth | You will need your |
Vendor setup
There are some minimal requirements to enable this collector:
Microsoft Azure account: The account must be able to register applications and assign roles.
Microsoft Office 365 account: The account must have administrative permissions in the Office 365 organization.
There are some configurations you need to do to enable the collector.
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
Expand | ||||
---|---|---|---|---|
| ||||
If you get errors, please, check your subscriptions and permissions:
If this fails, then create the subscripttions that fail with this command:
Check the Microsoft documentation if you experience any other issues. |
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Microsoft has an alternative set of URLs for configurations that need to perform their requests in government environments. You can get more information directly from the Microsoft documentation: These are the default endpoints:
Find the configuration that suits the appropriate configuration. They usually have the same structure, but a different TLD. For example,
|
Source Event Obfuscation
This collector obfuscates the following parameters:
tenant_id
client_id
client_secret
Run the collector
Once the data source is configured, you can either send us the required information if you want us to host and manage the collector for you (Cloud collector), or deploy and host the collector in your own machine using a Docker image (On-premise collector).
Rw ui tabs macro | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
We use a piece of software called Collector Server to host and manage all our available collectors. To enable the collector for a customer:
Editing the JSON configuration
Please replace the placeholders with real world values following the description table below:
This data collector can be run in any machine that has the Docker service available because it should be executed as a docker container. The following sections explain how to prepare all the required setup for having the data collector running. StructureThe following directory structure should be created for being used when running the collector:
Devo credentialsIn Devo, go to Administration → Credentials → X.509 Certificates, download the Certificate, Private key and Chain CA and save them in
Editing the config.yaml file
Replace the placeholders with your required values following the description table below:
Use this param to give a unique id to this input service.
Use this param to enable or disable the given input logic when running the collector. If the value is
Minimum value: Customize the maximum number of API requests per second. If not used, the default setting will be used:
Minimum value: Maximum value: When the collector is initially run, it will perform a historical pulling from the current date minus the value of this parameter. The default value is 10 (the API does not allow querying more than 10 days back).
Minimum value: Maximum value: It happens that between when this date is calculated and when it is used, the difference might be larger than 10 days, so the request will fail. To avoid it, we establish a margin that can be configured using this parameter. Its default value is 60. Info |
Mandatory
Minimum length: This is the Application (client) ID you copied during the Obtain the client credentials step from the Vendor setup section.
Minimum length: This is the created secret’s Value field you copied during the Obtain the client credentials step from the Vendor setup section.
Minimum value: The amount (in seconds) in which the service’s collection is scheduled. Info |
Minimum length: This is the Tenant ID you copied during the Obtain the client credentials step from the Vendor setup section.
Because it can take up to 24 hours for an event to be available through the API, this collector requests data with a 25 hour delay. This parameter allows you to customize this delay.
Info |
Date format: This parameter allows you to clear the persistence of the collector and restart the download pipeline.
Minimum value:
Download the Docker imageThe collector should be deployed as a Docker container. Download the Docker image of the collector as a .tgz file by clicking the link in the following table:
Use the following command to add the Docker image to the system:
The Docker image can be deployed on the following services: DockerExecute the following command on the root directory
Docker ComposeThe following Docker Compose file can be used to execute the Docker container. It must be created in the
To run the container using docker-compose, execute the following command from the
|
Collector services detail
This section is intended to explain how to proceed with specific actions for services.
Events service
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
Once the collector has been launched, it is important to check if the ingestion is performed in a proper way. To do so, go to the collector’s logs console. This service has the following components:
Setup outputA successful run has the following output messages for the setup module:
Puller outputA successful initial run has the following output messages for the puller module:
After a successful collector’s execution (that is, no error logs found), you will see the following log message:
|
Expand | ||
---|---|---|
| ||
This collector uses persistent storage to download events in an orderly fashion and avoid duplicates. In case you want to re-ingest historical data or recreate the persistence, you can restart the persistence of this collector by following these steps:
The collector will detect this change and will restart the persistence using the parameters of the configuration file or the default configuration in case it has not been provided.
|
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
This collector uses persistent storage to download events in an orderly fashion and avoid duplicates. In case you want to re-ingest historical data or recreate the persistence, you can restart the persistence of this collector by following these steps:
The collector will detect this change and will restart the persistence using the parameters of the configuration file or the default configuration in case it has not been provided.
| |||||||||
Expand | |||||||||
| |||||||||
This collector has different security layers that detect both an invalid configuration and abnormal operation. This table will help you detect and resolve the most common errors. | |||||||||
Error type | Error ID | Error message | Cause | Solution | |||||
SetupError | 100 |
| When asking for a token, we received an Unauthorized (401) HTTP response code. | The error details will be provided in the error message, but make sure you registered App has the right API permissions and the corect role assigned. | |||||
101 |
| When asking for a token, we received an unsuccesful response. | The error details will be provided in the error message. | ||||||
102 |
| An unexpected error occurred. | The error details will be provided in the error message. | InitVariablesError | 0 | module_properties section does not
Error type | Error ID | Error message | Cause | Solution | |||||
---|---|---|---|---|---|---|---|---|---|
SetupError | 100 |
| When asking for a token, we received an Unauthorized (401) HTTP response code. | The error details will be provided in the error message, but make sure you registered App has the right API permissions and the corect role assigned. | |||||
101 |
| When asking for a token, we received an unsuccesful response. | The error details will be provided in the error message. | ||||||
102 |
| An unexpected error occurred. | The error details will be provided in the error message. | ||||||
InitVariablesError
| 0 |
| This is an internal error. | Reach Devo Support. | |||||
0 |
| The | Make sure it exists. | ||||||
1 |
| This is an internal error. | Reach Devo Support. | ||||||
1 |
| The | Make sure it has the required properties. | ||||||
2 |
| The | Make sure it exists and has a correct value. | ||||||
2 |
| The | Make sure it exists and has a correct value. | ||||||
2 |
| This is an internal error. | Reach Devo Support. | ||||||
0 |
| The | Make sure it exists. | ||||||
1 |
| This is an internal error. | Reach Devo Support. | ||||||
| 1 |
| The | Make sure it has the required properties. | |||||
| 2 | base_auth_url | The | Make sure it exists and has a correct value. | |||||
3 |
| The | Make sure it is a string and has a correct value. | ||||||
3 |
| The | Make sure it is a string and has a correct value. | ||||||
3 |
| The | Make sure it is a string and has a correct value. | ||||||
4 |
| The | Make sure it exists and has a correct value. | ||||||
4 | 2 |
| The | Make sure it exists and has a correct value. |
| 2 | |||
tenant_id 5 |
| The | Make sure it is a string and has a correct value. | ||||||
5 |
| The | Make sure it is a string and has a correct value. | ||||||
6 |
| The | Make sure it exists and has a correct value. | ||||||
7 | 3 |
| The | Make sure it is a string and has a correct value. | |||||
8 | 3 |
| The | Make sure it is a string exists and has a correct value. | |||||
9 | 3 |
| The | Make sure it is a string and has a correct value. | |||||
10 | 4 |
| The | Make sure it exists and has a correct value. |
| 4 |
| The | Make sure it exists and has a correct value. |
| 5 | client_id 11 |
| The | Make sure it is a string and has a correct value. |
| 5 |
| The |
12 |
| The | Make sure it exists and has a correct value. | ||||||
13 |
| The | Make sure it is a string float and has a correct value. | ||||||
| 6 | base_tag 14 |
| The | Make sure it exists and has a correct value. | ||||
| 7 |
| The |
| The | Make sure it is a string int and has a correct value. | |||
| 8 | base_url 16 |
| The | Make sure it exists and has a correct value. | ||||
| 9 |
| The |
| The | Make sure it is a string int and has a correct value. | |||
| 10 |
|
| The | Make sure it exists is a string and has a correct value. |
| |||
11 | 19 |
| The | Make sure it is a string an integer and has a correct value. |
| 12 |
| ||
The requests_timeout20 |
| The | Make sure it exists and has a correct valueis inside the indicated range. | ||||||
| 13 |
| The | Make sure it is a float and has a correct value. | |||||
| 14 |
| The | Make sure it exists and has a correct value. | |||||
| 15 |
| The | Make sure it is a int and has a correct value. | |||||
| 16 |
| The | Make sure it exists and has a correct value. | |||||
| 17 |
| The | Make sure it is a int and has a correct value. | |||||
| 18 |
| The | Make sure it is a string and has a correct value. | |||||
| 19 |
| The | Make sure it is an integer and has a correct value. | |||||
| 20 |
| The | Make sure it is inside the indicated range. |
Collector operations
This section is intended to explain how to proceed with specific operations of this collector.
...
title | Verify collector operations |
---|
Initialization
...
Collector operations
This section is intended to explain how to proceed with specific operations of this collector.
...
Release
...
Released on
...
Release type
...
Details
...
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
InitializationThe initialization module is in charge of setup and running the input (pulling logic) and output (delivering logic) services and validating the given configuration. A successful run has the following output messages for the initializer module:
Events delivery and Devo ingestionThe event delivery module is in charge of receiving the events from the internal queues where all events are injected by the pullers and delivering them using the selected compatible delivery method. A successful run has the following output messages for the initializer module:
Events delivery and Devo ingestionThe event delivery module is in charge of receiving the events from the internal queues where all events are injected by the pullers and delivering them using the selected compatible delivery method. A successful run has the following output messages for the initializer module:
Sender servicesThe Integrations Factory Collector SDK has 3 different senders services depending on the event type to delivery ( | ||||||||
Sender services | Description | |||||||
| In charge of delivering internal metrics to Devo such as logging traces or metrics. | |||||||
| In charge of delivering pulled events to Devo. | |||||||
Logging trace | Description | |||||||
| Displays the number of concurrent senders available for the given Sender Service. | |||||||
| Displays the items available in the internal sender queue.
| |||||||
| Displayes the number of events from the last time and following the given example, the following conclusions can be obtained:
|
Expand | ||||
---|---|---|---|---|
| ||||
To check the memory usage of this collector, look for the following log records in the collector which are displayed every 5 minutes by default, always after running the memory-free process.
|
Expand | ||
---|---|---|
| ||
Sometimes it is necessary to activate the debug mode of the collector's logging. This debug mode increases the verbosity of the log and allows you to print execution traces that are very helpful in resolving incidents or detecting bottlenecks in heavy download processes.
For more information, visit the configuration and parameterization section corresponding to the chosen deployment mode. |
Change log
Sender servicesThe Integrations Factory Collector SDK has 3 different senders services depending on the event type to delivery (
Sender statisticsEach service displays its own performance statistics that allow checking how many events have been delivered to Devo by type:
|
Expand | ||||
---|---|---|---|---|
| ||||
To check the memory usage of this collector, look for the following log records in the collector which are displayed every 5 minutes by default, always after running the memory-free process.
|
Expand | ||
---|---|---|
| ||
Sometimes it is necessary to activate the debug mode of the collector's logging. This debug mode increases the verbosity of the log and allows you to print execution traces that are very helpful in resolving incidents or detecting bottlenecks in heavy download processes.
For more information, visit the configuration and parameterization section corresponding to the chosen deployment mode. |
Change log
Release | Released on | Release type | Recommendations | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
| |||||||||||||
| |||||||||||||||
|
|
| |||||||||||||
| |||||||||||||||
|
|
| |||||||||||||
| |||||||||||||||
|
|
|
| ||||||
|
Recommended version
|
|
|
|
|
| ||||
|
|
Update
|
|
|
| ||||||
|
-