07 2022 档案
摘要:1.创建索引 PUT http://127.0.0.1:9200/test_index 返回 { "acknowledged": true, "shards_acknowledged": true, "index": "test_index" } 2.增加文档 创建文档 //如果不指定 id,则需要
阅读全文
摘要:使用pretty如: GET /website/blog/123?pretty 或者 PUT http://localhost:9200/colleges?pretty 作用: 在请求的查询串参数中加上 PRETTY 参数,正如前面的例子中看到的,这将会调用 ELASTICSEARCH 的 PRET
阅读全文
摘要:1. 依赖 <!-- kafka client --> <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> </dependency> 2. 配置文件配置kaf
阅读全文
摘要:elasticsearch-head是elasticsearch的可视化工具 在mac下安装elasticsearch-head 1. elasticsearch-head依赖node grunt,先安装node brew install node 安装成功后使用node -v验证 v18.0.0
阅读全文
摘要:1. 下载了安装包elasticsearch-8.3.2-linux-x86_64.tar tar -xf后启动报warning : ignoring JAVA_HOME=/usr/lib/jdk8/jdk1.8.0_251; using bundled JDK 原因大概是e8不支持java8 2.
阅读全文
摘要:from:https://www.cnblogs.com/GO-NO-1/p/13307688.html 日志采集工具对比 1、Flume简介 Flume的设计宗旨是向Hadoop集群批量导入基于事件的海量数据。系统中最核心的角色是agent,Flume采集系统就是由一个个agent所连接起来形成。
阅读全文