Type to search.

Logstash-to-Logstash communications

Serverless

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Serverless interfaces and procedures might differ from classic Elastic Stack deployments.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Logstash-to-Logstash communication is available if you need to have one Logstash instance communicate with another Logstash instance. Implementing Logstash-to-Logstash communication can add complexity to your environment, but you may need it if the data path crosses network or firewall boundaries. However, we suggest you don’t implement unless it is strictly required.

Note

If you are looking for information on connecting multiple pipelines within one Logstash instance, see Pipeline-to-pipeline communication.

Logstash-to-Logstash communication can be achieved in one of two ways:

Logstash to Logstash considerations

This is the preferred method to implement Logstash-to-Logstash. It replaces Logstash-to-Logstash: HTTP output to HTTP input and has these considerations:

  • It relies on HTTP as the communication protocol between the Input and Output.
  • It supports multiple hosts, providing high availability by load balancing equally amongst the multiple destination hosts.
  • No connection information is added to events.

Ready to see more configuration details? See Logstash-to-Logstash: Output to Input.

Lumberjack-Beats considerations

Lumberjack output to Beats input has been our standard approach for Logstash-to-Logstash communication, but our recommended approach is now Logstash-to-Logstash: Output to Input. Before you implement the Lumberjack to Beats configuration, keep these points in mind:

  • The Lumberjack input plugin is not maintained or supported and should not be used.
  • Lumberjack to Beats provides high availability, but does not provide load balancing. The Lumberjack output plugin allows defining multiple output hosts for high availability, but instead of load-balancing between all output hosts, it falls back to one host on the list in the case of failure.
  • If you need a proxy between the Logstash instances, TCP proxy is the only option.
  • There’s no explicit way to exert back pressure back to the beats input.

Ready to see more configuration details? See Logstash-to-Logstash: Lumberjack output to Beats input.