Skip to content

docs: document "got incomplete line before first line" warning in in_tail - #655

Merged
kenhys merged 2 commits into
fluent:1.0from
Watson1978:docs-tail-incomplete-line-faq
Jul 29, 2026
Merged

docs: document "got incomplete line before first line" warning in in_tail#655
kenhys merged 2 commits into
fluent:1.0from
Watson1978:docs-tail-incomplete-line-faq

Conversation

@Watson1978

@Watson1978 Watson1978 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

What

Add an FAQ entry to input/tail.md that documents the got incomplete line before first line warning emitted by in_tail.

Why

Reported in #466. The warning is emitted by in_tail in multiline mode, but it was not documented anywhere, so users had no way to tell what it meant or whether data was being lost.

Note

#466 also points out that the formatN parameter table on the multiline parser page does not match the implementation. That part is left for a separate follow-up PR, so this PR intentionally does not close #466.

Refs #466

@Watson1978
Watson1978 requested a review from kenhys July 29, 2026 01:28
Comment thread input/tail.md Outdated
Watson1978 and others added 2 commits July 29, 2026 11:45
Add an FAQ entry explaining that in_tail emits this warning only in
multiline mode (format_firstline), when it reads a continuation line
before matching a first line. List the common causes: reading that
starts in the middle of a record (e.g. after rotation or with
read_from_head false), a format_firstline that does not match the real
first line, and a single <parse> shared by files of different formats
through a path glob. Note that these lines are dropped unless
emit_unmatched_lines is set to true.

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Co-authored-by: Kentaro Hayashi <kenhys@gmail.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978
Watson1978 force-pushed the docs-tail-incomplete-line-faq branch from 1220a80 to 4f209b8 Compare July 29, 2026 02:45
@kenhys
kenhys merged commit 7e12577 into fluent:1.0 Jul 29, 2026
2 checks passed
@Watson1978
Watson1978 deleted the docs-tail-incomplete-line-faq branch July 29, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiline parser undocumented error: "#0 got incomplete line before first line"

2 participants