Last active
January 26, 2019 16:21
-
-
Save celsoagra/25adfa1ea5a7a08d032cb010fb1d9fb1 to your computer and use it in GitHub Desktop.
Iniciando a pilha do ELK (docker)
This file contains hidden or 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 run -d --name elastic -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "xpack.security.enabled=true" -e "discovery.type=single-node" elasticsearch:6.5.0 | |
docker run -d --name kibana -p 5601:5601 --link elasticsearch:elasticsearch -e "ELASTICSEARCH_URL=http://elasticsearch:9200" -e "XPACK_SECURITY_ENABLED=true" -e "ELASTICSEARCH_USERNAME=elastic" -e "ELASTICSEARCH_PASSWD=changeme" -e XPACK_GRAPH_ENABLED=true -e XPACK_WATCHER_ENABLED=true -e XPACK_ML_ENABLED=true -e XPACK_MONITORING_ENABLED=true -e XPACK_MONITORING_UI_CONTAINER_ELASTICSEARCH_ENABLED kibana:6.4.1 | |
docker run -d --name logstash --link elasticsearch:elasticsearch -e "XPACK.MONITORING.ELASTICSEARCH.URL=http://elasticsearch:9200" logstash:6.5.1 | |
docker run -d --name elastichq --link elasticsearch:elasticsearch -p 5000:5000 elastichq/elasticsearch-hq:release-v3.5.0 | |
curl -s -H "Content-Type: application/json" -XPOST http://localhost:9200/info/info/1 -d @fakedata.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment