elasticsearch apm-server logstash kibana
docker-compose up -d
Give Kibana a few seconds to initialize, then access the Kibana web UI by hitting http://localhost:5601 with a web browser and use the aforementioned credentials to login.
By default, the stack exposes the following ports:
- 5000: Logstash TCP input.
- 9200: Elasticsearch HTTP
- 9300: Elasticsearch TCP transport
- 5601: Kibana
Go to localhost:5601
, or what your machine IP
Wait for kibana to be available, then you are ready to try apm
To delete older indexes using curator set up a cron or Jenkins job that runs docker-compose run --rm curator --config config.yml action-file.yml
-
docker elastic: https://www.docker.elastic.co/
-
elasticsearch
- image:
docker pull docker.elastic.co/elasticsearch/elasticsearch:6.5.1
- github: https://github.com/elastic/elasticsearch
- docker: https://www.elastic.co/guide/en/elasticsearch/reference/6.0/docker.html
- vm.max_map_count: docker-library/elasticsearch#111 (comment)
$ grep vm.max_map_count /etc/sysctl.conf vm.max_map_count=262144 $ sysctl -w vm.max_map_count=262144
- image:
-
apm-server
- image:
docker pull docker.elastic.co/apm/apm-server:6.5.1
- github: https://github.com/elastic/apm-server
- docker: https://www.elastic.co/guide/en/apm/server/current/running-on-docker.html
- config: https://github.com/elastic/apm-server/blob/master/apm-server.reference.yml
- image:
-
kibana
- image:
docker pull docker.elastic.co/kibana/kibana:6.5.1
- github: https://github.com/elastic/kibana
- docker: https://www.elastic.co/guide/en/kibana/6.0/docker.html
- image:
-
apm agent