# Filebeat log with no new line character

**URL:** <https://discuss.elastic.co/t/filebeat-log-with-no-new-line-character/306591>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 7, 2022, 4:15pm UTC](https://discuss.elastic.co/t/filebeat-log-with-no-new-line-character/306591 "2022-06-07T16:15:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav\_kr](https://avatars.discourse-cdn.com/v4/letter/g/c5a1d2/32.png) [@Gaurav\_kr](https://discuss.elastic.co/u/Gaurav_kr)\
**Post date:** [June 7, 2022, 4:15pm UTC](https://discuss.elastic.co/t/filebeat-log-with-no-new-line-character/306591/1 "2022-06-07T16:15:53Z")

</div>

Hi All,  
Wanted to know is their any way to use filebeat to harvest logs from a file which has only single line and with no new line character.

I know harvester need a new line character to read the logs but do we have any workaround to do this without having a new line character, as I am trying to monitor log files which are single log and no new line at the end of log.

please suggest. Thanks!

Gaurav

---

<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 5, 2022, 6:16pm UTC](https://discuss.elastic.co/t/filebeat-log-with-no-new-line-character/306591/2 "2022-07-05T18:16:00Z")

</div>

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