# Best Practices for Filebeat

**URL:** https://discuss.elastic.co/t/best-practices-for-filebeat/208704
**Category:** Beats
**Tags:** filebeat
**Created:** [November 20, 2019, 1:31pm UTC](https://discuss.elastic.co/t/best-practices-for-filebeat/208704 "2019-11-20T13:31:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![akhil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akhil/32/116231_2.png) [@akhil](https://discuss.elastic.co/u/akhil)
#### Post date: [November 20, 2019, 1:31pm UTC](https://discuss.elastic.co/t/best-practices-for-filebeat/208704/1 "2019-11-20T13:31:43Z")

</div>

Dear Elastic Team,

I want to know the best practices for Filebeat configuration. Actually, there is one Production server where I have to setup filebeat. I want to configure the filebeat in that way so that when I will start the filebeat service, it won't consume high volume of CPU and Memory. I don't want that filebeat will harm the production server in any way.

The logs that filebeat will ship is around 4 gb per day. I need your guidance here.

Thanks in Advance !!

---

<div class="post-metadata">

### Author: ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)
#### Post date: [November 21, 2019, 3:18am UTC](https://discuss.elastic.co/t/best-practices-for-filebeat/208704/2 "2019-11-21T03:18:07Z")

</div>

You didn't say if your server is Linux or Windows.

The default Linux config shouldn't have any performance issues shipping 4Gb a day.

Install from packages and use systemctl to start the service at boot. Have a reasonable test environment before making production changes. If you have a fleet of similar servers, configure all with something like Ansible to ensure the desired configuration state.

"Not harm the server in any way" is open to interpretation, no matter what, if something happens on that server after you install filebeat, in many installations, you will be blamed even it's not related 🙂

---

<div class="post-metadata">

### Author: ![akhil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akhil/32/116231_2.png) [@akhil](https://discuss.elastic.co/u/akhil)
#### Post date: [November 21, 2019, 3:59am UTC](https://discuss.elastic.co/t/best-practices-for-filebeat/208704/3 "2019-11-21T03:59:08Z")

</div>

Many thanks Rugen for the response 🙂👍

Although for safer side, I have updated max\_proc to 1. Hope it will be able to ship the data smoothly.  
One more Q. How much data can be ship by filebeat in following cases :.

1. If max\_proc updated to one.
2. If max\_proc is in default status.

By the way it's Linux server and filebeat v.7

Thanks again...

---

<div class="post-metadata">

### Author: ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)
#### Post date: [November 21, 2019, 4:31am UTC](https://discuss.elastic.co/t/best-practices-for-filebeat/208704/4 "2019-11-21T04:31:23Z")

</div>

I've never changed that option, but it might provide a throttle if you are harvesting multiple files or a burst of events occur.

---

<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, 2019, 4:31am UTC](https://discuss.elastic.co/t/best-practices-for-filebeat/208704/5 "2019-12-19T04:31:24Z")

</div>

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