A, Logstash installation
1. Download the latest version of logstash: https://www.elastic.co/fr/downloads/logstash
Download the zip archive format and then extract the zoom to disk root directory (the directory do not have Chinese and spaces and so on, to avoid trouble).
2. Prepare the configuration
Enter logstash \ bin directory.
Creating logstash.conf file:
input {
stdin {
}
}
output {
stdout {
}
}
3. Start running
Enter logstash \ bin directory on the command line, enter the command:
logstash -f logstash.conf
Enter the start logstash.
Successful launch (pictured above), you can finally see, logstash is listening port is 9600.
In the browser input: http://127.0.0.1:9600/
As shown above, the operation can be seen that the logstash.