# Filebeat - bulk\_max\_size means?

**URL:** <https://discuss.elastic.co/t/filebeat-bulk-max-size-means/75849>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 21, 2017, 9:59am UTC](https://discuss.elastic.co/t/filebeat-bulk-max-size-means/75849 "2017-02-21T09:59:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suin\_You](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@Suin\_You](https://discuss.elastic.co/u/Suin_You)\
**Post date:** [February 21, 2017, 9:59am UTC](https://discuss.elastic.co/t/filebeat-bulk-max-size-means/75849/1 "2017-02-21T09:59:36Z")

</div>

[in logstash output config]  
I read the definition of 'bulk\_max\_size' in [[filebeat output config]](https://www.elastic.co/guide/en/beats/filebeat/current/logstash-output.html), but I want to know that in detail.  
The document says that bulk\_max\_size is ' **The maximum number of events** to bulk in a single Logstash request'.  
What is **the event**? I think that it seems like a line in the file.

[In filebeat prospector config]  
And there are the option called 'max\_bytes' in [filebeat prospector config](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-filebeat-options.html) and max\_bytes is 'The maximum number of bytes that a single log message can have'. So, if I set max\_bytes = 10MB and bulk\_max\_size = 2048, it may be 20480MB.... is it right?

I'm new and more explaination. 😢 Thank you.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 21, 2017, 10:08am UTC](https://discuss.elastic.co/t/filebeat-bulk-max-size-means/75849/2 "2017-02-21T10:08:32Z")

</div>

> [@Suin\_You](#):
>
> What is the event ? I think that it seems like a line in the file.

Correc.

> [@Suin\_You](#):
>
> So, if I set max\_bytes = 10MB and bulk\_max\_size = 2048, it may be 20480MB.... is it right?

If you have 2048 log messages that are 10MB each, yes.

---

<div class="post-metadata">

**Author:** ![Suin\_You](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@Suin\_You](https://discuss.elastic.co/u/Suin_You)\
**Post date:** [February 21, 2017, 10:10am UTC](https://discuss.elastic.co/t/filebeat-bulk-max-size-means/75849/3 "2017-02-21T10:10:58Z")

</div>

Aha! I'm always confused this small word. Thank you for your answer!!

---

<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:** [March 21, 2017, 10:11am UTC](https://discuss.elastic.co/t/filebeat-bulk-max-size-means/75849/4 "2017-03-21T10:11:08Z")

</div>

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