# How to change max payload size on cloud Kibana

**URL:** <https://discuss.elastic.co/t/how-to-change-max-payload-size-on-cloud-kibana/264308>\
**Category:** Kibana\
**Created:** [February 15, 2021, 12:20pm UTC](https://discuss.elastic.co/t/how-to-change-max-payload-size-on-cloud-kibana/264308 "2021-02-15T12:20:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![harmanpa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harmanpa/32/83926_2.png) [@harmanpa](https://discuss.elastic.co/u/harmanpa)\
**Post date:** [February 15, 2021, 12:20pm UTC](https://discuss.elastic.co/t/how-to-change-max-payload-size-on-cloud-kibana/264308/1 "2021-02-15T12:20:14Z")

</div>

I am trying to use filebeat to send logs to elastic cloud, however on calling "filebeat setup" I get the following error:

```auto
Response: {"statusCode":413,"error":"Request Entity Too Large","message":"Payload content length greater than maximum allowed: 1048576"}

```

I can't find the max payload setting in the UI for Kibana, is there a way of changing it?

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [February 15, 2021, 12:27pm UTC](https://discuss.elastic.co/t/how-to-change-max-payload-size-on-cloud-kibana/264308/2 "2021-02-15T12:27:29Z")

</div>

Check the guide here, you can edit the deployment and set custom setting for Kibana instance  
NB: I don't see the custom setting for what you are looking for as on perm

```auto
server.maxPayloadBytes: 1048576

```

> **[Add Kibana user settings | Elasticsearch Service Documentation | Elastic](https://www.elastic.co/guide/en/cloud/current/ec-manage-kibana-settings.html)**

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 15, 2021, 4:33pm UTC](https://discuss.elastic.co/t/how-to-change-max-payload-size-on-cloud-kibana/264308/3 "2021-02-15T16:33:48Z")

</div>

It's the same for self managed.

About halfway down on [this](https://www.elastic.co/guide/en/kibana/current/settings.html) page

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 16, 2021, 12:12am UTC](https://discuss.elastic.co/t/how-to-change-max-payload-size-on-cloud-kibana/264308/4 "2021-02-16T00:12:43Z")

</div>

@harmanpa @ylasri Ahhh to be clear... It is configurable in cloud it is just undocumented ... or perhaps a bug in the docs. I just tested it. Don't set it tooo large.

There is a little caveat in the Elasticsearch service docs

_"If a setting is not supported by Elasticsearch Service, you will get an error message when you try to save."_

This is after I applied the change, change applied and I opened up the `kabana.yml` again it is there, that is how you know it took.

 ![Screen Shot 2021-02-15 at 4.06.21 PM](https://us1.discourse-cdn.com/elastic/original/3X/8/2/82cdad7144fadc06b8fc662fd09bfa564e925ab5.png)

---

<div class="post-metadata">

**Author:** ![harmanpa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harmanpa/32/83926_2.png) [@harmanpa](https://discuss.elastic.co/u/harmanpa)\
**Post date:** [February 16, 2021, 7:11am UTC](https://discuss.elastic.co/t/how-to-change-max-payload-size-on-cloud-kibana/264308/5 "2021-02-16T07:11:59Z")

</div>

Thank you both, I can confirm that it does indeed work and fix the problem!

---

<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 16, 2021, 7:12am UTC](https://discuss.elastic.co/t/how-to-change-max-payload-size-on-cloud-kibana/264308/6 "2021-03-16T07:12:23Z")

</div>

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