暂不排版,后面整理。
logstash 使用配置文件
在bin目录下创建一个名为test.conf的文件,内容为:
input {
stdin {}
}
output {
stdout{}
执行命令: logstash -f test.conf