Elasticsearch-Kibana

2 years ago

Description: Elasticsearch is a search engine based on the Lucene library.

Category: Observability

URL: https://railway.app/template/S0SXRv

2 Replies

mhuggins
HOBBY

2 years ago

Is there a way to provide auth for the Kibana UI? I attempted to set xpack.security.enabled to "true", but it just made it so that the Kibana UI wouldn't load.


2 months ago

Yes — but with this template, enabling xpack.security.enabled=true is not enough by itself.

Kibana needs to be configured to authenticate against Elasticsearch/OpenSearch with matching security settings and credentials. If only Kibana security is enabled, the UI usually fails to load because Kibana cannot complete its backend connection/auth flow.

Also, if this template is using OpenSearch, the equivalent UI is usually OpenSearch Dashboards, not Kibana. In that case, auth is handled through the OpenSearch Security plugin, and the dashboard container needs the matching OpenSearch credentials configured.

For now, I’d recommend one of these approaches:

  1. Put the UI behind Railway’s private networking or an external auth proxy / access control layer.
  2. Use OpenSearch Dashboards with the OpenSearch Security plugin enabled and configure the dashboard service with the correct credentials.
  3. Avoid exposing the dashboard publicly until auth is fully configured.

I’ll add this to the template docs as a known configuration requirement, because simply setting xpack.security.enabled=true can break the UI without the rest of the auth setup.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...