Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana committed Jun 7, 2024
1 parent 994aba5 commit d5b734a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions filebeat/input/filestream/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
}
Expand Down

0 comments on commit d5b734a

Please sign in to comment.