Configure Sysdig Windows Agent

After deploying the Windows Agent, you can establish fine-grained control over which events are captured, collector, and HTTP proxy settings. You can edit the agent configuration file to extend the default behavior. Use this section when you need to change the default or pre-defined settings by editing the agent configuration files.

The agent relies on a configuration file named dragent.yaml to describe the configuration that influences the behavior of the Windows Agent. This file is located in the %ProgramFiles%\Sysdig\Agent\Config directory. You can add configuration parameters directly in YAML as key-value pairs.

Environments

Hosts

If Sysdig Windows Agent is installed in a Windows host, edit the dragent.yaml file directly.

Edit the Configuration File

dragent.yaml

  1. Log in to the host where the agent is installed.

  2. Open %ProgramFiles%\Sysdig\Agent\Config\dragent.yaml.

  3. Edit the file using proper YAML syntax.

  4. Restart the agent service for changes to take effect.

> Restart-Service -DisplayName "Sysdig Agent"