logstash


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


文章作者: fightinggg
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 fightinggg !
  目录