diff --git a/logstash/README.md b/logstash/README.md index 7e880b358..9fabd8597 100644 --- a/logstash/README.md +++ b/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