Logstash is a platform for application logging, event transfer, processing, management, and search. You can use it to unify the collection management of the application log, providing a WEB interface for querying and statistics.
Logstash Configuration Requirements
Logstash supports Java version 1.7 and above.
Start Logstash
[[email protected] bin]#./logstash-e ' input {stdin {}} ' output {stdout {}} ' Settings:default pipeline Workers:4pipe Line main Started#hello guys!2016-05-23t06:50:01.807z server05.localdomain Hello guys!
The above command is a simple standard input and output pipeline, and the-e identification indicates that a configuration file can be specified on the command line.
The command line outputs output with timestamps and host names.
This article is from the "This person's IT World" blog, be sure to keep this source http://favccxx.blog.51cto.com/2890523/1794860
Check out Logstash