I'm trying to get Kibana running on Docker Swarm using a compose file. I have a running Elasticsearch instance without XPack. I'm trying to just get the most vanilla installation running with minimal options.
My configuration looks like this:
services:
kibana:
image: docker.elastic.co/kibana/kibana:5.6.1
deploy:
mode: replicated
replicas: 1
ports:
- "5601:5601"
environment:
SERVER_NAME: "My Kibana"
XPACK_MONITORING_ENABLED: "false"
XPACK_SECURITY_ENABLED: "false"
ELASTICSEARCH_USERNAME: ""
ELASTICSEARCH_PASSWORD: ""
SERVER_PORT: "5601"
ELASTICSEARCH_URL: http://10.0.5.10:9200
When I run this my logs show:
{"type":"log","@timestamp":"2017-09-19T11:30:56Z",
"tags":["warning","config"],"pid":1,
"message":"Settings for \"elasticsearch\" were not applied, check for spelling errors and ensure the plugin is loaded."}
{"type":"log","@timestamp":"2017-09-19T11:30:56Z",
"tags":["warning","config"],"pid":1,
"message":"Settings for \"xpack\" were not applied, check for spelling errors and ensure the plugin is loaded."}
{"type":"log","@timestamp":"2017-09-19T11:30:56Z",
"tags":["listening","info"],"pid":1,
"message":"Server running at http://localhost:5601"}
{"type":"log","@timestamp":"2017-09-19T11:30:56Z",
"tags":["status","ui settings","error"],"pid":1,"state":"red",
"message":"Status changed from uninitialized to red - UI Settings requires the elasticsearch plugin","prevState":"uninitialized","prevMsg":"uninitialized"}
When I visit the web app I get:
{
"statusCode": 404,
"error": "Not Found",
"message": "Unknown app kibana"
}
I can't find many references to these error messages.
Per Running Kibana on Docker | Kibana User Guide [5.6] | Elastic
X-Pack is pre-installed in this image. With X-Pack installed, Kibana expects to connect to an Elasticsearch cluster that is also running X-Pack.
But I'd hoped I could disable it. In any case, I'm not sure if this is pertinent to the first log error message.
Am I doing something wrong? Should I expect Kibana actually run on Docker out of the box without Xpack?