Logstash介安装
Elasticsearch——Logstash安装
概述
Logstash 是开源的服务器端数据处理管道,能够同时从多个来源采集数据,转换数据,然后将数据发送到您最喜欢的“存储库”中。
官方地址:https://www.elastic.co/cn/products/logstash
下载地址:[https://www.elastic.co/cn/downloads/logstash
yum 安装教程https://www.elastic.co/guide/en/logstash/7.4/installing-logstash.html#_yum
1 | yum install logstash -y |
启动服务
1 | systemctl start logstash.service |
测试数据集
电影数据
https://grouplens.org/datasets/movielens/
使用最小的数据集Small: 100,000 ratings and 3,600 tag applications applied to 9,000 movies by 600 users. Last updated 9/2018
1 | wget http://files.grouplens.org/datasets/movielens/ml-latest-small.zip |
1 | uzip ml-latest-small.zip |
1 | input { |
1 | cd /usr/share/logstash/bin |
参考
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 凉月の博客!
评论