标签:logstash安装
一、检查环境
#logstash的运行需要java支持 [root@elk-search1 ~]# java -version java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
二、安装包直接解压就能运行
[root@elk-search1 ~]# tar xf logstash-1.5.5.tar.gz -C /usr/local/ #测试能否启动 [root@elk-search1 ~]# /usr/local/logstash-1.5.5/bin/logstash -e "input{stdin{}}output{stdout{}}" Logstash startup completed hello ELK 2016-03-21T06:24:11.802Z 0.0.0.0 hello ELK docker 2016-03-21T06:24:14.346Z 0.0.0.0 docker
本文出自 “ly36843运维” 博客,请务必保留此出处http://ly36843.blog.51cto.com/3120113/1753475
标签:logstash安装
原文地址:http://ly36843.blog.51cto.com/3120113/1753475