Skip to content

Instantly share code, notes, and snippets.

@gwmoura
Created September 8, 2016 00:41
Show Gist options
  • Save gwmoura/54d6dcb72adefb9b6fc618aadd765971 to your computer and use it in GitHub Desktop.
Save gwmoura/54d6dcb72adefb9b6fc618aadd765971 to your computer and use it in GitHub Desktop.
# elastic search
cd ~/elasticsearch
sudo docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data -p 9200:9200 -p 9300:9300 --name tsuru_elasticsearch elasticsearch
# logstash
sudo docker run -d -p 1984:1984/udp --name tsuru_logstash logstash -e "$(curl -s https://gist.githubusercontent.com/gwmoura/d28f6c34822a9c15a1a2b33f8eb3aa58/raw/de593ac506e3c8c3acb243d29add1a5256827a74/logstash.conf)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment