logstash
&捕风的汉子&
这个作者很懒,什么都没留下…
展开
-
logstash的logstash-output-jdbc插件安装
突然来的一个需求,将日志文件中json串的内容写入到数据库中,作为一个偷懒coder,第一个时间想到就是偷懒的做法:将logstash扫描的结果直接输入到mysql库表中。关于logstash的安装就不再详述,后面如果写安装的介绍时再回头补充链接,我安装的logstash版本是5.6.6。从google上查了下logstash关于mysql的output插件:https://github....原创 2018-08-02 17:52:54 · 9956 阅读 · 10 评论 -
关于logstash的坑,求解
这两天出现一个小事故,是logstash读取文件信息输出到kafka,因为topic没有创建,而导致所有的topic都没有数据。先将配置文件列出来。 input { file { path => "/data/xx/log/xsec_anti_cheat_d/xsec_anti_cheat_d.log" start_position => "end" sincedb...原创 2019-09-29 16:18:18 · 1246 阅读 · 0 评论