kibana-own-home
kibana-own-home copied to clipboard
Can't switch current tenant/index from originally set tenant/index
I've installed Own Home and am using a custom reverse proxy for authentication. The proxy sends usernames using the 'username' proxy user header. I can load Kibana using my reverse proxy, can see the Own Home plugin, and can even see that an index is created for my username, but I can't switch between indices to public or sandbox, the shared tenants. These are my kibana.yml configurations:
server.basePath: "/kibana"
elasticsearch.url: "http://localhost:19200"
elasticsearch.requestHeadersWhitelist: [ 'authorization', 'username' ]
own_home.proxy_user_header: username
own_home.session.isSecure: false
own_home.local.groups: [ public, sandbox ]
The only time I can see another index is when I add the following line to kibana.yml:
own_home.default_kibana_index_suffix: public
But then I can't switch from public to my personal and sandbox indices. Do you know what the issue is?
Something to note is that the URL can only ever end in /kibana/app/own_home#/?_g=() - using /kibana/app/own_home#/public or any other index besides public immediately replaces the index name with ?_g=()
Could you try to replace elasticsearch.requestHeadersWhitelist: [ 'authorization', 'username' ]
with elasticsearch.requestHeadersWhitelist: [ username, cookie ]
?
That didn't seem to work. Any other ideas?