
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/*/*.log output.logstash: hosts: ["192.168.1.110:5044"] 2. 启动filebeat docker run -v /d/usr/sh原创 2020-05-27 16:08:28 · 2849 阅读 · 0 评论 -
win10下ruby入门学习
学习背景:在使用logstash过程中,需要使用filter下的ruby插件 一、安装ruby 1. 下载ruby,下载链接:https://rubyinstaller.org/downloads/ 2. 执行安装文件,安装ruby,安装目录修改为E盘,其他默认 3. 查看结果 ruby -v 二、交互式 Ruby(IRb) 1. 打开cmd命令窗口,依次执行如下命令 irb def hello out = "hello world" puts out end nil hel原创 2020-05-21 13:40:57 · 397 阅读 · 0 评论