# Kibana BAD Request on index pattern creation and use

**URL:** <https://discuss.elastic.co/t/kibana-bad-request-on-index-pattern-creation-and-use/110127>\
**Category:** Kibana\
**Created:** [December 4, 2017, 11:16am UTC](https://discuss.elastic.co/t/kibana-bad-request-on-index-pattern-creation-and-use/110127 "2017-12-04T11:16:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/noam/32/20382_2.png) [@Noam](https://discuss.elastic.co/u/Noam)\
**Post date:** [December 4, 2017, 11:16am UTC](https://discuss.elastic.co/t/kibana-bad-request-on-index-pattern-creation-and-use/110127/1 "2017-12-04T11:16:20Z")

</div>

Hello,  
after upgrading ELK from 4.5 to 5.4.3 we encountered the following error,  
while trying to use or create some of the index patterns:  
`Request to Elasticsearch failed: Bad Request`.  
I found this related similar topic, but its closed without any answers:

> [@BAD request after deleting an index pattern and recreating it](https://discuss.elastic.co/t/bad-request-after-deleting-an-index-pattern-and-recreating-it/105333):
>
> Hi all, Continuing the discussion from [Kibana shows blank sites in Discover, Management, ... after deleting/creation of default index pattern](https://discuss.elastic.co/t/kibana-shows-blank-sites-in-discover-management-after-deleting-creation-of-default-index-pattern/72405/7): I had an index-pattern logstash-2017\* which I deleted, then I recreated it with PUT .kibana/index-pattern/logstash-2017\* {"title" : "logstash-2017\*", "timeFieldName": "@timestamp"} now I see it in the list of index-patterns but when I try to select it, it doesnt do anything. If I try and select it in the Management tools Index PAtterns, I get a bad…

any lead on what can cause this issue? and how to handle it?

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [December 5, 2017, 3:51pm UTC](https://discuss.elastic.co/t/kibana-bad-request-on-index-pattern-creation-and-use/110127/2 "2017-12-05T15:51:27Z")

</div>

Hi @Noam,

does either the network response in the browser dev tools or the Kibana server console show more details about that error? Usually Elasticsearch is very verbose about it.

---

<div class="post-metadata">

**Author:** ![Noam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/noam/32/20382_2.png) [@Noam](https://discuss.elastic.co/u/Noam)\
**Post date:** [December 7, 2017, 1:51pm UTC](https://discuss.elastic.co/t/kibana-bad-request-on-index-pattern-creation-and-use/110127/3 "2017-12-07T13:51:14Z")

</div>

OK I will check it out and post here the request and response

---

<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:** [January 4, 2018, 2:02pm UTC](https://discuss.elastic.co/t/kibana-bad-request-on-index-pattern-creation-and-use/110127/4 "2018-01-04T14:02:47Z")

</div>

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