docs/reference/logstash-to-logstash-communications.md
{{ls}}-to-{{ls}} communication is available if you need to have one {{ls}} instance communicate with another {{ls}} 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:
$$$native-considerations$$$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:
Ready to see more configuration details? See Logstash-to-Logstash: Output to Input.
$$$lumberjack-considerations$$$Lumberjack-Beats considerations
Lumberjack output to Beats input has been our standard approach for {{ls}}-to-{{ls}} 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:
Ready to see more configuration details? See Logstash-to-Logstash: Lumberjack output to Beats input.