1.安装elastic searchdump 2.备份数据 3.恢复到新集群 参考:https://aikbuk.com/2019/09/29/elasticsearch%E5%A4%87%E4%BB%BD%E6%81%A2%E5%A4%8D/ ...
分类:
其他好文 时间:
2019-11-04 15:46:49
阅读次数:
187
集群相关 --查询集群健康状态 GET _cluster/health --查询所有节点 GET _cat/nodes --查询索引及分片的分布 GET _cat/shards --查询所有插件 GET _cat/plugins 索引相关查询 --查询所有索引及容量 GET _cat/indices ...
分类:
其他好文 时间:
2019-11-04 15:17:19
阅读次数:
95
output中配置 elasticsearch{ action => "index" hosts => ["xxx"] index => "http-log-logstash" document_type => "logs" template => "opt/http-logstash.json" ...
分类:
其他好文 时间:
2019-11-04 14:00:34
阅读次数:
148
前言: 最近在使用elasticSearch中发现有些数据查不出来,于是研究了一下,发现是分词导致的,现梳理并总结一下。 ElasticSearch 5.0以后,string类型有重大变更,移除了string类型,string字段被拆分成两种新的数据类型: text用于全文搜索的,而keyword用 ...
分类:
其他好文 时间:
2019-11-04 13:55:51
阅读次数:
180
位置 在Logstash的.conf配置文件中的output中配置ElasticSearch 示例: output { elasticsearch{ action => "index" index => "%{[fields][product_type]}-transaction-%{+YYYY-M ...
分类:
其他好文 时间:
2019-11-04 13:47:21
阅读次数:
92
环境:Docker v19.03.4 + Kitematic Issue:(HTTP code 404) no such image - no such image: elasticsearch:latest: No such image: elasticsearch:latest 解决:默认的 l ...
分类:
其他好文 时间:
2019-11-03 18:01:27
阅读次数:
100
企业部署elk 通过loststash及filebeat系统全方位收集数据库,系统,网络设备,nginx等日志,方便对日志的监控与分析
分类:
其他好文 时间:
2019-11-03 14:51:42
阅读次数:
101
解决: 在宿主机执行: sysctl -w vm.max_map_count=262144 原因: vm.max_map_count参数,是允许一个进程在VMAs拥有最大数量(VMA:虚拟内存地址, 一个连续的虚拟地址空间),当进程占用内存超过时, 直接OOM。 elasticsearch占用内存较 ...
分类:
其他好文 时间:
2019-11-02 17:40:40
阅读次数:
212
概要 ElasticSearch是一个基于Lucene的搜索服务器。它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口。Elasticsearch是用Java开发的,并作为Apache许可条款下的开放源码发布,是当前流行的企业级搜索引擎。本人在工作过程中也有幸使用了ELK,下 ...
分类:
其他好文 时间:
2019-11-02 13:34:11
阅读次数:
90