Filebeat + Logstash Persisted Queues + ElasticSearch

Greetings fellow Logstashers. I am fairly new to Logstash. I am trying to implement Persisted Queues but I am having trouble understanding some stuff.

  1. If my understand is accurate, I would have Logstash running on each instance with the "Beats" plugin installed and configured to push the data to the Logstash Persisted Queues instance. Is this correct?

  2. Does anyone know if an example configuration for a host that is sending it's logs to the Logstash Persisted Queue instance?

  3. Do I still have to run Logtash on the hosts I want to run Filebeat on to push the logs the Logstash Persisted Queue instance or can I just run Filebeat?

  4. Does Lumberjack still have a place here? The Logstash Persisted Queue instance is running the latest version of Logstash with Lumberjack configured to listen on 5044.

Thank you!

If my understand is accurate, I would have Logstash running on each instance with the "Beats" plugin installed and configured to push the data to the Logstash Persisted Queues instance. Is this correct?

What's the point of having a separate instance with a persisted queue? What's the overall architecture and the motivation behind it?

Do I still have to run Logtash on the hosts I want to run Filebeat on to push the logs the Logstash Persisted Queue instance or can I just run Filebeat?

The point of Filebeat is to be a lightweight shipper of log files, so having to also run Logstash on the same host would be rather pointless. So yes, have Filebeat ship directly to one or more Logstash instances.

Does Lumberjack still have a place here? The Logstash Persisted Queue instance is running the latest version of Logstash with Lumberjack configured to listen on 5044.

Until there's a beats output for Logstash it's still useful to use the lumberjack input/output plugins for Logstash-to-Logstash communications.

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