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 On the Traffic Monitor server, open the
/opt/iw/tm5/bin/ directory where the ulitity is located. - Run the command:
./platform_conf_ctl --das-set-uri <host<host_DAS>:30050 --das-set-token <token_value> --das-set-enabled 1 where <host_DAS> is the hostname or 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. You can find the actual value of the token: - On the central node of the cluster, in which the Data Analysis Service server is located, via the command line. For this:
- Go to the <DAS_distr>
<distr>/platform directory. <DAS_distr> <distr> is the directory, where the distribution kit of Data Analysis Service distribution kit or any platform product was extracted; Run the command:
./setup.py tokens list As a result, you will see a list of tokens for connecting to the Platform. The actual Data Analysis Service authorization token will be displayed opposite the DMServer identity identity.
- In the Platform product management console, in the Token for Device Monitor Server field of the Global settings section.
Available if the Platform product with web interface is installed on the server with Data Analysis Service and in the cluster and the web interface contains such a setting.
In the 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 of set_tmhost_here . Save the changes. | Информация |
|---|
| 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.
Image Modified For this, run the command:
iwtm status iw_attributor - Enable autorun for the iw_ attributor process:
iwtm enable 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 - Disable autorun for the iw_ attributor process:
iwtm disable iw_attributor - 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;
|