# Dev Tools console not maintaining prefix\_path v8.12.2

**URL:** <https://discuss.elastic.co/t/dev-tools-console-not-maintaining-prefix-path-v8-12-2/354975>\
**Category:** Kibana\
**Created:** [March 7, 2024, 7:07pm UTC](https://discuss.elastic.co/t/dev-tools-console-not-maintaining-prefix-path-v8-12-2/354975 "2024-03-07T19:07:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![B\_Blank](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b_blank/32/120601_2.png) [@B\_Blank](https://discuss.elastic.co/u/B_Blank)\
**Post date:** [March 7, 2024, 7:07pm UTC](https://discuss.elastic.co/t/dev-tools-console-not-maintaining-prefix-path-v8-12-2/354975/1 "2024-03-07T19:07:51Z")

</div>

I'm seeing in Kibana 8.12.2 that the `prefix_path` is being dropped by Dev Tools Console commands.  
i.e. the "/kibana" in the example below.

kibana.yml

```auto
elasticsearch.hosts: "server.mydomain.com:443/kibana

```

In Dev Tools Console:

**v7.17.15 (correct)**  
`GET _cluster/health` produces `GET /kibana/_cluster/health?pretty=true`

**v8.12.2 (incorrect)**  
`GET _cluster/health` produces `GET /_cluster/health?pretty=true`

I am obviously running kibana behind a proxy. All other apps in Kibana appear to be working fine, only Dev Tools Console seems to have an issue so far.

I've tried every combination in the kibana.yml file of:

```auto
server.publicBaseUrl: "https://server.mydomain.com/kibana"
server.basePath: /kibana
server.rewriteBasePath: false

```

---

<div class="post-metadata">

**Author:** ![B\_Blank](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b_blank/32/120601_2.png) [@B\_Blank](https://discuss.elastic.co/u/B_Blank)\
**Post date:** [March 7, 2024, 10:21pm UTC](https://discuss.elastic.co/t/dev-tools-console-not-maintaining-prefix-path-v8-12-2/354975/2 "2024-03-07T22:21:32Z")

</div>

Workaround: For my use case, I am able to update the root route in my proxy and direct the traffic to the /kibana endpoint. (but I don't think we should have to do this.)

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [March 19, 2024, 6:08pm UTC](https://discuss.elastic.co/t/dev-tools-console-not-maintaining-prefix-path-v8-12-2/354975/3 "2024-03-19T18:08:35Z")

</div>

It would be worth filing a bug in the Kibana Github repo. See [https://github.com/elastic/kibana/issues/new](https://github.com/elastic/kibana/issues/new)

---

<div class="post-metadata">

**Author:** ![B\_Blank](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b_blank/32/120601_2.png) [@B\_Blank](https://discuss.elastic.co/u/B_Blank)\
**Post date:** [March 26, 2024, 1:43pm UTC](https://discuss.elastic.co/t/dev-tools-console-not-maintaining-prefix-path-v8-12-2/354975/4 "2024-03-26T13:43:30Z")

</div>

Will do - just wanted to confirm it was an issue before creating a "bug". Thanks.

---

<div class="post-metadata">

**Author:** ![B\_Blank](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b_blank/32/120601_2.png) [@B\_Blank](https://discuss.elastic.co/u/B_Blank)\
**Post date:** [March 26, 2024, 1:53pm UTC](https://discuss.elastic.co/t/dev-tools-console-not-maintaining-prefix-path-v8-12-2/354975/5 "2024-03-26T13:53:58Z")

</div>

> [@B\_Blank](#):
>
> Workaround: For my use case, I am able to update the root route in my proxy and direct the traffic to the /kibana endpoint.

> <https://github.com/elastic/kibana/issues/179436>
>
> \<!--
> GitHub is reserved for bug reports and feature requests. The best place
> t…o ask a general question is at the Elastic Discourse forums at
> https://discuss.elastic.co. If you are in fact posting a bug report or
> a feature request, please include one and only one of the below blocks
> in your new issue.
> \--\>
> 
> \<!--
> If you are filing a bug report, please remove the below feature
> request block and provide responses for all of the below items.
> \--\>
> 
> \*\*Kibana version\*\*: 8.12.2
> 
> \*\*Elasticsearch version\*\*: 8.12.2
> 
> \*\*Server OS version\*\*: CentOS 7 (I know... I know...) 
> 
> \*\*Browser version\*\*: Chrome Version 121.0.6167.139 (Official Build) (arm64)
> 
> \*\*Browser OS version\*\*: Mac OS Sonoma 14.3.1
> 
> \*\*Original install method (e.g. download page, yum, from source, etc.)\*\*: Kibana docker image
> 
> \*\*Description of the problem including expected versus actual behavior\*\*:
> When Kibana is behind a proxy, the Dev Tools Console is not maintaining the \`prefix\_path\` like all of the other apps in Kibana do.
> 
> \*\*Steps to reproduce\*\*:
> I'm seeing in Kibana 8.12.2 that the prefix\_path is being dropped by Dev Tools Console commands.
> i.e. the "/kibana" in the example below.
> 
> kibana.yml
> 
> \`elasticsearch.hosts: "server.mydomain.com:443/kibana\`
> 
> In Dev Tools Console:
> 
> \*\*v7.17.15 (correct)\*\*
> \`GET \_cluster/health\` produces \`GET /kibana/\_cluster/health?pretty=true\`
> 
> \*\*v8.12.2 (incorrect)\*\*
> \`GET \_cluster/health\` produces \`GET /\_cluster/health?pretty=true\`
> 
> I am obviously running kibana behind a proxy. All other apps in Kibana appear to be working fine, only Dev Tools Console seems to have an issue so far.
> 
> I've tried every combination in the kibana.yml file of:
> \`\`\`
> server.publicBaseUrl: "https://server.mydomain.com/kibana"
> server.basePath: /kibana
> server.rewriteBasePath: false
> \`\`\`
> 
> \*\*Workaround:\*\*
> Workaround: For my use case, I am able to update the root route in my proxy and direct the traffic to the /kibana endpoint.
> 
> \<!--
> If you are filing a feature request, please remove the above bug
> report block and provide responses for all of the below items.
> \--\>
> 
> \*\*Describe the feature\*\*: Dev Tools should maintain the \`prefix\_path\` like all other kibana apps.

---

<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:** [April 23, 2024, 1:54pm UTC](https://discuss.elastic.co/t/dev-tools-console-not-maintaining-prefix-path-v8-12-2/354975/6 "2024-04-23T13:54:48Z")

</div>

Closed on April 23, 2024, 1:54pm UTC

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