Logstash installation

1. Reference Documents

https://doc.yonyoucloud.com/doc/logstash-best-practice-cn/index.html

2. parameters and configuration

-e: execute command line parameter to start configuration example; ./ bin / logstash -e 'stdin INPUT {{Output} {} {}} stdout' 

-f: Start instance via the configuration file; ./bin/logstash -f config / logstash.conf 

-t: test profile correctness; ./bin/logstash -f config / logstash.conf -t 

the -l: after starting the instance, specify the print log file directory; ./bin/logstash-f config / -l logs logstash.conf / logstash.log 

-w: filter specified number of threads, the default is 5; ./bin/logstash-f config / logstash.conf -w 8


Guess you like

Origin blog.51cto.com/11726705/2423117