摘要: 参考:https://mp.weixin.qq.com/s/iiFMwD0thp3SDooRGhtWgA 我们都知道,消息从生产端到消费端消费要经过3个步骤: 1、生产端发送消息到RabbitMQ; 2、RabbitMQ发送消息到消费端; 3、消费端消费这条消息; 这3个步骤中的每一步都有可能导致消 阅读全文
posted @ 2021-12-27 17:49 炫舞风中 阅读(123) 评论(0) 推荐(0) 编辑
摘要: input { elasticsearch { hosts => "127.0.0.1:9200" index => "building" size => 5000 scroll => "5m" docinfo => true } } filter { } output { elasticsearc 阅读全文
posted @ 2021-12-27 11:22 炫舞风中 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 一、问题出现 最近在做项目中,需要把项目中的日志信息通过logstash将规定格式的消息发送到elasticsearch中,在日志的配置文件(logback-spring.xml)中我们需要加入logstash的配置信息,我们的logstash信息存在Nacos的配置中心,就出现项目启动无法获取到l 阅读全文
posted @ 2021-12-27 11:15 炫舞风中 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/clis/p/12724239.html 阅读全文
posted @ 2021-12-27 11:06 炫舞风中 阅读(420) 评论(0) 推荐(0) 编辑