docker-elk: Error: No config files found
I’m trying to run this docker compose as is, without changing anything, and it fails with the following error:
logstash_1 | {:timestamp=>"2016-08-01T07:57:36.721000+0000", :message=>"No config files found: /etc/logstash/conf.d/logstash.conf\nCan you make sure this path is a logstash config file?", :level=>:error}
The config file exists, and contains the default configuration as per the cloned master branch of this repository.
Here is the full output of docker-compose up:
~/docker-elk$ docker-compose up
Creating dockerelk_elasticsearch_1
Creating dockerelk_logstash_1
Creating dockerelk_kibana_1
Attaching to dockerelk_elasticsearch_1, dockerelk_logstash_1, dockerelk_kibana_1
kibana_1 | Stalling for Elasticsearch
elasticsearch_1 | [2016-08-01 07:57:24,742][WARN ][bootstrap ] unable to install syscall filter: seccomp unavailable: your kernel is buggy and you should upgrade
elasticsearch_1 | [2016-08-01 07:57:25,054][INFO ][node ] [Morlun] version[2.3.4], pid[1], build[e455fd0/2016-06-30T11:24:31Z]
elasticsearch_1 | [2016-08-01 07:57:25,054][INFO ][node ] [Morlun] initializing ...
elasticsearch_1 | [2016-08-01 07:57:25,897][INFO ][plugins ] [Morlun] modules [reindex, lang-expression, lang-groovy], plugins [], sites []
elasticsearch_1 | [2016-08-01 07:57:25,946][INFO ][env ] [Morlun] using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/sda1)]], net usable_space [22.9gb], net total_space [28.4gb], spins? [possibly], types [ext4]
elasticsearch_1 | [2016-08-01 07:57:25,947][INFO ][env ] [Morlun] heap size [1007.3mb], compressed ordinary object pointers [true]
elasticsearch_1 | [2016-08-01 07:57:30,007][INFO ][node ] [Morlun] initialized
elasticsearch_1 | [2016-08-01 07:57:30,007][INFO ][node ] [Morlun] starting ...
elasticsearch_1 | [2016-08-01 07:57:30,283][INFO ][transport ] [Morlun] publish_address {172.17.0.8:9300}, bound_addresses {[::]:9300}
elasticsearch_1 | [2016-08-01 07:57:30,294][INFO ][discovery ] [Morlun] elasticsearch/wMoCsRxwSgGDYQJC5uYE3g
elasticsearch_1 | [2016-08-01 07:57:33,474][INFO ][cluster.service ] [Morlun] new_master {Morlun}{wMoCsRxwSgGDYQJC5uYE3g}{172.17.0.8}{172.17.0.8:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
elasticsearch_1 | [2016-08-01 07:57:33,548][INFO ][http ] [Morlun] publish_address {172.17.0.8:9200}, bound_addresses {[::]:9200}
elasticsearch_1 | [2016-08-01 07:57:33,550][INFO ][node ] [Morlun] started
kibana_1 | Starting Kibana
elasticsearch_1 | [2016-08-01 07:57:33,891][INFO ][gateway ] [Morlun] recovered [0] indices into cluster_state
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["warning","config"],"pid":1,"key":"bundled_plugin_ids","val":["plugins/dashboard/index","plugins/discover/index","plugins/doc/index","plugins/kibana/index","plugins/markdown_vis/index","plugins/metric_vis/index","plugins/settings/index","plugins/table_vis/index","plugins/vis_types/index","plugins/visualize/index"],"message":"Settings for \"bundled_plugin_ids\" were not applied, check for spelling errors and ensure the plugin is loaded."}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["status","plugin:sense","info"],"pid":1,"name":"plugin:sense","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["status","plugin:kibana","info"],"pid":1,"name":"plugin:kibana","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["status","plugin:elasticsearch","info"],"pid":1,"name":"plugin:elasticsearch","state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["status","plugin:kbn_vislib_vis_types","info"],"pid":1,"name":"plugin:kbn_vislib_vis_types","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["status","plugin:markdown_vis","info"],"pid":1,"name":"plugin:markdown_vis","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["status","plugin:metric_vis","info"],"pid":1,"name":"plugin:metric_vis","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["status","plugin:spyModes","info"],"pid":1,"name":"plugin:spyModes","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["status","plugin:statusPage","info"],"pid":1,"name":"plugin:statusPage","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["status","plugin:table_vis","info"],"pid":1,"name":"plugin:table_vis","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:35+00:00","tags":["listening","info"],"pid":1,"message":"Server running at http://0.0.0.0:5601"}
logstash_1 | {:timestamp=>"2016-08-01T07:57:36.721000+0000", :message=>"No config files found: /etc/logstash/conf.d/logstash.conf\nCan you make sure this path is a logstash config file?", :level=>:error}
dockerelk_logstash_1 exited with code 1
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:40+00:00","tags":["status","plugin:elasticsearch","info"],"pid":1,"name":"plugin:elasticsearch","state":"yellow","message":"Status changed from yellow to yellow - No existing Kibana index found","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
elasticsearch_1 | [2016-08-01 07:57:41,141][INFO ][cluster.metadata ] [Morlun] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [config]
elasticsearch_1 | [2016-08-01 07:57:41,345][INFO ][cluster.routing.allocation] [Morlun] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).
kibana_1 | {"type":"log","@timestamp":"2016-08-01T07:57:43+00:00","tags":["status","plugin:elasticsearch","info"],"pid":1,"name":"plugin:elasticsearch","state":"green","message":"Status changed from yellow to green - Kibana index ready","prevState":"yellow","prevMsg":"No existing Kibana index found"}
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 32 (11 by maintainers)
Commits related to this issue
- Merge pull request #59 from timc3/patch-1 DockerFile example had a typo — committed to herpiko/docker-elk by spujadas 8 years ago
Encountering the same issue on Windows 10, the :Z flag does not resolve the issue. Workaround by using this Dockerfile: