# Logstash codecs (multiline,json) uncomplete messages from file lines

**URL:** <https://discuss.elastic.co/t/logstash-codecs-multiline-json-uncomplete-messages-from-file-lines/115286>\
**Category:** Logstash\
**Created:** [January 12, 2018, 11:56am UTC](https://discuss.elastic.co/t/logstash-codecs-multiline-json-uncomplete-messages-from-file-lines/115286 "2018-01-12T11:56:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Ged](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ged/32/65761_2.png) [@Ged](https://discuss.elastic.co/u/Ged)\
**Post date:** [January 20, 2018, 5:18pm UTC](https://discuss.elastic.co/t/logstash-codecs-multiline-json-uncomplete-messages-from-file-lines/115286/4 "2018-01-20T17:18:33Z")

</div>

@magnusbaeck  
Now i know what you meant - multiline is not needed for this configuration when i get complete JSON message in log in single line.

After further investigation seems like reading via NFS causes this problem.

So I'll contiune in thread  
[https://discuss.elastic.co/t/logstash-codecs-multiline-json-parseerror-illegal-character/115292](https://discuss.elastic.co/t/logstash-codecs-multiline-json-parseerror-illegal-character/115292)  
if needed.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-codecs-multiline-json-uncomplete-messages-from-file-lines/115286)._
