Optional Flags(flags)

The documentation covers optional configuration flags that can be enabled or disabled in the log collector system. Two key flags are available: allowInsecureHTTP which permits non-HTTPS addresses in fleet management and sinks, and allowRemoteCMD which enables CMD sources in remote configurations - both flags default to false for security purposes.

This set of flags allows you to enable and disable a set of configurations which are either optional or only for testing purposes.

yaml
flags:
  # enable to allow non-https addresses in fleet management and sinks. defaults to false
  allowInsecureHTTP: false
  # enable to allow the use of 'cmd' sources when using remote configuration.
  allowRemoteCMD: false
sources:
---
sinks:

Table: flags

ParameterTypeRequiredDefault ValueDescription
allowInsecureHTTPstringoptional[a] false Set to false by default, if true allows non-https addresses in fleet management and sinks.
allowRemoteCMDstringoptional[a] false Set to false by default, if true allows the use of CMD sources when using remote configuration

[a] Optional parameters use their default value unless explicitly set.