From 746ffe56cbd914b613e01f8921799554518f2fe8 Mon Sep 17 00:00:00 2001 From: Eran Chetz Date: Mon, 20 Apr 2015 17:18:54 +0300 Subject: [PATCH 1/2] Fix run command --- logstash/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logstash/README.md b/logstash/README.md index 293e8d144..0e354fb55 100644 --- a/logstash/README.md +++ b/logstash/README.md @@ -24,7 +24,7 @@ If you need to run logstash with configuration provided on the commandline, you If you need to run logstash with a configuration file, `logstash.conf`, that's located in your current directory, you can use the logstash image as follows: - docker run -it --rm $(pwd):/config-dir logstash logstash -f /config-dir/logstash.conf + docker run -it --rm -v $(pwd):/config-dir logstash logstash -f /config-dir/logstash.conf # License From 6e1a5c8cee26a89d6bbaf4d19d6b1179ca225e06 Mon Sep 17 00:00:00 2001 From: Eran Chetz Date: Mon, 20 Apr 2015 21:19:17 +0300 Subject: [PATCH 2/2] fix docker run command --- logstash/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logstash/content.md b/logstash/content.md index 27c5dcfe9..bcaf90ffe 100644 --- a/logstash/content.md +++ b/logstash/content.md @@ -18,4 +18,4 @@ If you need to run logstash with configuration provided on the commandline, you If you need to run logstash with a configuration file, `logstash.conf`, that's located in your current directory, you can use the logstash image as follows: - docker run -it --rm $(pwd):/config-dir logstash logstash -f /config-dir/logstash.conf + docker run -it --rm -v $(pwd):/config-dir logstash logstash -f /config-dir/logstash.conf