Skip to content

Commit c747064

Browse files
author
Guy Boertje
authored
Update the docs to make the newline requirement more explicit.
1 parent 44b87e4 commit c747064

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/logstash/inputs/file.rb

+6-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
# similar to `tail -0F` but optionally reading them from the
1111
# beginning.
1212
#
13-
# By default, each event is assumed to be one line. If you would like
14-
# to join multiple log lines into one event, you'll want to use the
15-
# multiline codec or filter.
13+
# By default, each event is assumed to be one line and a line is
14+
# taken to be the text before a newline character.
15+
# Normally, logging will add a newline to the end of each line written.
16+
17+
# If you would like to join multiple log lines into one event,
18+
# you'll want to use the multiline codec or filter.
1619
#
1720
# The plugin aims to track changing files and emit new content as it's
1821
# appended to each file. It's not well-suited for reading a file from

0 commit comments

Comments
 (0)