随笔分类 -  data-es

摘要:1 架构设计 对于量很大的数据,需要考虑使用中间件做缓冲层,然后用logstash做数据聚合和处理 CURD //创建文档,自动生成 _id POST users/_doc { "user": "Jack", "post_date": "20202010" } //创建文档,指定id。id存在则报错 阅读全文
posted @ 2020-11-25 10:56 jabbok 阅读(124) 评论(0) 推荐(0)
摘要:下载 https://www.elastic.co/cn/downloads/logstash 基本测试:从命令行测试,input为stdin,output为stdout。启动成功后,在stdin输入内容,stdout会输出内容 bin/logstash -e 'input { stdin { } 阅读全文
posted @ 2020-05-21 10:45 jabbok 阅读(264) 评论(0) 推荐(0)
摘要:注意和es要同版本 我这里是6.5.4,x-pack默认已经安装,所以kibana安装是很简单的 # vim kibana.yml 添加: server.host: "192.168.80.32" elasticsearch.url: "http://192.168.80.32:9200" 启动(r 阅读全文
posted @ 2020-05-16 16:41 jabbok 阅读(160) 评论(0) 推荐(0)
摘要:https://www.elastic.co/guide/en/elasticsearch/reference/6.5/zip-targz.html#zip-targz 修改参数 cat /etc/sysctl.conf vm.max_map_count=262144 # cat /etc/secu 阅读全文
posted @ 2020-05-16 16:01 jabbok 阅读(303) 评论(0) 推荐(0)