# Kibana 5.0 Ingest API

**URL:** https://discuss.elastic.co/t/kibana-5-0-ingest-api/65043
**Category:** Kibana
**Created:** [November 4, 2016, 6:40pm UTC](https://discuss.elastic.co/t/kibana-5-0-ingest-api/65043 "2016-11-04T18:40:25Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![j9s3](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@j9s3](https://discuss.elastic.co/u/j9s3)
#### Post date: [November 4, 2016, 6:40pm UTC](https://discuss.elastic.co/t/kibana-5-0-ingest-api/65043/1 "2016-11-04T18:40:25Z")

</div>

Is the Ingest API available in Kibana 5.0.0?

I'm following the examples referenced in here:

> <https://github.com/elastic/kibana/pull/5213>

POST localhost:5601/api/kibana/ingest

and I'm getting a 404 response:  
{"statusCode":404,"error":"Not Found"}

---

<div class="post-metadata">

### Author: ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)
#### Post date: [November 4, 2016, 7:32pm UTC](https://discuss.elastic.co/t/kibana-5-0-ingest-api/65043/2 "2016-11-04T19:32:40Z")

</div>

Hi,

Most of the APIs referenced in that pull request were backed out of the 5.0.0 release along with the UI components that called them. Like many other Kibana APIs they were meant to be for internal Kibana use only anyway.

May I ask: what are you trying to accomplish? I might be able to guide you to something else depending on your use case.

Shaunak

---

<div class="post-metadata">

### Author: ![j9s3](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@j9s3](https://discuss.elastic.co/u/j9s3)
#### Post date: [November 7, 2016, 5:27pm UTC](https://discuss.elastic.co/t/kibana-5-0-ingest-api/65043/3 "2016-11-07T17:27:52Z")

</div>

Hey Shaunak,  
I was looking for a way to create index patterns without using the Kibana UI.  
I've read that this can be done through PUT requests to the .kibana index.  
Is that still the best approach?

Thanks.

---

<div class="post-metadata">

### Author: ![ogibayashi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ogibayashi/32/32299_2.png) [@ogibayashi](https://discuss.elastic.co/u/ogibayashi)
#### Post date: [November 17, 2016, 11:28am UTC](https://discuss.elastic.co/t/kibana-5-0-ingest-api/65043/4 "2016-11-17T11:28:28Z")

</div>

Hi

I am also looking forward to the way to create index patterns non-interactively.  
I have upgraded to Kibana 5 today, and if better way is available, that would be great.

Hironori Ogibayashi

---

<div class="post-metadata">

### Author: ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)
#### Post date: [November 23, 2016, 2:57am UTC](https://discuss.elastic.co/t/kibana-5-0-ingest-api/65043/5 "2016-11-23T02:57:12Z")

</div>

Hi @j9s3 and @ogibayashi,

Yes, if you are looking to _programatically_ create index patterns, the best approach at the moment is to modify the contents of the `.kibana` index directly via the Elasticsearch REST API. You can read a bit about the structure of the `.kibana` index here: [https://www.elastic.co/blog/kibana-under-the-hood-object-persistence](https://www.elastic.co/blog/kibana-under-the-hood-object-persistence)

**Fair Warning** : Modifying the `.kibana` index is, of course, not ideal because the index is meant to be an implementation detail of where Kibana stores its objects (index patterns, visualizations, etc.). It's possible the Kibana developers might change something about the structure/semantics of the documents in this index and that would break your script that's programmatically writing to this index.

---

<div class="post-metadata">

### Author: ![ogibayashi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ogibayashi/32/32299_2.png) [@ogibayashi](https://discuss.elastic.co/u/ogibayashi)
#### Post date: [November 24, 2016, 9:42am UTC](https://discuss.elastic.co/t/kibana-5-0-ingest-api/65043/6 "2016-11-24T09:42:23Z")

</div>

Hi Shaunak,

Thank you so much for the information.  
I didn't know the blog post and it was useful.

Hironori Ogibayashi

---

<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: [July 6, 2017, 1:34pm UTC](https://discuss.elastic.co/t/kibana-5-0-ingest-api/65043/7 "2017-07-06T13:34:00Z")

</div>


