Logstash scalability and Input plugins

It’s feasible to setup a Logstash cluster model either by ruing multiple services or hosting Logstash image in a cluster like kubernetes, however with certain Input Plugins where you pull-in/query data you will run into issues for horizontal scaling , where different nodes trying to ingest the same data and processes it and that may not be ideal ?

Are the following the only implementation to the above issues ?

  1. When using clustering approach, use two different Logstash image, single node (that host the input plugin) to pull-in data and using load balancing to forward responses to the other nodes for processing .
  2. To have the Data/Logs ingestion process lives outside of the Logstash like Beat or any other forwarder.

Best regard

Logstash doesn't cluster, in the same concept as Elasticsearch. You can use things like load balancers on the input side, but it's going to be relatively simplistic.

And we usually talk about at least once delivery, which means you'll get one, but you may get duplicates. This is the same with Logstash as with Beats.

What sort of data are you ingesting?

Hello Mar and thank you for your time :slightly_smiling_face:

I'm planing to ingest Data/Logs from Salesforce , GCP , other clouds , different DBs and few more services , each having multiple environments like dev, test, load and prod, and wanted to really ensure Logstasch could scale in case of high data volume and if i'm running multiple Logstash services they they don't ingest the same data, with the usage of unnecessary processing resources and duplicating data on the destination side (New Relics) .

Thank you again.

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