# How can I tell Logstash's buffer size?

**URL:** https://discuss.elastic.co/t/how-can-i-tell-logstashs-buffer-size/77907
**Category:** Logstash
**Created:** [March 8, 2017, 10:16pm UTC](https://discuss.elastic.co/t/how-can-i-tell-logstashs-buffer-size/77907 "2017-03-08T22:16:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ZillaG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zillag/32/10505_2.png) [@ZillaG](https://discuss.elastic.co/u/ZillaG)
#### Post date: [March 8, 2017, 10:16pm UTC](https://discuss.elastic.co/t/how-can-i-tell-logstashs-buffer-size/77907/1 "2017-03-08T22:16:07Z")

</div>

I set a buffer\_size in my input plugin, and see in the logs that the value is actually being set.

```
input {
  udp {
    port => 5555
    buffer_size = 65536
 }
}

```

However, how can I really tell that Logstash is indeed using the value?

I'm debugging a log where I get a \_jsonparsefailure. But if I delete a dozen lines from the file, Logstash parses it ok, so I'm guessing this is a buffer overrun issue?

---

<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: [April 5, 2017, 10:16pm UTC](https://discuss.elastic.co/t/how-can-i-tell-logstashs-buffer-size/77907/2 "2017-04-05T22:16:14Z")

</div>

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