Run update.sh
This commit is contained in:
parent
84f4e1c14e
commit
b2a16bd7dc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue