Elasticsearch not immediately available for search through Logstash

Hello everyone,

I want to send queries to Elasticsearch through the Elasticsearch
plugin within Logstash for every event in process. However, Logstash
sends requests to Elasticsearch in bulk and indexed events are not
immediately made available for search in Elasticsearch. It seems to me
that there will be a lag (up to in process a second or more) between an
index passing through Logstash and it being searchable. I don't know how
to solve this.

Do you have any idea ?

Thank you for your time.

S

Sounds a lot like this issue https://github.com/logstash-plugins/logstash-filter-elasticsearch/issues/15 which hasn't had much traction yet.

Is this issue not already being discussed here: Logstash: problem for querying elasticsearch ?

Why open a new thread?

Please keep this to one thread :slight_smile: