in init.go [123:147]
func initSplunkOpts() {
pflag.String(splunk.TokenKey, "", "Splunk HTTP Event Collector token.")
pflag.String(splunk.URLKey, "", "Path to your Splunk Enterprise, self-service Splunk Cloud instance, "+
"or Splunk Cloud managed cluster (including port and scheme used by HTTP Event Collector).")
pflag.String(splunk.SourceKey, "", "Event source.")
pflag.String(splunk.SourcetypeKey, "", "Event source type.")
pflag.String(splunk.IndexKey, "", "Event index.")
pflag.String(splunk.CapathKey, "", "Path to root certificate.")
pflag.String(splunk.CanameKey, "", "Name to use for validating server certificate; by default the hostname of the splunk-url is used.")
pflag.String(splunk.InsecureskipverifyKey, "", "Ignore server certificate validation.")
pflag.String(splunk.FormatKey, "", "Message format. Can be inline, json or raw. Defaults to inline.")
pflag.String(splunk.VerifyConnectionKey, "", "Verify on start, that docker can connect to Splunk server. "+
"Defaults to true.")
pflag.String(splunk.GzipKey, "", "Enable/disable gzip compression to send events to Splunk Enterprise "+
"or Splunk Cloud instance. Defaults to false.")
pflag.String(splunk.GzipLevelKey, "", "Set compression level for gzip. Valid values are -1 (default), "+
"0 (no compression), 1 (best speed) ... 9 (best compression). Defaults to DefaultCompression.")
pflag.String(splunk.SplunkTagKey, "", "Specify tag for message, which interpret some markup.")
pflag.String(splunk.LabelsKey, "", "Comma-separated list of keys of labels, which should be included "+
"in message, if these labels are specified for container.")
pflag.String(splunk.EnvKey, "", "Comma-separated list of keys of environment variables, which should be "+
"included in message, if these variables are specified for container.")
pflag.String(splunk.EnvRegexKey, "", "Similar to and compatible with env. A regular expression to "+
"match logging-related environment variables. Used for advanced log tag options.")
}