diff --git a/README.md b/README.md index a989b95..f6d4cb0 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,8 @@ The following environment variables are supported. You can pass environment vari |`SUMO_COLLECTOR_NAME` |Configures the name of the collector. The default is set dynamically to the value in `/etc/hostname`.| |`SUMO_COLLECTOR_NAME_PREFIX`|Configures a prefix to the collector name. Useful when overriding `SUMO_COLLECTOR_NAME` with the Docker hostname.

Default: "collector_container-"

If you do not want a prefix, set the variable as follows:

`SUMO_COLLECTOR_NAME_PREFIX = ""`| |`SUMO_COLLECTOR_HOSTNAME` |Sets the host name of the machine on which the Collector container is running.

Default: The container ID.| -|`SUMO_DISABLE_SCRIPTS` |If your organization's internal policies restrict the use of scripts, you can disable the creation of script-based script sources. When this parameter is passed, this option is removed from the Sumo web application, and script source cannot be configured.

Default: false.| +|`SUMO_DISABLE_SCRIPTS` |If your organization's internal policies restrict the use of scripts, you can disable the creation of script-based script sources. When this parameter is passed, this option is removed from the Sumo web application, and script source cannot be configured.

Deprecated on Collector version 19.245-4. Use `SUMO_ENABLE_SCRIPTS` instead.| +|`SUMO_ENABLE_SCRIPTS` |Script Sources are disabled by default, you can enable the creation of script-based script sources.

Default: false.

Available on Collector version 19.245-4+.| |`SUMO_GENERATE_USER_PROPERTIES`|Set this variable to “false” if you are providing the collector configuration settings using a `user.properties` file via a Docker volume mount.| |`SUMO_GENERATE_COLLECTOR_PROPERTIES`|Set this variable to “false” if you are providing the collector configuration settings using a `collector.properties` file via a Docker volume mount.| |`SUMO_JAVA_MEMORY_INIT` |Sets the initial java heap size (in MB).

Default: 64| diff --git a/run.sh b/run.sh index 313b396..d14b986 100755 --- a/run.sh +++ b/run.sh @@ -112,6 +112,7 @@ generate_user_properties_file() { ["SUMO_PROXY_NTLM_DOMAIN"]="proxyNtlmDomain" ["SUMO_CLOBBER"]="clobber" ["SUMO_DISABLE_SCRIPTS"]="disableScriptSource" + ["SUMO_ENABLE_SCRIPTS"]="enableScriptSource" ["SUMO_JAVA_MEMORY_INIT"]="wrapper.java.initmemory" ["SUMO_JAVA_MEMORY_MAX"]="wrapper.java.maxmemory" ["SUMO_COLLECTOR_FIELDS"]="fields"