Config File Syntax
uberAgent’s configuration file supports several advanced syntax features.
ConfigBlockDefine stanza defines a configuration block that can be inserted anywhere in the configuration with a
@ConfigBlockInsert directive inserts a previously defined configuration block.
@ConfigInclude directive includes another configuration file. The other file is identified by name (without path) and must reside in the same directory as the configuration file including it.
PATH_REGEX stands for a regex in which environment variables can be used. It is matched against a file system path.
Environment variables (enclosed in percent signs, e.g.,
%ProgramFiles%) are expanded first, regex matching happens second. Paths are specified as regular expressions. Backslashes must be escaped by prepending a second backslash. Matching is case-insensitive. Specifying only the file name without the full path works but is not recommended.