# Kibana 7.17.3 - serverBasePath result in 404 Status

**URL:** <https://discuss.elastic.co/t/kibana-7-17-3-serverbasepath-result-in-404-status/322449>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [January 4, 2023, 10:52am UTC](https://discuss.elastic.co/t/kibana-7-17-3-serverbasepath-result-in-404-status/322449 "2023-01-04T10:52:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijaykumar](https://avatars.discourse-cdn.com/v4/letter/v/4491bb/32.png) [@vijaykumar](https://discuss.elastic.co/u/vijaykumar)\
**Post date:** [January 4, 2023, 10:52am UTC](https://discuss.elastic.co/t/kibana-7-17-3-serverbasepath-result-in-404-status/322449/1 "2023-01-04T10:52:10Z")

</div>

I setup EFK Stack Using Helm Chart and versions of Elasticsearch Kibana and filebeat are 7.17.3

Helm Chart Link:

> **[elasticsearch 7.17.3 · elastic/elastic](https://artifacthub.io/packages/helm/elastic/elasticsearch/7.17.3)**
>
> Official Elastic helm chart for Elasticsearch

> **[filebeat 7.17.3 · elastic/elastic](https://artifacthub.io/packages/helm/elastic/filebeat/7.17.3)**
>
> Official Elastic helm chart for Filebeat

> **[kibana 7.17.3 · elastic/elastic](https://artifacthub.io/packages/helm/elastic/kibana/7.17.3)**
>
> Official Elastic helm chart for Kibana

Installation is success

Able to access kibana UI (When exposed as service type Loadbalancer)

now when trying to access kibana (using existing nginx ingress and changing kibana service to clusterIP ) after setting server.basePath: "/kibana" results in a 404.

# kibana.yml

server.host: "0.0.0.0"  
server.port: "5601"  
server.basePath: "/kibana"  
server.rewriteBasePath: true

# kibana-ingress-ssl.yaml

apiVersion: [networking.k8s.io/v1](http://networking.k8s.io/v1)  
kind: Ingress  
metadata:  
name: kibana-ingress  
annotations:  
[kubernetes.io/ingress.class:](http://kubernetes.io/ingress.class:) "nginx"  
[nginx.ingress.kubernetes.io/auth-type:](http://nginx.ingress.kubernetes.io/auth-type:) basic  
[nginx.ingress.kubernetes.io/auth-secret:](http://nginx.ingress.kubernetes.io/auth-secret:) basic-auth  
[nginx.ingress.kubernetes.io/auth-realm:](http://nginx.ingress.kubernetes.io/auth-realm:) 'Authentication Required - admin'  
spec:  
tls:  
- hosts:  
- [example.com](http://example.com)

# # This assumes tls-secret exists adn the SSL

# # certificate contains a CN for [example.com](http://example.com)

```
  secretName: tls-secret

```

rules:

- host: [example.com](http://example.com)  
http:  
paths:
  - backend:  
service:  
name: kibana-kibana  
port:  
number: 80  
path: /kibana  
pathType: Prefix

---

<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:** [February 1, 2023, 10:52am UTC](https://discuss.elastic.co/t/kibana-7-17-3-serverbasepath-result-in-404-status/322449/2 "2023-02-01T10:52:47Z")

</div>

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