Skip to content

Commit

Permalink
Add option of enable script source (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuting-liu authored Jan 19, 2021
1 parent a1b6482 commit 15a22f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br><br>Default: "collector_container-"<br><br>If you do not want a prefix, set the variable as follows: <br><br>`SUMO_COLLECTOR_NAME_PREFIX = ""`|
|`SUMO_COLLECTOR_HOSTNAME` |Sets the host name of the machine on which the Collector container is running.<br><br> 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.<br><br> 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.<br><br> 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.<br><br> Default: false.<br><br> 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). <br><br>Default: 64|
Expand Down
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 15a22f0

Please sign in to comment.