We are using nginx to authenticate access to Kibana and then proxying to the localhost Kibana service. This has been working but now we have a request to allow one dashboard to be seen without authentication. We tried to do it with the following nginx configuration but when we access the site path we get the generic MetricBeats Host Overview dashboard now the one in our link.
We really could use some help making this work. Again, what we need is to enable access to a specific dashboard without authentication but maintain authentication / access control for the rest of Kibana. We do not want to allow access to the Kibana devtools and management sections to everyone (obviously).
As far as I know trying to implement low-level controls like this is very hard (if even possible) in a proxy. One way might however be to create a separate Kibana instance with separate configuration and then proxy just the unsecured dashboard to this.
I doubt that the hash (#) part of proxy_pass URL is being passed to anywhere - hash is the browser only thing, so I guess NGINX just drops it. So you may want to consider Short URL permalink instead (depends on your requirements).
There is a chance you may want to use Kibana Dashboard Only Mode for this use case if not using already.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.