-
-
Save harobed/5e05941354d0f491c33eea526ecb6851 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker-compose up -d kibana | |
Creating elk_kibana_1 | |
$ docker-compose logs -f elasticsearch | |
Attaching to elk_elasticsearch_1 | |
elasticsearch_1 | [2017-03-30T17:51:10,502][INFO ][o.e.n.Node ] [] initializing ... | |
elasticsearch_1 | [2017-03-30T17:51:10,611][INFO ][o.e.e.NodeEnvironment ] [B0cNK1e] using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/sda3)]], net usable_space [19.8gb], net total_space [37.1gb], spins? [possibly], types [ext4] | |
elasticsearch_1 | [2017-03-30T17:51:10,612][INFO ][o.e.e.NodeEnvironment ] [B0cNK1e] heap size [503.6mb], compressed ordinary object pointers [true] | |
elasticsearch_1 | [2017-03-30T17:51:10,614][INFO ][o.e.n.Node ] node name [B0cNK1e] derived from node ID [B0cNK1erSc6vHerwVObk-Q]; set [node.name] to override | |
elasticsearch_1 | [2017-03-30T17:51:10,618][INFO ][o.e.n.Node ] version[5.2.2], pid[1], build[f9d9b74/2017-02-24T17:26:45.835Z], OS[Linux/4.9.0-0.bpo.2-amd64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_121/25.121-b13] | |
elasticsearch_1 | [2017-03-30T17:51:12,240][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [aggs-matrix-stats] | |
elasticsearch_1 | [2017-03-30T17:51:12,240][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [ingest-common] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [lang-expression] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [lang-groovy] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [lang-mustache] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [lang-painless] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [percolator] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [reindex] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [transport-netty3] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [transport-netty4] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] no plugins loaded | |
elasticsearch_1 | [2017-03-30T17:51:12,520][WARN ][o.e.d.s.g.GroovyScriptEngineService] [groovy] scripts are deprecated, use [painless] scripts instead | |
elasticsearch_1 | [2017-03-30T17:51:16,112][INFO ][o.e.n.Node ] initialized | |
elasticsearch_1 | [2017-03-30T17:51:16,114][INFO ][o.e.n.Node ] [B0cNK1e] starting ... | |
elasticsearch_1 | [2017-03-30T17:51:16,387][WARN ][i.n.u.i.MacAddressUtil ] Failed to find a usable hardware address from the network interfaces; using random bytes: 28:d5:20:52:8b:08:32:fb | |
elasticsearch_1 | [2017-03-30T17:51:16,555][INFO ][o.e.t.TransportService ] [B0cNK1e] publish_address {172.18.0.2:9300}, bound_addresses {[::]:9300} | |
elasticsearch_1 | [2017-03-30T17:51:16,561][INFO ][o.e.b.BootstrapChecks ] [B0cNK1e] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks | |
elasticsearch_1 | [2017-03-30T17:51:19,722][INFO ][o.e.c.s.ClusterService ] [B0cNK1e] new_master {B0cNK1e}{B0cNK1erSc6vHerwVObk-Q}{EBUXZN5QTqinXtIMnSO6bg}{172.18.0.2}{172.18.0.2:9300}, reason: zen-disco-elected-as-master ([0] nodes joined) | |
elasticsearch_1 | [2017-03-30T17:51:19,778][INFO ][o.e.h.HttpServer ] [B0cNK1e] publish_address {172.18.0.2:9200}, bound_addresses {[::]:9200} | |
elasticsearch_1 | [2017-03-30T17:51:19,781][INFO ][o.e.n.Node ] [B0cNK1e] started | |
elasticsearch_1 | [2017-03-30T17:51:19,811][INFO ][o.e.g.GatewayService ] [B0cNK1e] recovered [0] indices into cluster_state | |
elasticsearch_1 | [2017-03-30T17:56:41,773][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [buildNum] | |
elasticsearch_1 | [2017-03-30T17:56:41,803][INFO ][o.e.c.m.MetaDataCreateIndexService] [B0cNK1e] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [server, config] | |
elasticsearch_1 | [2017-03-30T17:57:15,126][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [title] | |
elasticsearch_1 | [2017-03-30T17:57:15,145][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [timeFieldName] | |
elasticsearch_1 | [2017-03-30T17:57:15,152][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [intervalName] | |
elasticsearch_1 | [2017-03-30T17:57:15,157][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [fields] | |
elasticsearch_1 | [2017-03-30T17:57:15,160][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [sourceFilters] | |
elasticsearch_1 | [2017-03-30T17:57:15,160][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [fieldFormatMap] | |
elasticsearch_1 | [2017-03-30T17:57:15,177][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [title] | |
elasticsearch_1 | [2017-03-30T17:57:15,177][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [timeFieldName] | |
elasticsearch_1 | [2017-03-30T17:57:15,178][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [intervalName] | |
elasticsearch_1 | [2017-03-30T17:57:15,189][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [fields] | |
elasticsearch_1 | [2017-03-30T17:57:15,190][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [sourceFilters] | |
elasticsearch_1 | [2017-03-30T17:57:15,191][WARN ][o.e.d.i.m.StringFieldMapper$TypeParser] The [string] field is deprecated, please use [text] or [keyword] instead on [fieldFormatMap] | |
elasticsearch_1 | [2017-03-30T17:57:15,193][INFO ][o.e.c.m.MetaDataMappingService] [B0cNK1e] [.kibana/an74FCZMRKSpF2Fyg1Dryw] create_mapping [index-pattern] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker-compose logs -f elasticsearch | |
Attaching to elk_elasticsearch_1 | |
elasticsearch_1 | [2017-03-30T17:51:10,502][INFO ][o.e.n.Node ] [] initializing ... | |
elasticsearch_1 | [2017-03-30T17:51:10,611][INFO ][o.e.e.NodeEnvironment ] [B0cNK1e] using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/sda3)]], net usable_space [19.8gb], net total_space [37.1gb], spins? [possibly], types [ext4] | |
elasticsearch_1 | [2017-03-30T17:51:10,612][INFO ][o.e.e.NodeEnvironment ] [B0cNK1e] heap size [503.6mb], compressed ordinary object pointers [true] | |
elasticsearch_1 | [2017-03-30T17:51:10,614][INFO ][o.e.n.Node ] node name [B0cNK1e] derived from node ID [B0cNK1erSc6vHerwVObk-Q]; set [node.name] to override | |
elasticsearch_1 | [2017-03-30T17:51:10,618][INFO ][o.e.n.Node ] version[5.2.2], pid[1], build[f9d9b74/2017-02-24T17:26:45.835Z], OS[Linux/4.9.0-0.bpo.2-amd64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_121/25.121-b13] | |
elasticsearch_1 | [2017-03-30T17:51:12,240][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [aggs-matrix-stats] | |
elasticsearch_1 | [2017-03-30T17:51:12,240][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [ingest-common] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [lang-expression] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [lang-groovy] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [lang-mustache] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [lang-painless] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [percolator] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [reindex] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [transport-netty3] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] loaded module [transport-netty4] | |
elasticsearch_1 | [2017-03-30T17:51:12,241][INFO ][o.e.p.PluginsService ] [B0cNK1e] no plugins loaded | |
elasticsearch_1 | [2017-03-30T17:51:12,520][WARN ][o.e.d.s.g.GroovyScriptEngineService] [groovy] scripts are deprecated, use [painless] scripts instead | |
elasticsearch_1 | [2017-03-30T17:51:16,112][INFO ][o.e.n.Node ] initialized | |
elasticsearch_1 | [2017-03-30T17:51:16,114][INFO ][o.e.n.Node ] [B0cNK1e] starting ... | |
elasticsearch_1 | [2017-03-30T17:51:16,387][WARN ][i.n.u.i.MacAddressUtil ] Failed to find a usable hardware address from the network interfaces; using random bytes: 28:d5:20:52:8b:08:32:fb | |
elasticsearch_1 | [2017-03-30T17:51:16,555][INFO ][o.e.t.TransportService ] [B0cNK1e] publish_address {172.18.0.2:9300}, bound_addresses {[::]:9300} | |
elasticsearch_1 | [2017-03-30T17:51:16,561][INFO ][o.e.b.BootstrapChecks ] [B0cNK1e] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks | |
elasticsearch_1 | [2017-03-30T17:51:19,722][INFO ][o.e.c.s.ClusterService ] [B0cNK1e] new_master {B0cNK1e}{B0cNK1erSc6vHerwVObk-Q}{EBUXZN5QTqinXtIMnSO6bg}{172.18.0.2}{172.18.0.2:9300}, reason: zen-disco-elected-as-master ([0] nodes joined) | |
elasticsearch_1 | [2017-03-30T17:51:19,778][INFO ][o.e.h.HttpServer ] [B0cNK1e] publish_address {172.18.0.2:9200}, bound_addresses {[::]:9200} | |
elasticsearch_1 | [2017-03-30T17:51:19,781][INFO ][o.e.n.Node ] [B0cNK1e] started | |
elasticsearch_1 | [2017-03-30T17:51:19,811][INFO ][o.e.g.GatewayService ] [B0cNK1e] recovered [0] indices into cluster_state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
elasticsearch: | |
image: elasticsearch:5.2.2 | |
restart: unless-stopped | |
volumes: | |
- ./es-data/:/usr/share/elasticsearch/data | |
- ./es-config/:/usr/share/elasticsearch/config/ | |
ports: | |
- 127.0.0.1:9200:9200 | |
environment: | |
- cluster.name=logging-cluster | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
cap_add: | |
- IPC_LOCK | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
nofile: | |
soft: 65536 | |
hard: 65536 | |
mem_limit: 1g | |
networks: | |
- elk | |
kibana: | |
image: kibana:5.2.2 | |
restart: unless-stopped | |
ports: | |
- 5601:5601 | |
networks: | |
- elk | |
logstash: | |
image: logstash:5.2.2 | |
command: -f /usr/share/logstash/config/ | |
restart: unless-stopped | |
environment: | |
- "ES_JAVA_OPTS=-Xms100m -Xmx312m" | |
ports: | |
- 127.0.0.1:5043:5043 | |
volumes: | |
- ./logstash-config/:/usr/share/logstash/config/ | |
networks: | |
- elk | |
curator: | |
image: harobed/curator-cron | |
restart: unless-stopped | |
volumes: | |
- ./curator-config/:/config/ | |
networks: | |
- elk | |
networks: | |
elk: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment