ELK 搭建6

2022-02-11 16:37:07 浏览数 (2)

但由于ES里没有数据,所以显示不出什么


安装logstash

代码语言:javascript复制
[root@h102 ELK]# rpm -ivh logstash-2.1.1-1.noarch.rpm 
Preparing...                ########################################### [100%]
   1:logstash               ########################################### [100%]
[root@h102 ELK]# echo $?
0
[root@h102 ELK]# 

默认情况下 logstash 被安装到了 /opt/logstash/

代码语言:javascript复制
[root@h102 ~]# ll /opt/logstash/
total 148
drwxr-xr-x 2 logstash logstash  4096 Dec 22 20:25 bin
-rw-rw-r-- 1 logstash logstash 97345 Dec  8 02:04 CHANGELOG.md
-rw-rw-r-- 1 logstash logstash  2249 Dec  8 02:04 CONTRIBUTORS
-rw-rw-r-- 1 logstash logstash  3771 Dec  8 02:04 Gemfile
-rw-rw-r-- 1 logstash logstash 21837 Dec  8 02:04 Gemfile.jruby-1.9.lock
drwxr-xr-x 4 logstash logstash  4096 Dec 22 20:25 lib
-rw-rw-r-- 1 logstash logstash   589 Dec  8 02:04 LICENSE
-rw-rw-r-- 1 logstash logstash   149 Dec  8 02:04 NOTICE.TXT
drwxr-xr-x 4 logstash logstash  4096 Dec 22 20:25 vendor
[root@h102 ~]# tree /opt/logstash/bin/
/opt/logstash/bin/
├── logstash
├── logstash.bat
├── logstash.lib.sh
├── plugin
├── plugin.bat
├── rspec
├── rspec.bat
└── setup.bat

0 directories, 8 files
[root@h102 ~]# 

0 人点赞