Blacklist Ports
Use the
blacklisted_ports
parameter in the agent configuration file to block network traffic and metrics from unnecessary network ports. Note that Port 53 (DNS) is always blacklisted.Access the agent configuration file, using one of the options listed.
Add
blacklisted_ports
with desired port numbers.Example (YAML):
blacklisted_ports:
- 6443
- 6379
Restart the agent (if editing
dragent.yaml
file directly), using either theservice dragent restart
ordocker restart sysdig-agent
command as appropriate.