# Filebeat harvester cannot collect logs across files

**URL:** <https://discuss.elastic.co/t/filebeat-harvester-cannot-collect-logs-across-files/234888>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [May 29, 2020, 9:13am UTC](https://discuss.elastic.co/t/filebeat-harvester-cannot-collect-logs-across-files/234888 "2020-05-29T09:13:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suoititcif](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@suoititcif](https://discuss.elastic.co/u/suoititcif)\
**Post date:** [May 29, 2020, 9:13am UTC](https://discuss.elastic.co/t/filebeat-harvester-cannot-collect-logs-across-files/234888/1 "2020-05-29T09:13:13Z")

</div>

docker json log. if a message length exceeds 16K, it will be split  
if rolling the logs file, one log will be stored in two files

steps to reproduce:  
docker log driver setting max-size 200k, then generate over 200k size logs  
reference [https://github.com/ipushc/sauce](https://github.com/ipushc/sauce)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 26, 2020, 9:27am UTC](https://discuss.elastic.co/t/filebeat-harvester-cannot-collect-logs-across-files/234888/2 "2020-06-26T09:27:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
