diff --git a/filebeat/input/filestream/input.go b/filebeat/input/filestream/input.go index 1f7faa84306..2294c12f331 100644 --- a/filebeat/input/filestream/input.go +++ b/filebeat/input/filestream/input.go @@ -381,6 +381,7 @@ func (inp *filestream) readFromSource( metrics.BytesProcessed.Add(uint64(message.Bytes)) + // add "take_over" tag if `take_over` is set to true if inp.takeOver { mapstr.AddTags(message.Fields, []string{"take_over"}) }