Does using a script in elastic output plugin for Logstash impact's performance


I am trying to insert data from multiple Kafka topics to ES. However, there are scenarios where I need to append message in an existing array or update message in multiple JSON documents, for which I am using the "script" in the ES output plugin.

I wanted to know does it impact the overall performance, for the JSON to be processed by logstash, thereafter indexed and updates available in ES index.


Yes, an update is always more costly than indexing a new document where Elasticsearch sets the id.

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