# Can I harvest .txt file from filebeat?

**URL:** <https://discuss.elastic.co/t/can-i-harvest-txt-file-from-filebeat/74600>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 10, 2017, 5:30am UTC](https://discuss.elastic.co/t/can-i-harvest-txt-file-from-filebeat/74600 "2017-02-10T05:30:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asgoh05](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@asgoh05](https://discuss.elastic.co/u/asgoh05)\
**Post date:** [February 10, 2017, 5:30am UTC](https://discuss.elastic.co/t/can-i-harvest-txt-file-from-filebeat/74600/1 "2017-02-10T05:30:58Z")

</div>

I'm trying to send my system\_log to logstash.  
But unfortunately my system\_log file is text file(.txt) rather than (.log)  
For this reason I can't send it to logstash. (It is available when I change my file extension to .log)  
I don't want to convert .txt to .log. manually.  
is there any method to solve this problem??

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 10, 2017, 10:50pm UTC](https://discuss.elastic.co/t/can-i-harvest-txt-file-from-filebeat/74600/2 "2017-02-10T22:50:14Z")

</div>

> [@asgoh05](#):
>
> For this reason I can't send it to logstash.

Why? Logstash doesn't care what extension your files are.

---

<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:** [March 10, 2017, 10:50pm UTC](https://discuss.elastic.co/t/can-i-harvest-txt-file-from-filebeat/74600/3 "2017-03-10T22:50:16Z")

</div>

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