# Advantage of logstash input/output plugin over http input/output plugin

**URL:** <https://discuss.elastic.co/t/advantage-of-logstash-input-output-plugin-over-http-input-output-plugin/347659>\
**Category:** Logstash\
**Created:** [November 21, 2023, 5:59pm UTC](https://discuss.elastic.co/t/advantage-of-logstash-input-output-plugin-over-http-input-output-plugin/347659 "2023-11-21T17:59:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thiruvikraman](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@Thiruvikraman](https://discuss.elastic.co/u/Thiruvikraman)\
**Post date:** [November 21, 2023, 5:59pm UTC](https://discuss.elastic.co/t/advantage-of-logstash-input-output-plugin-over-http-input-output-plugin/347659/1 "2023-11-21T17:59:03Z")

</div>

**Logstash to Logstash considerations**

This is the preferred method to implement Logstash-to-Logstash. It replaces [Logstash-to-Logstash: HTTP output to HTTP input](https://www.elastic.co/guide/en/logstash/current/ls-to-ls-http.html) and has these considerations:

- It relies on HTTP as the communication protocol between the Input and Output.
- It does not provide built-in high availability. You will need to implement your own load balancer in between the Logstash output and the Logstash input.
- If you need a proxy between the Logstash instances, you can use any HTTP proxy.
- No connection information is added to events.

As per the documentation [Logstash-to-Logstash communication | Logstash Reference [8.11] | Elastic](https://www.elastic.co/guide/en/logstash/current/ls-to-ls.html), seems new integration plugin logstash is introduced in 8.10 release and it was mentioned as preferred approach than Http-output-to-http-input plugin, but it is not clear what extra advantage it has ,as even logstash plugin itself underneath using http protocol.

Can someone help me on the advantage of using logstash-ouput-to-logstash-input plugin over Http-output-to-http-input plugin for logstash-to-logstash communication.

Thanks in advance!!

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [November 21, 2023, 6:09pm UTC](https://discuss.elastic.co/t/advantage-of-logstash-input-output-plugin-over-http-input-output-plugin/347659/2 "2023-11-21T18:09:45Z")

</div>

I suggest you read through the initial github [design](https://github.com/elastic/logstash/issues/14477) issue and the [meta](https://github.com/elastic/logstash/issues/15163) issue.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 19, 2023, 6:10pm UTC](https://discuss.elastic.co/t/advantage-of-logstash-input-output-plugin-over-http-input-output-plugin/347659/3 "2023-12-19T18:10:22Z")

</div>

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