Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_components:utilities:ipfixreceiver2 [2019/04/01 08:54] – kvazikrav | en:dpi:dpi_components:utilities:ipfixreceiver2 [2024/09/26 15:29] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ipfixreceiver2: | ====== ipfixreceiver2: | ||
+ | {{indexmenu_n> | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 13: | Line 13: | ||
==== CentOS ==== | ==== CentOS ==== | ||
- | - Add the VAS Experts repository | + | - Add the VAS Experts repository |
+ | rpm -Uvh http:// | ||
- Add the [[https:// | - Add the [[https:// | ||
- Install the ipfixreceiver2: | - Install the ipfixreceiver2: | ||
Line 105: | Line 106: | ||
This section specifies the order and format of the received data to be exported. | This section specifies the order and format of the received data to be exported. | ||
* Elements - comma separated list of data to be stored in the file. You can change the predefined export format (the data will be exported to a file) for each data type using the following format: field_name: output_format [: option]. The following types of data output are possible: | * Elements - comma separated list of data to be stored in the file. You can change the predefined export format (the data will be exported to a file) for each data type using the following format: field_name: output_format [: option]. The following types of data output are possible: | ||
+ | |||
^Output_format^Description^ | ^Output_format^Description^ | ||
|decode_unsigned|Decode as unsinged| | |decode_unsigned|Decode as unsinged| | ||
Line 125: | Line 127: | ||
=== Section [export] === | === Section [export] === | ||
- | *to - specifies the collector addresses to be used to export received ipfix records.\\ Used format: ip/ | + | *to - specifies the collector addresses to be used to export received ipfix records.\\ Used format: ip/ |
- | For example:< | + | |
to=10.0.0.2/ | to=10.0.0.2/ | ||
:!: When using the udp protocol, you should make sure that one ipfix record does not exceed the size of the MTU. | :!: When using the udp protocol, you should make sure that one ipfix record does not exceed the size of the MTU. | ||
- | === Секция | + | === Section |
- | В данной секции задаются параметры логирования программы. | + | The section specifies the logging parameters. |
- | * loggers.root.level - уровень логирования | + | * loggers.root.level - log level |
- | * loggers.root.channel - канал для вывода сообщений | + | * loggers.root.channel - channel to display messages |
- | * channels.fileChannel.class - класс канала вывода | + | * channels.fileChannel.class - output channel class |
- | * channels.fileChannel.path - путь к лог-файлу | + | * channels.fileChannel.path - path to the log file |
- | * channels.fileChannel.rotation - параметр ротации | + | * channels.fileChannel.rotation - rotation parameter |
- | * channels.fileChannel.archive | + | * channels.fileChannel.archive |
- | * channels.fileChannel.purgeCount - количество архивных файлов | + | * channels.fileChannel.purgeCount - number of archive files |
- | * channels.fileChannel.formatter.class - класс форматировщика | + | * channels.fileChannel.formatter.class - formatter class |
- | * channels.fileChannel.formatter.pattern - шаблон для форматировщика | + | * channels.fileChannel.formatter.pattern - formatter pattern |
- | * channels.fileChannel.formatter.times - время | + | * channels.fileChannel.formatter.times - time |
- | :!: Более подробно ознакомиться с параметрами логирования можно по ссылке | + | :!: For more information about logging parameters please follow the [[https:// |
- | ===== Примеры конфигураций | + | ===== Configuration examples |
- | === Приём | + | === Receiving of ipfix data === |
- | В файлах | + | The / |
- | * При необходимости внести изменения в секцию | + | * If necessary, make changes to the [connect] |
- | * В секции | + | * Specify within |
- | * dumpfiledir - каталог, | + | * dumpfiledir - the directory where the temporary file and data files will be created. |
- | * rotate_minutes - время, через которое закрывать временный файл, переименовывать его в файл с постоянным именем и выполнить команду из параметра | + | * rotate_minutes - the time period upon the exceeding of which to close the temporary file, rename it to a file with a permanent name and execute a command from the processcmd |
- | * processcmd - команду, | + | * processcmd - this command should be executed on the file with data. |
- | * delimiter - символ разделитель между полями данных. | + | * delimiter - delimiter character between data fields. |
- | * В секции | + | * You should specify the required order of the fields in the saved file within the [ExportModel] |
- | === Экспорт | + | === Exporting of ipfix data === |
- | Для экспорта получаемых | + | To export the data received by ipfix, |
< | < | ||
to = 10.0.0.5/ | to = 10.0.0.5/ | ||
- | Если необходимо задать несколько | + | If you need to specify multiple |
< | < | ||
to = 10.0.0.5/ | to = 10.0.0.5/ | ||