一、下载logstash
从官网下载logstash,官网下载


二、启动配置
1、解压logstash
D:\install\logstash-7.15.2-windows-x86_64\logstash-7.15.2
2、进入bin目录,新建文件logstash_default.conf
input {
stdin{
}
}
output {
stdout{
}
}
3、在bin目录,新文件文件run_default.bat
logstash -f logstash_default.conf

三、运行启动logstash
点击run_default.bat
,启动logstash,浏览器访问http://localhost:9600/
,表示启动成功。

网友评论