# Does Http\_poller use something simillar to "sincedb" as File input does?

**URL:** <https://discuss.elastic.co/t/does-http-poller-use-something-simillar-to-sincedb-as-file-input-does/281044>\
**Category:** Logstash\
**Created:** [August 11, 2021, 11:10am UTC](https://discuss.elastic.co/t/does-http-poller-use-something-simillar-to-sincedb-as-file-input-does/281044 "2021-08-11T11:10:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![panagiss](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@panagiss](https://discuss.elastic.co/u/panagiss)\
**Post date:** [August 11, 2021, 11:10am UTC](https://discuss.elastic.co/t/does-http-poller-use-something-simillar-to-sincedb-as-file-input-does/281044/1 "2021-08-11T11:10:45Z")

</div>

I know that File input plugin uses **sincedb** to "remember" the state of the file and the index position.

But what about other input plugins and specifically **http\_poller**?  
Because i have noticed that if i make the same request and the response is the exact same there will be no changes to the pipeline. I know that because i have a Ruby script that doesn't print something out.

I have found in the docs about the [target](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http_poller.html#plugins-inputs-http_poller-target) option, but im not sure if it works the same as **sincedb** does.

Thanks a lot

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 11, 2021, 4:11pm UTC](https://discuss.elastic.co/t/does-http-poller-use-something-simillar-to-sincedb-as-file-input-does/281044/2 "2021-08-11T16:11:43Z")

</div>

I think only the file and jdbc inputs can maintain state about what they have already processed. The http\_poller cannot.

The target option determines which field on the event the input should use to store the response. It is not related to remembering state.

---

<div class="post-metadata">

**Author:** ![panagiss](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@panagiss](https://discuss.elastic.co/u/panagiss)\
**Post date:** [August 11, 2021, 8:00pm UTC](https://discuss.elastic.co/t/does-http-poller-use-something-simillar-to-sincedb-as-file-input-does/281044/3 "2021-08-11T20:00:29Z")

</div>

Thanks then. It's a bit strange that sometimes i see the clock and the interval has passed but i don't see any action from the pipeline(i have print statements in ruby script). Maybe I'm wrong but i will have to check it again

---

<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 8, 2021, 8:01pm UTC](https://discuss.elastic.co/t/does-http-poller-use-something-simillar-to-sincedb-as-file-input-does/281044/4 "2021-09-08T20:01:07Z")

</div>

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