# Http\_poller input only new lines?

**URL:** <https://discuss.elastic.co/t/http-poller-input-only-new-lines/115058>\
**Category:** Logstash\
**Created:** [January 11, 2018, 10:36am UTC](https://discuss.elastic.co/t/http-poller-input-only-new-lines/115058 "2018-01-11T10:36:48Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [January 11, 2018, 2:59pm UTC](https://discuss.elastic.co/t/http-poller-input-only-new-lines/115058/5 "2018-01-11T14:59:40Z")

</div>

Your http server will need to stateful.

Say you use a query string of `http://xxx.xxx.xx/api/log?lines=100` and the server, having remembered that in the previous call it served lines 0 to 99, serves lines 100 to 199 to this call.

The http\_poller input is not stateful and has no facility to remember what the last processed line number was and adjust the query string for example.

---

_[View the full topic](https://discuss.elastic.co/t/http-poller-input-only-new-lines/115058)._
