forked from pblittle/docker-logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProcfile
More file actions
26 lines (24 loc) · 725 Bytes
/
Copy pathProcfile
File metadata and controls
26 lines (24 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# Usage Notes
# -----------
#
# Install Go
# sudo apt-get install golang
#
# Set GOPATH and PATH
# mkdir $HOME/go
# export GOPATH=$HOME/go
# export PATH=$PATH:$GOPATH/bin
#
# Download the Go implementation of Foreman
# go get github.com/mattn/goreman
#
# Start Logstash with a linked Elasticsearch container
# goreman start
#
# Get your log on
# http://<your_kibana_ip>:9292/index.html#/dashboard/file/logstash.json
# Build the Elasticsearch container you are linking to
elasticsearch: docker run -d --name elasticsearch barnybug/elasticsearch:1.1.1
# Build the Logstash server and link to the new Elasticsearch container
logstash: docker run -d --link elasticsearch:es -p 9292:9292 -p 9200:9200 pblittle/docker-logstash