-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathtcpUdp2lnf.xml
47 lines (45 loc) · 1.21 KB
/
tcpUdp2lnf.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!--
Receive flow data simultaneously over TCP and UDP and store them on a local
drive in a nfdump compatible format (multiple instances of the same input
plugin).
-->
<ipfixcol2>
<!-- Input plugins -->
<inputPlugins>
<input>
<name>TCP collector</name>
<plugin>tcp</plugin>
<params>
<!-- List on port 4739 -->
<localPort>4739</localPort>
<!-- Bind to all local adresses -->
<localIPAddress></localIPAddress>
</params>
</input>
<input>
<name>UDP collector</name>
<plugin>udp</plugin>
<params>
<!-- List on port 4739 -->
<localPort>4739</localPort>
<!-- Bind to all local adresses -->
<localIPAddress></localIPAddress>
</params>
</input>
</inputPlugins>
<!-- Output plugins -->
<outputPlugins>
<output>
<name>LNF output</name>
<plugin>lnfstore</plugin>
<params>
<storagePath>/tmp/ipfixcol/</storagePath> <!-- WARNING: the directory MUST exist before start -->
<compress>yes</compress>
<dumpInterval>
<timeWindow>300</timeWindow>
<align>yes</align>
</dumpInterval>
</params>
</output>
</outputPlugins>
</ipfixcol2>