# Unable to restrict duplicate documents using http\_poller

**URL:** <https://discuss.elastic.co/t/unable-to-restrict-duplicate-documents-using-http-poller/260511>\
**Category:** Logstash\
**Created:** [January 8, 2021, 8:06am UTC](https://discuss.elastic.co/t/unable-to-restrict-duplicate-documents-using-http-poller/260511 "2021-01-08T08:06:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gauti](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@Gauti](https://discuss.elastic.co/u/Gauti)\
**Post date:** [January 8, 2021, 8:06am UTC](https://discuss.elastic.co/t/unable-to-restrict-duplicate-documents-using-http-poller/260511/1 "2021-01-08T08:06:55Z")

</div>

Hi All,

I have been trying to ingest some, time series data into elasticsearch using logstash http poller plugin.  
my data is from a monitoring tool which capture the parameters like hostname, memory usage, cpu load, system status and time when it captured the data

```
hostname : server1
memory load : 95%
cpu load : 80%
system status : Up
time: 01-08-2021 12:35:44  

```

When i run logstash using the provided rest api, for every poll it ingests the complete data into elasticsearch, but i want logstash to read the files based on the latest time recorded, so that i can get rid of duplicate data.

Any suggestions please.

Thanks  
Gautham

---

<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:** [February 5, 2021, 8:06am UTC](https://discuss.elastic.co/t/unable-to-restrict-duplicate-documents-using-http-poller/260511/2 "2021-02-05T08:06:56Z")

</div>

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