Skip to content

Commit 3936826

Browse files
committed
review comments
Signed-off-by: mrgarris0n <gergely.karacsonyi@gmail.com> review comments pt2 Signed-off-by: mrgarris0n <gergely.karacsonyi@gmail.com> review comments pt3 Signed-off-by: mrgarris0n <gergely.karacsonyi@gmail.com>
1 parent ee28ce3 commit 3936826

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
## multi-line-timeout()
22

3-
| Type:| time in seconds|
3+
| Type:| number|
44
|Default:| N/A|
55

6-
*Description:* Specifies the time {{ site.product.short_name }} waits without reading new data from the source, before
7-
the last (potentially partial) message is flushed and sent through the pipeline as a LogMessage.
6+
*Description:* Specifies the time (in seconds) {{ site.product.short_name }} waits without reading new data from the source, before the last (potentially partial) message is flushed and sent through the pipeline as a LogMessage.
87

9-
Since the multi-line source detects the end of a message after finding the beginning of the subsequent message
10-
(indented or no-garbage/suffix mode), this option can be used to flush the last multi-line message
11-
in the file after a multi-line-timeout()-second timeout.
8+
Since the multi-line source detects the end of a message via finding the beginning of the subsequent message (indented or no-garbage/suffix mode), this option can be used to flush the last multi-line message in the file after a given time.
129

13-
There is no default value, so it must be explicitly configured. It should be a higher value than follow-freq(), so we recommend to set it to a multiple value of follow-freq().
10+
There is no default value, so it must be explicitly configured with a value higher than follow-freq(). We recommend it to be set to a multiple of follow-freq().
1411

1512
### Example: multi-line-timeout()
1613

@@ -25,4 +22,4 @@ source s_multi {
2522
}
2623
```
2724

28-
For more details see the blogpost Multi-line-timeout: making sure your last multi-line message is not lost.
25+
For more details see the blog post Multi-line-timeout: making sure your last multi-line message is not lost.

0 commit comments

Comments
 (0)