We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d0c747 commit 7de90daCopy full SHA for 7de90da
services/logging/fluentd/fluent.conf
@@ -39,6 +39,8 @@
39
hostname "#{Socket.gethostname}"
40
fluentd_hostname "#{ENV['FLUENTD_HOSTNAME']}"
41
tag ${tag}
42
+ container_name ${record["container_name"] && record["container_name"].start_with?("/") ? record["container_name"][1..-1] : record["container_name"]}
43
+ log_service ${record["log_service"] && record["log_service"].start_with?("/") ? record["log_service"][1..-1] : record["log_service"]}
44
</record>
45
</filter>
46
0 commit comments