kibana-own-home icon indicating copy to clipboard operation
kibana-own-home copied to clipboard

Can't switch current tenant/index from originally set tenant/index

Open amandarice opened this issue 6 years ago • 2 comments

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=()

amandarice avatar Jul 17 '18 21:07 amandarice

Could you try to replace elasticsearch.requestHeadersWhitelist: [ 'authorization', 'username' ] with elasticsearch.requestHeadersWhitelist: [ username, cookie ]?

wtakase avatar Jul 17 '18 23:07 wtakase

That didn't seem to work. Any other ideas?

amandarice avatar Jul 18 '18 13:07 amandarice