# Only read new lines

**URL:** https://discuss.elastic.co/t/only-read-new-lines/76804
**Category:** Logstash
**Created:** [February 28, 2017, 3:08pm UTC](https://discuss.elastic.co/t/only-read-new-lines/76804 "2017-02-28T15:08:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bertvervaele](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bertvervaele](https://discuss.elastic.co/u/bertvervaele)
#### Post date: [February 28, 2017, 3:08pm UTC](https://discuss.elastic.co/t/only-read-new-lines/76804/1 "2017-02-28T15:08:34Z")

</div>

Hello I just started with elastic stack so maybe it's a stupid question.  
I want to read log files live. So after every chance I only want to read the new lines not the whole file again.  
Is this possible?

Greetings Bert

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [February 28, 2017, 3:10pm UTC](https://discuss.elastic.co/t/only-read-new-lines/76804/2 "2017-02-28T15:10:13Z")

</div>

That's exactly what Logstash's file input (which is guess is what you're talking about) does with the default configuration.

---

<div class="post-metadata">

### Author: ![bertvervaele](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bertvervaele](https://discuss.elastic.co/u/bertvervaele)
#### Post date: [February 28, 2017, 3:11pm UTC](https://discuss.elastic.co/t/only-read-new-lines/76804/3 "2017-02-28T15:11:19Z")

</div>

thanks for the very quick respons and sorry for the nooby question 🙂

---

<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 28, 2017, 3:12pm UTC](https://discuss.elastic.co/t/only-read-new-lines/76804/4 "2017-03-28T15:12:04Z")

</div>

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