初始化提交
This commit is contained in:
30
filebast/安装配置命令
Normal file
30
filebast/安装配置命令
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
out-crawler-host
|
||||
|
||||
|
||||
yum -y localinstall filebeat-8.17.0-x86_64.rpm
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cd /etc/filebeat
|
||||
mv filebeat.yml filebeat.yml.bak
|
||||
mkdir inputs.d
|
||||
|
||||
|
||||
vim filebeat.yml
|
||||
|
||||
vim inputs.d/yt_search_crawler.yml
|
||||
|
||||
filebeat test config
|
||||
filebeat test output
|
||||
|
||||
systemctl stop filebeat.service
|
||||
systemctl start filebeat.service
|
||||
systemctl status filebeat.service
|
||||
systemctl enable filebeat.service
|
||||
|
||||
journalctl -u filebeat -f
|
||||
|
||||
Reference in New Issue
Block a user