telegraf/plugins/inputs/socketstat/sample.conf

8 lines
362 B
Plaintext

# Gather indicators from established connections, using iproute2's ss command.
[[inputs.socketstat]]
## ss can display information about tcp, udp, raw, unix, packet, dccp and sctp sockets
## Specify here the types you want to gather
socket_types = [ "tcp", "udp" ]
## The default timeout of 1s for ss execution can be overridden here:
# timeout = "1s"