Browse Source

Run update.sh

Docker Library Bot 9 years ago
parent
commit
b2a16bd7dc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      logstash/README.md

+ 2 - 2
logstash/README.md

@@ -26,7 +26,7 @@ Logstash is a tool that can be used to collect, process and forward events and l
 If you need to run logstash with configuration provided on the commandline, you can use the logstash image as follows:
 
 ```console
-$ docker run -it --rm logstash logstash -e 'input { stdin { } } output { stdout { } }'
+$ docker run -it --rm logstash -e 'input { stdin { } } output { stdout { } }'
 ```
 
 ## Start Logstash with configuration file
@@ -34,7 +34,7 @@ $ docker run -it --rm logstash logstash -e 'input { stdin { } } output { stdout
 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:
 
 ```console
-$ docker run -it --rm -v "$PWD":/config-dir logstash logstash -f /config-dir/logstash.conf
+$ docker run -it --rm -v "$PWD":/config-dir logstash -f /config-dir/logstash.conf
 ```
 
 # License