The 1c-xml connector type is used to retrieve data from 1C registration logs. When the connector handles multi-line events, it converts them into single-line events. This type of connector is available for Linux Agents. Settings for a connector of the 1c-xml type are described in the following tables.
Basic settings tab
Setting |
Description |
---|---|
Name |
Unique name of the resource. Maximum length of the name: 128 Unicode characters. Required setting. |
Tenant |
The name of the tenant that owns the resource. Required setting. |
Type |
Connector type. You need to select 1c-xml. Required setting. |
URL |
The full path to the directory with the files that you want to interact with, for example, Limitations when using prefixes in file paths Required setting. |
Description |
Description of the resource. Maximum length of the description: 4000 Unicode characters. |
Advanced settings tab
Setting |
Description |
---|---|
Character encoding |
Character encoding. The default value is |
Buffer size |
Connector buffer size in bytes for accumulating events in the RAM of the server before sending sending them for further processing or storage. The value must be a positive integer. Default connector buffer size: 1,048,576 bytes (1 MB). Maximum connector buffer size: 67,108,864 bytes (64 MB). |
Poll interval, ms |
The interval, in milliseconds, at which the connector will reread files in the directory. The interval is applied only if there the file has no changes. For example, if the file is constantly being modified, and in the Poll interval, ms, you entered |
Debug |
Resource logging. The toggle switch is turned off by default. |
Connector operation diagram:
ВыгрузитьЖурналРегистрации()
function. The connector only supports logs received this way. For more information on how to obtain 1C logs, see the official 1C documentation.Information about processed files is stored in the file /<collector working directory>/1c_xml_connector/state.ini and has the following format: "offset=<number>\ndev=<number>\ninode=<number>".
Connector limitations: