# Flushing an incomplete line to the output

**URL:** <https://discuss.elastic.co/t/flushing-an-incomplete-line-to-the-output/51171>\
**Category:** Logstash\
**Created:** [May 27, 2016, 3:20pm UTC](https://discuss.elastic.co/t/flushing-an-incomplete-line-to-the-output/51171 "2016-05-27T15:20:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![111121](https://avatars.discourse-cdn.com/v4/letter/1/fbc32d/32.png) [@111121](https://discuss.elastic.co/u/111121)\
**Post date:** [May 27, 2016, 3:20pm UTC](https://discuss.elastic.co/t/flushing-an-incomplete-line-to-the-output/51171/1 "2016-05-27T15:20:34Z")

</div>

Hello,

I am currently trying to integrate logstash into my company's logging system.  
The issue is following:

- I cant change how the files are created
- No files end with EOL (issue!)
- Most of the files are one liners without EOL

This means I can declare delimiter =\> "something"  
The problem here is that the delimiter is eaten so I need to reapend it back to the file.  
Plus the file doesnt end everytime with same last word.

is there a way to force logstash's buffer to be emptied into a field and then pass it to the output?

Many thanks.

---

<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:** [July 6, 2017, 4:55am UTC](https://discuss.elastic.co/t/flushing-an-incomplete-line-to-the-output/51171/2 "2017-07-06T04:55:54Z")

</div>


