![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ElasticSearch
文章平均质量分 53
jwxkk
这个作者很懒,什么都没留下…
展开
-
kibana在7.8linux下配置
配置文件修改vim打开配置问价,增加内容es地址,注意双引号换成英文的elasticsearch.hosts: [“114.116.111.166:9200”]外网访问server.host: “0.0.0.0”后台启动nohup ./kibana &原创 2021-01-27 16:27:35 · 265 阅读 · 0 评论 -
springboot与es整合代码
配置类ElasticSearchConfigpackage com.greentran.esdemo.config;import org.apache.http.HttpHost;import org.elasticsearch.client.RestClient;import org.elasticsearch.client.RestHighLevelClient;import org.springframework.context.annotation.Bean;import org.sp原创 2021-01-27 16:26:12 · 290 阅读 · 0 评论 -
ES常用命令
KI分词器下载:https://github.com/medcl/elasticsearch-analysis-ik/releases/tag/v7.6.1在Kibana里测试分词器GET _analyze{ "analyzer": "ik_max_word", "text": "我爱我的祖国"}配置IK分词器词典要复制路径下原有的dic去改名,因为有编码与BOM头问题配置文件路径:elasticsearch/plugins/ik/config/IKAnalyzer.cfg原创 2021-01-27 16:25:41 · 590 阅读 · 0 评论 -
logstash7.8同步mysql数据
参考文章https://www.cnblogs.com/wueryuan/p/13230849.htmllogstash下载参考之前ES文章开头有地址mysql驱动下载在Logstash目录下新建mysql文件夹并进入mkdir mysqlcd mysql下载mysql驱动并解压缩mysql驱动官网点Archives找到想要的版本,5.x以上一般都可以,复制路径,在linxu里wgetwget https://downloads.mysql.com/archives/get/原创 2021-01-27 16:25:10 · 525 阅读 · 0 评论 -
ElasticSearch7安装
现在的版本要一致否则会闪退ElasticSearch: https://mirrors.huaweicloud.com/elasticsearch/?C=N&O=Dlogstash: https://mirrors.huaweicloud.com/logstash/?C=N&O=Dkibana: https://mirrors.huaweicloud.com/kibana/?C=N&O=Dconfig/elasticsearch.yml配置跨域访问http.cors.ena原创 2020-11-06 10:40:51 · 223 阅读 · 0 评论