当前位置:网站首页 > 更多 > 涨姿势 > 正文

[大数据] logstash

作者:CC下载站 日期:2021-03-16 12:12:00 浏览:88 分类:涨姿势

1
2
3
4
5
6
7
8
# install logstash
yum install -y java-1.8.0-openjdk.x86_64 wget vim
wget https://artifacts.elastic.co/downloads/logstash/logstash-7.0.0.tar.gz
tar -xzvf logstash-7.0.0.tar.gz
mv logstash-7.0.0 /usr/local/logstash
echo "LOGSTASH_HOME=/usr/local/logstash" >> ~/.bashrc
echo "PATH=$LOGSTASH_HOME/bin:$PATH" >> ~/.bashrc
source ~/.bashrc

grok语法

https://github.com/logstash-plugins/logstash-patterns-core/tree/master/patterns

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯