Merge pull request #36159 from cosmo0920/add-partial-flag-into-record
Fluentd Log Driver: Add partial flag into record Upstream-commit: fff01bc14d96b323ecafb18f8c33c62561677fbb Component: engine
This commit is contained in:
@ -163,6 +163,9 @@ func (f *fluentd) Log(msg *logger.Message) error {
|
||||
for k, v := range f.extra {
|
||||
data[k] = v
|
||||
}
|
||||
if msg.Partial {
|
||||
data["partial_message"] = "true"
|
||||
}
|
||||
|
||||
ts := msg.Timestamp
|
||||
logger.PutMessage(msg)
|
||||
|
||||
Reference in New Issue
Block a user