Indexing with Logstash to Elasticsearch

119 Views Asked by At

I am working on an Elasticsearch indexing task.

Currently we are indexing hundreds of thousands of documents to ES cluster (many ES instances) on daily basis. We simply read data from DB and various of data sources, collate and compile them and directly index them to ES using python elasticsearch-dsl lib.

Currently;

Currently

Now we want use Logstash between the application server and ES however we don't want to change our current codebase. Thus we could easily switch between ES to Logstash and keep business logic in our application.

My question is how can I use logstash as a transparent middleware. I simply want logstash to forward all rest messages as they are to the ES cluster.

Want to; enter image description here

0

There are 0 best solutions below