Skip to content

Commit 3664759

Browse files
committed
Update README.md
1 parent 0803985 commit 3664759

File tree

1 file changed

+4
-37
lines changed

1 file changed

+4
-37
lines changed

README.md

Lines changed: 4 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,6 @@
11
# Logstash Dockerfile
22

3-
This is a highly configurable logstash (1.4.2) image running Elasticsearch (1.1.1) and Kibana 3 (3.0.1).
4-
5-
## How to use this image
6-
7-
To run the image, you have to first decide on one of three Elasticsearch configurations:
8-
9-
* Use the embedded Elasticsearch server
10-
* Use a linked container running Elasticsearch
11-
* Use an external Elasticsearch server
12-
13-
### Embedded Elasticsearch server
14-
15-
To fetch and start a container using an example [logstash.conf][2] and the embedded Elasticsearch server, simply execute:
16-
17-
$ docker run -d \
18-
-p 9292:9292 \
19-
-p 9200:9200 \
20-
pblittle/docker-logstash
21-
22-
By default, an example [logstash.conf][2] will be downloaded using `wget`, moved to `/opt/logstash.conf`, and used in your container.
23-
24-
To use your own config file, set the `LOGSTASH_CONFIG_URL` environment variable using the `-e` flag as follows:
25-
26-
$ docker run -d \
27-
-e LOGSTASH_CONFIG_URL=<your_logstash_config_url> \
28-
-p 9292:9292 \
29-
-p 9200:9200 \
30-
pblittle/docker-logstash
3+
This is a highly configurable logstash (1.4.2) image.
314

325
### Linked container running Elasticsearch
336

@@ -37,8 +10,7 @@ If you want to link to container running Elasticsearch rather than use the embed
3710
-e LOGSTASH_CONFIG_URL=<your_logstash_config_url> \
3811
--link <your_es_container_name>:es \
3912
-p 9292:9292 \
40-
-p 9200:9200 \
41-
pblittle/docker-logstash
13+
captnbp/docker-logstash
4214

4315
To have the linked Elasticsearch container's `bind_host` and `port` automatically detected, you will need to create an `ES_HOST` and `ES_PORT` placeholder in the `elasticsearch` definition in your logstash config file. For example:
4416

@@ -58,8 +30,7 @@ If you are using an external Elasticsearch server rather than the embedded serve
5830
$ docker run -d \
5931
-e LOGSTASH_CONFIG_URL=<your_logstash_config_url> \
6032
-p 9292:9292 \
61-
-p 9200:9200 \
62-
pblittle/docker-logstash
33+
captnbp/docker-logstash
6334

6435
### Finally, verify the installation
6536

@@ -71,7 +42,7 @@ You can now verify the logstash installation by visiting the prebuilt logstash d
7142

7243
If you prefer to build from source rather than use the [pblittle/docker-logstash][1] trusted build published to the public Docker Registry, execute the following:
7344

74-
$ git clone https://github.com/pblittle/docker-logstash.git
45+
$ git clone https://github.com/captnbp/docker-logstash.git
7546
$ cd docker-logstash
7647

7748
If you are using Vagrant, start and provision a virtual machine using the provided Vagrantfile:
@@ -87,10 +58,6 @@ From there, build and run a container using the newly created virtual machine:
8758

8859
You can now verify the logstash installation by visiting the [prebuilt logstash dashboard][3] running in the newly created container.
8960

90-
## Acknowledgements
91-
92-
Special shoutout to @ehazlett's excellent post, [Logstash and Kibana3 via Docker][4].
93-
9461
## Contributing
9562

9663
1. Fork it

0 commit comments

Comments
 (0)