博客园 首页 私信博主 显示目录 隐藏目录 管理
摘要: metricbeat采集系统指标,发送到logstash,再写入kafka,发现kafka中的数据不完整,只有某一个指标, 查找原因发现是logstash配置编码问题,如下: input { beats { port => 5044 } } output { kafka { bootstrap_se 阅读全文
posted @ 2020-03-04 09:44 MrSharp 阅读(1093) 评论(0) 推荐(0)
摘要: linux启动服务,外网访问不到对应端口时,十有八九是因为防火墙没有关,关闭方法: 1.暂时关闭防火墙 service iptables stop 2.永久关闭 chkconfig iptables off 查看自启动状态列表 on chkconfig iptables --list 阅读全文
posted @ 2020-03-04 09:32 MrSharp 阅读(229) 评论(0) 推荐(0)
摘要: 在pom.xml文件中增加build配置 1 <build> 2 <plugins> 3 <plugin> 4 <artifactId>maven-assembly-plugin</artifactId> 5 <configuration> 6 <descriptorRefs> 7 <descrip 阅读全文
posted @ 2020-03-04 09:26 MrSharp 阅读(5377) 评论(0) 推荐(0)