diff --git a/splunk/common-files/entrypoint.sh b/splunk/common-files/entrypoint.sh index 55b0b509..a8cedff5 100755 --- a/splunk/common-files/entrypoint.sh +++ b/splunk/common-files/entrypoint.sh @@ -124,6 +124,7 @@ Environment Variables: * SPLUNK_GROUP - group under which to run Splunk (default: splunk) * SPLUNK_HOME - home directory where Splunk gets installed (default: /opt/splunk) * SPLUNK_START_ARGS - arguments to pass into the Splunk start command; you must include '--accept-license' to start Splunk (default: none) + * SPLUNK_PASSWORD - password to log into this Splunk instance, you must include a password (default: none) * SPLUNK_ROLE - the role of this Splunk instance (default: splunk_standalone) Acceptable values: - splunk_standalone @@ -140,9 +141,9 @@ Environment Variables: * SPLUNK_APPS_URL - comma-separated list of URLs to Splunk apps which will be downloaded and installed Examples: - * docker run -it -p 8000:8000 splunk/splunk start - * docker run -it -e SPLUNK_START_ARGS=--accept-license -p 8000:8000 -p 8089:8089 splunk/splunk start - * docker run -it -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_LICENSE_URI=http://example.com/splunk.lic -p 8000:8000 splunk/splunk start + * docker run -it -e SPLUNK_PASSWORD=helloworld -p 8000:8000 splunk/splunk start + * docker run -it -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD=helloworld -p 8000:8000 -p 8089:8089 splunk/splunk start + * docker run -it -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_LICENSE_URI=http://example.com/splunk.lic -e SPLUNK_PASSWORD=helloworld -p 8000:8000 splunk/splunk start * docker run -it -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_INDEXER_URL=idx1,idx2 -e SPLUNK_SEARCH_HEAD_URL=sh1,sh2 -e SPLUNK_ROLE=splunk_search_head --hostname sh1 --network splunknet --network-alias sh1 -e SPLUNK_PASSWORD=helloworld -e SPLUNK_LICENSE_URI=http://example.com/splunk.lic splunk/splunk start EOF diff --git a/uf/common-files/entrypoint.sh b/uf/common-files/entrypoint.sh index c21c5de4..e80ef26b 100755 --- a/uf/common-files/entrypoint.sh +++ b/uf/common-files/entrypoint.sh @@ -118,6 +118,7 @@ Environment Variables: * SPLUNK_GROUP - group under which to run Splunk (default: splunk) * SPLUNK_HOME - home directory where Splunk gets installed (default: /opt/splunk) * SPLUNK_START_ARGS - arguments to pass into the Splunk start command; you must include '--accept-license' to start Splunk (default: none) + * SPLUNK_PASSWORD - password to log into this Splunk instance, you must include a password (default: none) * SPLUNK_STANDALONE_URL, SPLUNK_INDEXER_URL, ... - comma-separated list of resolvable aliases to properly bring-up a distributed environment. This is optional for the UF, but necessary if you want to forward logs to another containerized Splunk instance * SPLUNK_BUILD_URL - URL to a Splunk Universal Forwarder build which will be installed (instead of the image's default build)