# Logstash input speed VERY slow on AWS

**URL:** <https://discuss.elastic.co/t/logstash-input-speed-very-slow-on-aws/2715>\
**Category:** Logstash\
**Created:** [June 15, 2015, 4:36pm UTC](https://discuss.elastic.co/t/logstash-input-speed-very-slow-on-aws/2715 "2015-06-15T16:36:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathaniel](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@nathaniel](https://discuss.elastic.co/u/nathaniel)\
**Post date:** [June 15, 2015, 4:36pm UTC](https://discuss.elastic.co/t/logstash-input-speed-very-slow-on-aws/2715/1 "2015-06-15T16:36:42Z")

</div>

Hi guys, thanks for noticing this question. I posted a question about logstash input speed a couple of days ago, and it turns out the problem is because of I'm using aws. I realized that if I use Amazon's service, the logstash can be amazingly slow.  
When testing the performance, I used a generator to generate logs as input, and write these logs to a local file as output. The throughput on my macbook pro is around 71,000/sec, with a dual core i5 processor and SSD. When running the same .conf file with the same default logstash configuration on a AWS m3.xlarge node, which has 4 core and 16GM Ram with SSD, I only got around 1,2000/sec throughput.  
The m3.xlarge should be more powerful than my macbook pro, but it is 6 times slower. I have no idea why it's so slow. I would be appreciated if anyone can help me out. Thanks a lot.

---

<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:** [July 6, 2017, 5:37am UTC](https://discuss.elastic.co/t/logstash-input-speed-very-slow-on-aws/2715/2 "2017-07-06T05:37:27Z")

</div>


