Skip to content

Commit 9f08f32

Browse files
authored
Merge pull request #85 from raytung/fix-readme-for-dockerv19-03-log
Added to README for supporting Docker v19.03
2 parents f6004e2 + a7088c8 commit 9f08f32

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,24 @@ Handle Docker logs splitted in several parts (using `partial_message`), and do n
168168
```aconf
169169
<filter>
170170
@type concat
171-
key message
171+
key log
172172
partial_key partial_message
173173
partial_value true
174174
separator ""
175175
</filter>
176176
```
177177

178+
(Docker v19.03+) Handle Docker logs splitted in several parts (using `use_partial_metadata`), and do not add new line between parts.
179+
180+
```aconf
181+
<filter>
182+
@type concat
183+
key log
184+
use_partial_metadata true
185+
separator ""
186+
</filter>
187+
```
188+
178189
Handle Docker logs splitted in several parts (using newline detection), and do not add new line between parts (prior to Docker 18.06).
179190

180191
```aconf

0 commit comments

Comments
 (0)