# Log files to Logstash

**URL:** <https://discuss.elastic.co/t/log-files-to-logstash/333063>\
**Category:** Logstash\
**Created:** [May 10, 2023, 10:09am UTC](https://discuss.elastic.co/t/log-files-to-logstash/333063 "2023-05-10T10:09:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hjsroldan](https://avatars.discourse-cdn.com/v4/letter/h/ea5d25/32.png) [@hjsroldan](https://discuss.elastic.co/u/hjsroldan)\
**Post date:** [May 10, 2023, 10:09am UTC](https://discuss.elastic.co/t/log-files-to-logstash/333063/1 "2023-05-10T10:09:05Z")

</div>

Hi,

Good day!

I have this scenario where I’m trying to collect log files and ship or ingest it to Logstash.

Below is my logstash.conf

 ![IMG_2322](https://us1.discourse-cdn.com/elastic/original/3X/f/3/f3afe20fe04b7d9cb61ff9d87933c87dfb39d9b4.jpeg)

Below is my input file (my-topics-1.txt) which contains 1-25 as shown below.

 ![IMG_2324](https://us1.discourse-cdn.com/elastic/original/3X/d/e/de0606c9a0ea5502f96963ad98b72c9579591619.jpeg)

However I am seeing data which is not being ingested. In my scenario 14 and 15 has not been ingested.

---

<div class="post-metadata">

**Author:** ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)\
**Post date:** [May 31, 2023, 8:43pm UTC](https://discuss.elastic.co/t/log-files-to-logstash/333063/2 "2023-05-31T20:43:19Z")

</div>

Hello @hjsroldan,

I don't see line 14 in your .txt file, is this expected?

---

<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:** [June 28, 2023, 8:43pm UTC](https://discuss.elastic.co/t/log-files-to-logstash/333063/3 "2023-06-28T20:43:35Z")

</div>

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