# Tuning up filebeat

**URL:** https://discuss.elastic.co/t/tuning-up-filebeat/159708
**Category:** Beats
**Tags:** filebeat
**Created:** [December 6, 2018, 10:29am UTC](https://discuss.elastic.co/t/tuning-up-filebeat/159708 "2018-12-06T10:29:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ErSumit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ersumit/32/88708_2.png) [@ErSumit](https://discuss.elastic.co/u/ErSumit)
#### Post date: [December 6, 2018, 10:29am UTC](https://discuss.elastic.co/t/tuning-up-filebeat/159708/1 "2018-12-06T10:29:48Z")

</div>

Filebeat is sending logs to logstash-\> elasticsearch. Increasing number of workers shows slight increase in events rate in monitoring at kibana.

Max how much I can increase number of workers. I read somewhere optimum number of workers is 3 to 5. Is it true?

```auto
  hosts: ["loadbalancers-endpoint"]
  ttl: 3s
  worker: 5
  loadbalance: true
  pipelining: 0

```

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [December 6, 2018, 1:52pm UTC](https://discuss.elastic.co/t/tuning-up-filebeat/159708/2 "2018-12-06T13:52:56Z")

</div>

Filebeat can be quite fast. When tuning it's a matter of tuning all services, Beats, Logstash, and Elasticsearch. Tuning needs can very much differ from environment to environment.

I'd recommend to read this [discussion](https://discuss.elastic.co/t/filebeat-slow-improve-performance/144717), as it contains a many tips and good practices applied.

---

<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 3, 2019, 1:52pm UTC](https://discuss.elastic.co/t/tuning-up-filebeat/159708/3 "2019-01-03T13:52:58Z")

</div>

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