1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

Allow configurable metadata for Splunk log driver

Add support of `tag`, `env` and `labels` for Splunk logging driver.
Removed from message `containerId` as it is the same as `tag`.

Signed-off-by: Denis Gladkikh <denis@gladkikh.email>
Upstream-commit: a148373062
Component: cli
This commit is contained in:
Denis Gladkikh
2015-11-10 16:42:27 -08:00
committed by Tibor Vass
parent 3f98c82117
commit d75645ebf8

View File

@@ -337,7 +337,7 @@ __docker_log_driver_options() {
local journald_options="env labels"
local json_file_options="env labels max-file max-size"
local syslog_options="syslog-address syslog-facility tag"
local splunk_options="splunk-caname splunk-capath splunk-index splunk-insecureskipverify splunk-source splunk-sourcetype splunk-token splunk-url"
local splunk_options="env labels splunk-caname splunk-capath splunk-index splunk-insecureskipverify splunk-source splunk-sourcetype splunk-token splunk-url tag"
local all_options="$fluentd_options $gelf_options $journald_options $json_file_options $syslog_options $splunk_options"