Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 7.9
Sv translation
languageru

В Traffic Monitor для событий с вложениями вы можете выполнить Поиск аналогов (подробнее. см. "InfoWatch Traffic Monitor . Руководство пользователя", статья "Поиск аналогов").

Чтобы включить Поиск аналогов, настройте интеграцию Traffic Monitor с Data Analysis Service:

  1. Установите Data Analysis Service. Подробнее см. "InfoWatch Data Analysis Service. Руководство по установке, конфигурированию и администрированию", статья "Установка Data Analysis Service".
  2. Настройте соединение с Data Analysis Service с помощью утилиты platform_conf_ctl. Для этого:
    1. Перейдите На сервере Traffic Monitor перейдите в директорию /opt/iw/tm5/bin/ , где находится утилита.
    2. Выполните команду:
      ./platform_conf_ctl --das-set-uri <host_DAS>:30050 --das-set-token <token_value> --das-set-enabled 1
      где <host_DAS> – это имя хоста или IP-адрес сервера Data Analysis Service,
      <token_value> – это значение токена для соединения с Data Analysis Service. По умолчанию используйте значение токена 2exwo92iwpczl1hy6jxy .
      Узнать актуальное значение токена можно:
      • На сервере центральной ноде кластера, в котором расположен сервер Data Analysis Service, с помощью командной строки. Для этого:
        1. Перейдите в директорию <DAS_distr><distr>/platform , где <DAS_distr> <distr> – это директория, куда был распакован дистрибутив Data Analysis Service или какого-либо платформенного продукта;
        2. Выполните команду:
          ./setup.py tokens list
          В результате будет выведен список токенов для подключения к Платформе. Актуальный токен авторизации Data Analysis Service будет указан напротив сущности DMServer.
      • В консоли управления продукта Платформы, в разделе Основные настройки в поле Токен для Device Monitor Server .
        Доступно, если на сервере с Data Analysis Service в кластере установлен платформенный продукт с веб-интерфейсом, и в нем есть данная настройка.
  3. В конфигурационном файле /opt/iw/tm5/etc/attributor.conf в строке "tmhost": "set_tmhost_here" вместо set_tmhost_here укажите IP-адрес сервера Traffic Monitor. Сохраните изменения.

    Информация
    titleПримечание:
    Здесь вы также можете изменить уровень логирования процесса iw_attributor. Для этого в секции "Logger" установите для параметра "level" необходимое значение. Подробнее см. "Логирование работы Системы".
  4. Получите у специалистов InfoWatch лицензию для Data Analysis Service и загрузите ее в Консоли Управления Traffic Monitor.
  5. Включите файловую очередь в базе данных. Для этого подключитесь к серверу БД (подробнее см. раздел "Администрирование базы данных") и выполните следующую команду:
    UPDATE object_queue
    SET enabled = 1
    WHERE object_queue_id = 5;
  6. Демаскируйте процесс iw_ attributor. Для этого на сервере Traffic Monitor выполните команду:
    systemctl unmask iw_attributor
  7. Запустите процесс iw_ attributor:
    iwtm start iw_attributor
  8. Убедитесь, что процесс iw_ attributor запущен и имеет статус active.

    Для этого выполните команду:
    iwtm status iw_attributor
  9. Включите автозапуск процесса iw_ attributor:
    iwtm enable iw_attributor
Информация
titleПримечание:
Data Analysis Service обрабатывает события, произошедшие после данной настройки. Для событий, произошедших до настройки, функция Поиск аналогов будет недоступна, и они не будут учтены при поиске аналогов других событий.

Чтобы выключить Поиск аналогов:

  1. Остановите процесс iw_ attributor. Для этого на сервере Traffic Monitor выполните команду:
    iwtm stop iw_attributor
  2. Выключите автозапуск процесса iw_ attributor:
    iwtm disable iw_attributor
  3. Выключите файловую очередь в базе данных. Для этого подключитесь к серверу БД и выполните следующую команду:
    UPDATE object_queue
    SET enabled = 0
    WHERE object_queue_id = 5;
Sv translation
languageen

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:

  1. Install Data Analysis Service. For details, see "InfoWatch Data Analysis Service. Installation, Configuration and Administration Guide", "Installing Data Analysis Service" article.
  2. Set up a connection with Data Analysis Service using the   platform_conf_ctl utility. For this:
    1. Open the  On the Traffic Monitor server, open the /opt/iw/tm5/bin/ directory where the ulitity is located.
    2. 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:
        1. 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;
        2. 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.
  3. 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.

    Информация
    titleNote:

    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 "Логирование работы Системы".

  4. Get a license for Data Analysis Service from InfoWatch engineers and upload it to the Traffic Monitor Management Console.
  5. 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;
  6. Unmask the iw_ attributor process. For this, on the Traffic Monitor server, run the command:
    systemctl unmask iw_attributor
  7. Run the iw_ attributor process:
    iwtm start iw_attributor
  8. Make sure the iw_ attributor process is running and have the active status.
    Image Modified
    For this, run the command:
    iwtm status iw_attributor
  9. Enable autorun for the iw_ attributor process:
    iwtm enable iw_attributor
Информация
titleNote:

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:

  1. Stop the iw_ attributor process. For this, on the Traffic Monitor server, run the command:
    iwtm stop iw_attributor
  2. Disable autorun for the iw_ attributor process:
    iwtm disable iw_attributor
  3. 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;