# Issues creating Index patterns in Kibana

**URL:** <https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725>\
**Category:** Kibana\
**Created:** [July 14, 2021, 10:44pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725 "2021-07-14T22:44:39Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeg123](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mikeg123](https://discuss.elastic.co/u/mikeg123)\
**Post date:** [July 14, 2021, 10:44pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/1 "2021-07-14T22:44:39Z")

</div>

Hello,  
I've created a new index and index pattern in filebeat.yml file and send data to Elastic search running in aws container.  
when I go to Kibana I can see the new index getting created under 'Index Management', but when I try to create 'Index Pattern' I get: **Error Request Entity Too Large**  
any idea what could be causing it? this index barely has a few Ks of data

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [July 15, 2021, 3:02pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/2 "2021-07-15T15:02:27Z")

</div>

You can increase the `server.maxPayloadBytes` setting in your `kibana.yml` . Please refer to our [documentation](https://www.elastic.co/guide/en/kibana/current/settings.html) how to do this.

---

<div class="post-metadata">

**Author:** ![mikeg123](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mikeg123](https://discuss.elastic.co/u/mikeg123)\
**Post date:** [July 15, 2021, 7:00pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/3 "2021-07-15T19:00:12Z")

</div>

ok thanks for reply, will take a look, but a it's a littler weird because

other indexes work fine and they have a lot of data. this particular index is a brand new one  
and has a few K of data so why would it fail during Index Pattern setup?  
Thanks, Michael

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [July 16, 2021, 12:07pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/4 "2021-07-16T12:07:19Z")

</div>

what is your current `server.maxPayloadBytes` set to?

---

<div class="post-metadata">

**Author:** ![mikeg123](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mikeg123](https://discuss.elastic.co/u/mikeg123)\
**Post date:** [July 19, 2021, 3:38pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/5 "2021-07-19T15:38:06Z")

</div>

> [@majagrubic](#):
>
> server.maxPayloadBytes

actually, we don't have that variable set in the Kibana config at all

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [July 19, 2021, 3:46pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/6 "2021-07-19T15:46:05Z")

</div>

Sorry, starting 7.13 this setting was renamed to `maxPayload`. So depending on which Kibana version you are running, you should have at least one of them. The default value is `1048576`.

---

<div class="post-metadata">

**Author:** ![mikeg123](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mikeg123](https://discuss.elastic.co/u/mikeg123)\
**Post date:** [July 19, 2021, 8:48pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/7 "2021-07-19T20:48:40Z")

</div>

don't have this one either...

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [July 20, 2021, 8:16am UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/8 "2021-07-20T08:16:38Z")

</div>

This is a standard setting in [kibana.yml](https://github.com/elastic/kibana/blob/master/config/kibana.yml#L26)

If it's commented out or missing, the default value will be taken as `1048576`, as mentioned above. I suggest you increase this number and see if that solves your issue, as I suspect it will.

---

<div class="post-metadata">

**Author:** ![mikeg123](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mikeg123](https://discuss.elastic.co/u/mikeg123)\
**Post date:** [July 20, 2021, 4:31pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/9 "2021-07-20T16:31:21Z")

</div>

well, we tried the same thing from linux box (I was running mine from Windows)  
and we ran this before starting filebeat  
"curl -XPUT -H "Content-Type: application/json" 'http://'$esurl':80/\_template/filebeat?pretty' -d@/etc/filebeat/filebeat.template.json"  
and then started filebeat, noticed that index was created and I was able to create Index Patterns with no problems.  
however, my windows installation does not have that 'filebeat.template.json' file

so I don't think it's the 'maxPayload' param issue since it works in one case, but not the other  
any ideas?

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [July 20, 2021, 8:23pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/10 "2021-07-20T20:23:49Z")

</div>

`maxPayload` param is Kibana's config parameter, not a filebeat one. It is defined in `kibana.yml` and you will need to update this on your server running Kibana.

---

<div class="post-metadata">

**Author:** ![mikeg123](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mikeg123](https://discuss.elastic.co/u/mikeg123)\
**Post date:** [July 21, 2021, 2:23pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/11 "2021-07-21T14:23:25Z")

</div>

rigtht, I understand that it's kibana param,

my point was that without changing that parameter in Kibana, I'm Not able to create Index Pattern in the first above described case, but I was able to do it in the second above described case by sending that filebeat.template.json to elastic search first.(using the same steps), but as I also mentioned in my windows installation of filebeat I don't see that filebeat.template.json

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [July 21, 2021, 3:13pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/12 "2021-07-21T15:13:29Z")

</div>

I am not super familiar with filebeat, but we have a guide on how to [create a json template](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-template.html#load-template-manually) manually. Let me know if this doesn't work and we can check further with my colleagues from filebeat.

---

<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:** [August 18, 2021, 3:14pm UTC](https://discuss.elastic.co/t/issues-creating-index-patterns-in-kibana/278725/13 "2021-08-18T15:14:24Z")

</div>

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