# API browser kubernetes externalURI not applied

**URL:** <https://community.graylog.org/t/api-browser-kubernetes-externaluri-not-applied/16773>\
**Category:** Graylog Central (peer support)\
**Created:** [August 12, 2020, 12:17pm UTC](https://community.graylog.org/t/api-browser-kubernetes-externaluri-not-applied/16773 "2020-08-12T12:17:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Petex](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Petex](https://community.graylog.org/u/Petex)\
**Post date:** [August 12, 2020, 12:17pm UTC](https://community.graylog.org/t/api-browser-kubernetes-externaluri-not-applied/16773/1 "2020-08-12T12:17:26Z")

</div>

## Hi I have graylog installed using rancher and the graylog helm chart. Everything is ok but the api browser is not available. The externalUri spesified in the helm answer yaml is not applied to the api browser page the page displays just its basic format. The graylog cluster is behind a metalb loadbalancer. Answers yml

graylog:  
externalUri: “192.168.2.22:9000”  
rootPassword: “\*\*\*\*\*\*”  
rootTimezone: CET  
transportEmail:  
enabled: true  
port: 25  
protocol: smtp  
hostname: “192.168.1.142”  
subjectPrefix: “[graylog]”  
useTls: false  
useSsl: false  
useAuth: false  
fromEmail: graylog@domain  
service:  
type: LoadBalancer  
#loadBalancerIP: 192.168.2.31  
input:  
tcp:  
service:  
type: LoadBalancer  
loadBalancerIP: 192.168.2.24  
ports:  
- name: gelf1  
port: 12222  
- name: gelf2  
port: 12223  
udp:  
service:  
type: LoadBalancer  
loadBalancerIP: 192.168.2.30  
ports:  
- name: syslog  
port: 5140  
- name: syslog-nx-acc  
port: 5141  
- name: syslog-nx-err  
port: 5142  
This generates this link in the api page source code head. (the graylog site is ok!)

[http://graylog-0.graylog.graylog.svc.cluster.local:9000/api/api-browser/](http://graylog-0.graylog.graylog.svc.cluster.local:9000/api/api-browser/)

I think it should be [http://192.168.2.22:9000/api/api-browser/](http://192.168.2.22:9000/api/api-browser/)

How can i solve this?  
Thanks  
Peter

---

<div class="post-metadata">

**Author:** ![Petex](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Petex](https://community.graylog.org/u/Petex)\
**Post date:** [August 13, 2020, 6:16am UTC](https://community.graylog.org/t/api-browser-kubernetes-externaluri-not-applied/16773/2 "2020-08-13T06:16:42Z")

</div>

OK so i have to reply to my own resquest!  
Rancher helm chart instals graylog version 3.1 which has no api-browser global option.(foe use behind load balancer)  
As i needed to access this from just one server as a workaround I used the host file.  
“192.168.2.22 graylog-0.graylog.graylog.svc.cluster.local  
192.168.2.22 graylog-1.graylog.graylog.svc.cluster.local”  
one line for each possible host in the cluster.  
This gives a better result but still the page is blank!  
Found in another post that api/api-browser is not enought you need to add api/api-browser/global/index.html to your external IP  
hope this helps someone else to move forward!  
Peter

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [August 27, 2020, 6:16am UTC](https://community.graylog.org/t/api-browser-kubernetes-externaluri-not-applied/16773/3 "2020-08-27T06:16:43Z")

</div>

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