Skip to content

Instantly share code, notes, and snippets.

@vjm
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vjm/150f4ac913195b8ca44a to your computer and use it in GitHub Desktop.
Save vjm/150f4ac913195b8ca44a to your computer and use it in GitHub Desktop.
Elk Stack Setup on Ubuntu

#Ubuntu Setup

curl -sSL https://gist.githubusercontent.com/vjm/150f4ac913195b8ca44a/raw/install.sh | sudo sh

description "ELK stack container"
author "Vince Montalbano"
start on filesystem and started docker
stop on runlevel [!2345]
respawn
script
/usr/bin/docker start -a elk_stack
end script
docker create -v /media/data1:/data1 -p 5601:5601 -p 9200:9200 -p 9998:9998 --name elk_stack vjm03/elk
start elk_stack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment