# Issue with File input plugin for ASCII C++ program text file format

**URL:** <https://discuss.elastic.co/t/issue-with-file-input-plugin-for-ascii-c-program-text-file-format/97135>\
**Category:** Logstash\
**Created:** [August 15, 2017, 4:51pm UTC](https://discuss.elastic.co/t/issue-with-file-input-plugin-for-ascii-c-program-text-file-format/97135 "2017-08-15T16:51:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankeet.jain](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@ankeet.jain](https://discuss.elastic.co/u/ankeet.jain)\
**Post date:** [August 15, 2017, 4:51pm UTC](https://discuss.elastic.co/t/issue-with-file-input-plugin-for-ascii-c-program-text-file-format/97135/1 "2017-08-15T16:51:33Z")

</div>

I am facing a problem while reading a file using file input plugin. File input plugin is not able to  
find the line delimiter for a file and it is reading 500 consecutive lines as a single line.

Using file command I checked the format of file(hbase) and it is appearing as **ASCII C++ program text, with very long lines.**  
For other file (zookeeper) which file input plugin is reading correctly having format as **ASCII text**.

```
zookeeper-root-server.out: ASCII text
hbase-root-master.out: ASCII C++ program text, with very long lines

```

Both the files are in ASCII format so input plugin should be able to interpret line delimiter but seems it is not working for  
ASCII C++ program text, with very long lines . I am not able to change the file format . Is there any way to reslove this issue ?

---

<div class="post-metadata">

**Author:** ![ankeet.jain](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@ankeet.jain](https://discuss.elastic.co/u/ankeet.jain)\
**Post date:** [August 16, 2017, 12:22pm UTC](https://discuss.elastic.co/t/issue-with-file-input-plugin-for-ascii-c-program-text-file-format/97135/2 "2017-08-16T12:22:45Z")

</div>

This item can be closed as there was an issue with my configuration.

---

<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:** [September 13, 2017, 12:22pm UTC](https://discuss.elastic.co/t/issue-with-file-input-plugin-for-ascii-c-program-text-file-format/97135/3 "2017-09-13T12:22:48Z")

</div>

Closed on September 13, 2017, 12:22pm UTC

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