2022-12-10 02:40:30 +08:00
|
|
|
# Netflow v5, Netflow v9 and IPFIX collector
|
|
|
|
|
[[inputs.netflow]]
|
2023-06-01 16:02:21 +08:00
|
|
|
## Address to listen for netflow,ipfix or sflow packets.
|
2022-12-10 02:40:30 +08:00
|
|
|
## example: service_address = "udp://:2055"
|
|
|
|
|
## service_address = "udp4://:2055"
|
|
|
|
|
## service_address = "udp6://:2055"
|
|
|
|
|
service_address = "udp://:2055"
|
|
|
|
|
|
|
|
|
|
## Set the size of the operating system's receive buffer.
|
|
|
|
|
## example: read_buffer_size = "64KiB"
|
|
|
|
|
## Uses the system's default if not set.
|
|
|
|
|
# read_buffer_size = ""
|
|
|
|
|
|
|
|
|
|
## Protocol version to use for decoding.
|
|
|
|
|
## Available options are
|
2023-06-01 16:02:21 +08:00
|
|
|
## "ipfix" -- IPFIX / Netflow v10 protocol (also works for Netflow v9)
|
2022-12-10 02:40:30 +08:00
|
|
|
## "netflow v5" -- Netflow v5 protocol
|
|
|
|
|
## "netflow v9" -- Netflow v9 protocol (also works for IPFIX)
|
2023-06-01 16:02:21 +08:00
|
|
|
## "sflow v5" -- sFlow v5 protocol
|
2022-12-10 02:40:30 +08:00
|
|
|
# protocol = "ipfix"
|
|
|
|
|
|
|
|
|
|
## Dump incoming packets to the log
|
|
|
|
|
## This can be helpful to debug parsing issues. Only active if
|
|
|
|
|
## Telegraf is in debug mode.
|
|
|
|
|
# dump_packets = false
|