基于之前的配置。
已经连好了es,kibana.
LOGSTASH到底怎么使用?
最简的方法.就是直接命令行操作输入和输出.
C:\Users\Administrator>D:\es\logstash-5.4.1\logstash-5.4.1\bin\logstash -e 'inpu
t{stdin{}} output{stdout{}}'
Sending Logstash's logs to D:/es/logstash-5.4.1/logstash-5.4.1/logs which is now
configured via log4j2.properties
[2018-02-04T04:49:23,558][INFO ][logstash.pipeline ] Starting pipeline {"
id"=>"main", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipeline.batch.
delay"=>5, "pipeline.max_inflight"=>250}
[2018-02-04T04:49:23,605][INFO ][logstash.pipeline ] Pipeline main starte
d
The stdin plugin is now waiting for input:
[2018-02-04T04:49:23,730][INFO ][logstash.agent ] Successfully started
Logstash API endpoint {:port=>9600}
test you name arpenker!
2018-02-03T20:50:16.107Z iZ94hfcf8jiZ test you name arpenker!
what 's for you.
2018-02-03T20:52:15.481Z iZ94hfcf8jiZ what 's for you.
logstash直接单机运行
猜你喜欢
转载自arpenker.iteye.com/blog/2410170
今日推荐
周排行