# Bulk\_max\_size

**URL:** <https://discuss.elastic.co/t/bulk-max-size/74620>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [February 10, 2017, 8:54am UTC](https://discuss.elastic.co/t/bulk-max-size/74620 "2017-02-10T08:54:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![veroverona](https://avatars.discourse-cdn.com/v4/letter/v/85e7bf/32.png) [@veroverona](https://discuss.elastic.co/u/veroverona)\
**Post date:** [February 10, 2017, 8:54am UTC](https://discuss.elastic.co/t/bulk-max-size/74620/1 "2017-02-10T08:54:09Z")

</div>

Hi,  
I would like Winlogbeat to publish singol events, so I tried to set bulk\_max\_size to 0, but then Winlogbeat didn't start. I tried to set bulk\_max\_size to -1, in this way Winlogbeat starts but it keeps publishing events in bulk.

How can I do?

```
output:

  ### Elasticsearch as output
  elasticsearch:
    # Array of hosts to connect to.
    # Scheme and port can be left out and will be set to the default (http and 9200)
    # In case you specify and additional path, the scheme is required: http://localhost:9200/path
    # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200
    hosts: ["192.168.1.6:8080"]
    bulk_max_size: -1
```

---

<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:** [February 13, 2017, 3:36pm UTC](https://discuss.elastic.co/t/bulk-max-size/74620/2 "2017-02-13T15:36:52Z")

</div>

winlogbeat batches up multiple events into one batch. The publisher does not split batches, and will send them using the bulk api. This is not configurable.

---

<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 13, 2017, 3:37pm UTC](https://discuss.elastic.co/t/bulk-max-size/74620/3 "2017-03-13T15:37:08Z")

</div>

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