![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ruby
文章平均质量分 75
禅剑一如
这个作者很懒,什么都没留下…
展开
-
logstash匹配filebeat传递的log.file.path
一、filebeat容器1. d:/usr2/local/etc/filebeat/目录下filebeat.yml文件配置filebeat.inputs:- type: log enabled: true paths: - /usr/share/filebeat/log/apps/*/*.logoutput.logstash: hosts: ["192.168.1.110:5044"]2. 启动filebeatdocker run -v /d/usr/sh原创 2020-05-27 16:08:28 · 2683 阅读 · 0 评论 -
win10下ruby入门学习
学习背景:在使用logstash过程中,需要使用filter下的ruby插件一、安装ruby1. 下载ruby,下载链接:https://rubyinstaller.org/downloads/2. 执行安装文件,安装ruby,安装目录修改为E盘,其他默认3. 查看结果ruby -v二、交互式 Ruby(IRb)1. 打开cmd命令窗口,依次执行如下命令irbdef helloout = "hello world"puts outendnilhel原创 2020-05-21 13:40:57 · 348 阅读 · 0 评论