# How to keep track on elasticsearch events

**URL:** <https://discuss.elastic.co/t/how-to-keep-track-on-elasticsearch-events/88856>\
**Category:** Logstash\
**Created:** [June 9, 2017, 2:56pm UTC](https://discuss.elastic.co/t/how-to-keep-track-on-elasticsearch-events/88856 "2017-06-09T14:56:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kabali12345](https://avatars.discourse-cdn.com/v4/letter/k/6a8cbe/32.png) [@kabali12345](https://discuss.elastic.co/u/kabali12345)\
**Post date:** [June 9, 2017, 2:56pm UTC](https://discuss.elastic.co/t/how-to-keep-track-on-elasticsearch-events/88856/1 "2017-06-09T14:56:56Z")

</div>

Hi....  
here i am trying to push ES data into rabbitMq but  
problem is every time i am reading total data which is present in that index  
how can i keep option like since\_db so that i can read each event once

here is my conf

```auto
input {
  elasticsearch {
    hosts => "192.168.1.75:9200"
    index => "netcool"
    user => "elastic"
    password => "changeme"
    query => '{ "query":{ "match_all": {} }, "sort": ["_doc"] }'
   # query => '{ "query":{"range" : { "@timestamp" : { "gt" : "now-1d } } }, "sort": ["_doc"] }'
    size => 5000
    scroll => "5m"
    type => "ela"
  }
}
output{
      rabbitmq {
          key => "alerts_elk2"
          exchange => "ncoms_elk2"
          exchange_type => "direct"
          user => "admin"
          password => "rabbit@123"
          host => "192.168.1.23"
          port => 5672
          durable => true
          persistent => true
          heartbeat => "5"
          automatic_recovery => true
      }
}

```

Thank you

---

<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:** [June 12, 2017, 8:02pm UTC](https://discuss.elastic.co/t/how-to-keep-track-on-elasticsearch-events/88856/2 "2017-06-12T20:02:25Z")

</div>

There's no support for that.

---

<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:** [July 10, 2017, 8:02pm UTC](https://discuss.elastic.co/t/how-to-keep-track-on-elasticsearch-events/88856/3 "2017-07-10T20:02:30Z")

</div>

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