2022-05-19 00:31:34 +08:00
|
|
|
# Gather indicators from established connections, using iproute2's ss command.
|
2023-03-02 05:22:29 +08:00
|
|
|
# This plugin ONLY supports non-Windows
|
2022-05-19 00:31:34 +08:00
|
|
|
[[inputs.socketstat]]
|
|
|
|
|
## ss can display information about tcp, udp, raw, unix, packet, dccp and sctp sockets
|
|
|
|
|
## Specify here the types you want to gather
|
2023-01-10 21:45:21 +08:00
|
|
|
protocols = [ "tcp", "udp" ]
|
|
|
|
|
|
2022-05-19 00:31:34 +08:00
|
|
|
## The default timeout of 1s for ss execution can be overridden here:
|
|
|
|
|
# timeout = "1s"
|