File tree Expand file tree Collapse file tree 3 files changed +280
-35
lines changed
Expand file tree Collapse file tree 3 files changed +280
-35
lines changed Original file line number Diff line number Diff line change 1- IPFIX file (input plugin)
1+ IPFIX File (input plugin)
22=========================
33
4- TODO
4+ The plugin reads flow data from one or more files in IPFIX File format. It is possible to
5+ use it to load flow records previously stored using IPFIX output plugin.
6+
7+ Unlike UDP and TCP input plugins which infinitely waits for data from NetFlow/IPFIX
8+ exporters, the plugin will terminate the collector after all files are processed.
59
610Example configuration
711---------------------
812
913.. code-block :: xml
1014
1115 <input >
12- <name >IPFIX input </name >
16+ <name >IPFIX File </name >
1317 <plugin >ipfix</plugin >
1418 <params >
15- <dirPath >4739</dirPath >
16- <fileName ></fileName >
19+ <path >/tmp/flow/file.ipfix</path >
1720 </params >
1821 </input >
1922
2023 Parameters
2124----------
2225
23- TODO
26+ :``path ``:
27+ Path to file(s) in IPFIX File format. It is possible to use asterisk instead of
28+ a filename/directory, tilde character (i.e. "~") instead of the home directory of
29+ the user, and brace expressions (i.e. "/tmp/{source1,source2}/file.ipfix").
30+ Directories and non-IPFIX Files that match the file pattern are skipped/ignored.
Original file line number Diff line number Diff line change 4848
4949/** Configuration of a instance of the IPFIX plugin */
5050struct ipfix_config {
51- /** Local port */
52- const char * path ;
51+ /** File pattern */
52+ char * path ;
5353};
5454
5555/**
You can’t perform that action at this time.
0 commit comments