# Changes in Kibana request api from 4.1 to 4.6 (5.x)?

**URL:** <https://discuss.elastic.co/t/changes-in-kibana-request-api-from-4-1-to-4-6-5-x/69054>\
**Category:** Kibana\
**Created:** [December 14, 2016, 4:45pm UTC](https://discuss.elastic.co/t/changes-in-kibana-request-api-from-4-1-to-4-6-5-x/69054 "2016-12-14T16:45:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppuschmann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppuschmann/32/146751_2.png) [@ppuschmann](https://discuss.elastic.co/u/ppuschmann)\
**Post date:** [December 14, 2016, 4:45pm UTC](https://discuss.elastic.co/t/changes-in-kibana-request-api-from-4-1-to-4-6-5-x/69054/1 "2016-12-14T16:45:15Z")

</div>

Hi there,

we're currently running on ES 1.7.x with Kibana 4.1.x and are planning to upgrade to ES 2.4.x and Kibana 4.6.

Everything us fine, but the configuration of our Nginx (in front of Kibana) troubles me.  
Since the new path inside of Kibana is now `/app/kibana`I'm curious if we could do simple rewrites of our current URL `/kibana4`to `/app/kibana`.

Our questions are:

- Has the request/URL-schema changed?
- Will it change on our way to 5.x?

Why am I asking? Because we'd like to migrate, but don't want to break the already defined URLs to stored dashboards or visualisations. (simple URL rewrite would still work!)

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [December 15, 2016, 3:14pm UTC](https://discuss.elastic.co/t/changes-in-kibana-request-api-from-4-1-to-4-6-5-x/69054/2 "2016-12-15T15:14:11Z")

</div>

Yeah, in 4.2 we made a fair amount of changes to support the app and plugin ecosystem but we tried pretty hard to maintain backwards compatibility.

When you upgrade to 4.x or 5.x make sure to set the `server.basePath` setting in kibana.yml to `"/kibana4"` and Kibana should just work and redirect users correctly.

---

<div class="post-metadata">

**Author:** ![ppuschmann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppuschmann/32/146751_2.png) [@ppuschmann](https://discuss.elastic.co/u/ppuschmann)\
**Post date:** [December 18, 2016, 11:15am UTC](https://discuss.elastic.co/t/changes-in-kibana-request-api-from-4-1-to-4-6-5-x/69054/3 "2016-12-18T11:15:11Z")

</div>

Hi @spalger,

thank you very much for your answer.

So I just have to make some redirects and create a rewrite-rule to change the Index-name in the URL (timestamp-pattern vs. \*).

---

<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 15, 2017, 11:15am UTC](https://discuss.elastic.co/t/changes-in-kibana-request-api-from-4-1-to-4-6-5-x/69054/4 "2017-01-15T11:15:26Z")

</div>

Closed on January 15, 2017, 11:15am UTC

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