Chapter 10. Using Collector runtime configuration


You can use the Collector runtime configuration to modify some collector behaviors without restarting Collector. Set the Collector runtime configuration by using a ConfigMap object called collector-config. When you create or update the ConfigMap object, Collector refreshes the runtime configuration. When you delete the ConfigMap object, the settings revert to the default runtime configuration values.

You can control the following settings using the Collector runtime configuration:

  • networking.externalIps.enabled controls if the visualizing external entities feature is enabled or disabled. The default is DISABLED. In release 4.6, this setting was networking.externalIps.enable and was a boolean. For more information, see Visualizing external entities.
  • networking.externalIps.direction specifies the direction for collecting external IPs. The values are INGRESS, EGRESS, or BOTH (default). For example, when you select EGRESS it provides details for all outgoing connections while aggregating the incoming ones.
  • networking.maxConnectionsPerMinute is the maximum number of open networking connections reported by Collector per container per minute. The default value is 2048.

The following example enables the visualizing external entities for outgoing connections only and sets maxConnectionsPerMinute to 2048.

apiVersion: v1
kind: ConfigMap
metadata:
  name: collector-config
  namespace: stackrox
data:
  runtime_config.yaml: |
    networking:
      externalIps:
        enabled: ENABLED
        direction: EGRESS
      maxConnectionsPerMinute: 2048

where:

data.runtime_config.yaml
Specifies whether RHACS mounts this file at /etc/stackrox/runtime_config.yaml.
data.runtime_config.yaml.networking.externalIps.direction
Specifies whether to collect ingress connections, egress connections, or both. If you do not specify a value, it defaults to BOTH.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top