随笔分类 -  Elastic Stack

Elastic Stack
摘要:日志管理模式 1、不同微服务把日志写入到kafaka集权,logstash拉取日志信息到es。kibana索引日志。 2、我们将使用Logstash追加程序将日志消息写入主机上的文件。 Filebeat代理将监视日志文件,并将日志信息提取到Logstash群集。 对比 如果系统具有自动缩放功能的高度 阅读全文
posted @ 2020-06-26 23:44 西伯利亚的狼 阅读(1283) 评论(0) 推荐(0) 编辑
摘要:#使用分层表单来设置管道的批处理大小和批处理延迟 pipeline: batch: size: 125 #管道批处理大小 delay: 5 #管道批处理延迟 #若要表示与平面键相同的值: pipeline.batch.size: 125 pipeline.batch.delay: 5 #节点名称,在 阅读全文
posted @ 2020-05-29 00:20 西伯利亚的狼 阅读(2192) 评论(0) 推荐(0) 编辑
摘要:1、官方文档 这些重要配置说明,请参考官方文档:https://www.elastic.co/guide/en/elasticsearch/reference/7.x/important-settings.html 2、参数说明 2.1 path.data和path.logs If you are 阅读全文
posted @ 2020-05-23 22:28 西伯利亚的狼 阅读(706) 评论(0) 推荐(0) 编辑
摘要:一、安装 https://www.cnblogs.com/wudequn/p/11001382.html https://github.com/medcl/elasticsearch-analysis-ik/(官方文档) 二、配置 IKAnalyzer.cfg.xml 这个是配置文件,其他的都是自带 阅读全文
posted @ 2019-08-03 15:25 西伯利亚的狼 阅读(1567) 评论(0) 推荐(0) 编辑
摘要:logstash配置 官方文档:https://www.elastic.co/guide/en/logstash/current/index.html https://www.cnblogs.com/wudequn/p/12983887.html 在config/logstash.yml中 http 阅读全文
posted @ 2019-07-14 17:20 西伯利亚的狼 阅读(729) 评论(0) 推荐(0) 编辑
摘要:学习网站 https://discuss.elastic.co https://github.com/elastic 配置 server.port: 5601 server.host: "localhost" elasticsearch.hosts: ["http://localhost:9200" 阅读全文
posted @ 2019-07-14 16:16 西伯利亚的狼 阅读(315) 评论(0) 推荐(0) 编辑
摘要:跨域 elasticsearch-head连接es时会提示连接失败,有可能就是没有开启跨域 http.cors.enabled 是否支持跨域,默认为false http.cors.allow-origin 当设置允许跨域,默认为*,表示支持所有域名,如果我们只是允许某些网站能访问,那么可以使用正则表 阅读全文
posted @ 2019-07-14 14:52 西伯利亚的狼 阅读(2883) 评论(0) 推荐(0) 编辑