February 2017
Intermediate to advanced
526 pages
10h 8m
English
There are various command-line options to use with Logstash. The various command-line options can be viewed using the following command:
bin/logstash --help
This displays various options, which are described here.
To specify the name of Logstash instance:
bin/logstash --node.name NODENAME
To run Logstash using a configuration file or directory containing configuration files, use the following commands:
bin/logstash -f CONFIGPATH
Or use the following command:
bin/logstash --path.config CONFIGPATH
To run Logstash by specifying the configuration directly in the command line, use the following command:
bin/logstash -e "input { stdin { type => stdin } }"
To specify the number of workers to run to process in parallel, ...
Read now
Unlock full access