# TCP vs HTTP input - reliability

**URL:** <https://discuss.elastic.co/t/tcp-vs-http-input-reliability/112215>\
**Category:** Logstash\
**Created:** [December 18, 2017, 11:10am UTC](https://discuss.elastic.co/t/tcp-vs-http-input-reliability/112215 "2017-12-18T11:10:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vb4t](https://avatars.discourse-cdn.com/v4/letter/v/a698b9/32.png) [@vb4t](https://discuss.elastic.co/u/vb4t)\
**Post date:** [December 18, 2017, 11:10am UTC](https://discuss.elastic.co/t/tcp-vs-http-input-reliability/112215/1 "2017-12-18T11:10:43Z")

</div>

Hello. I need to collect logs using nxlog log shipper (can not use filebeat - unsupported OS). I am able to send events using TCP or HTTP. Probably TCP input is faster but HTTP seems to be more reliable (ACK on application level per event). Am I correct or TCP logstash input is as reliable as HTTP?

---

<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:** [January 15, 2018, 11:18am UTC](https://discuss.elastic.co/t/tcp-vs-http-input-reliability/112215/2 "2018-01-15T11:18:43Z")

</div>

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