In Traffic Monitor, you can use the Search for analogues feature for events that contain attachments (for details, see "InfoWatch Traffic Monitor. User Guide", "Search for Analogues" article). To enable the Search for Analogues feature, configure integration between Traffic Monitor and Data Analysis Service: - Install Data Analysis Service. For details, see "InfoWatch Data Analysis Service. Installation, Configuration and Administration Guide", "Installing Data Analysis Service" article.
- Set up a connection with Data Analysis Service using the platform_conf_ctl utility. For this:
- Open the
/opt/iw/tm5/bin/ directory where the ulitity is located. - Run the command:
./platform_conf_ctl --de-set-uri <host_DE>:30050 --de-set-token <token_value> --de-set-enabled 1 where <host_DE> is the IP address of the Data Analysis Service server,
<token_value> is the value of the token for connection with Data Analysis Service. By default, use the 2exwo92iwpczl1hy6jxy token value. If Data Analysis Service is installed on the same server with another Platform product and a new value of the token for connection with Platform is generated in this product, then use this value to connect Traffic Monitor with Data Analysis Service. You can find it in the Token for Device Monitor Server field in the Global Settings section of the Platform product management console.
In the "tmhost": "set_tmhost_here" line of the /opt/iw/tm5/etc/attributor.conf configuration file, specify the IP address of the Traffic Monitor server instead of set_tmhost_here. | Информация |
|---|
| Here you can also change the logging level for the iw_attributor process. For this, in the "Logger" section, set the required value for the "level" parameter. For details, see "Логирование работы Системы". |
- Get a license for Data Analysis Service from InfoWatch engineers and upload it to the Traffic Monitor Management Console.
- Enable file queue in the database. For this, connect to the DB server (for details, see "Администрирование базы данных") and run the following command:
UPDATE object_queue
SET enabled = 1
WHERE object_queue_id = 5; - Unmask the iw_attributor process. For this, on the Traffic Monitor server, run the command:
systemctl unmask iw_attributor - Run the iw_attributor process:
iwtm start iw_attributor - Make sure the iw_attributor process is running and have the active status.
 For this, run the command:
iwtm status iw_attributor
| Информация |
|---|
| Data Analysis Service starts processing events since you have configured this setting. For events that happend before, the Search for analogues feature does not work and those events will not be taken into account if you run Search for analogues for other events. |
To disable the Search for Analogues feature: - Stop the iw_attributor process. For this, on the Traffic Monitor server, run the command:
iwtm stop iw_attributor - Enable Disable file queue in the database. For this, connect to the DB server and run the following command:
UPDATE object_queue
SET enabled = 0
WHERE object_queue_id = 5;
|