kibana如何访问基于kerberos认证机制的ES?
Kibana • yclxf 回复了问题 • 2 人关注 • 2 个回复 • 4615 次浏览 • 2019-10-28 15:52
Elasticsearch集群不稳定,node_disconnected_exception
Elasticsearch • fangw 回复了问题 • 4 人关注 • 2 个回复 • 4931 次浏览 • 2019-10-22 09:37
将txt文本数据导入elasticsearch
Elasticsearch • laoyang360 回复了问题 • 2 人关注 • 1 个回复 • 4193 次浏览 • 2017-12-25 20:16
社区搜索试运行
资讯动态 • medcl 发表了文章 • 29 个评论 • 4591 次浏览 • 2017-12-25 11:31
https://index.elasticsearch.cn
姑且叫做:Elastic 情报局!
这个东西有什么用?
聚合 Elastic 社区的各种资源,
- Elastic 官网资料、文档、博客、视频
- Elastic 中文社区
- Elastic 英文社区
- Github 仓库的最新事件
- 其他社区的相关主题,如 StackOverflow、Reddit等
- 等
用来提供一站式的垂直搜索,
方便提供您更好的学习和寻找参考资料。
基于开源爬虫 GOPA 和 Elasticsearch 搭建,目前试运行,功能和数据正在完善中,欢迎反馈。
elasticsearch5.2.2连接集群 报错 Unknown NamedWriteable
Elasticsearch • shwtz 回复了问题 • 2 人关注 • 2 个回复 • 5555 次浏览 • 2017-12-25 17:22
filebeat如何提取日志时间覆盖timestamp
Beats • shitangjiejie 回复了问题 • 8 人关注 • 4 个回复 • 7176 次浏览 • 2018-01-16 13:43
社区日报 第141期 (2017-12-25)
社区日报 • cyberdak 发表了文章 • 0 个评论 • 1406 次浏览 • 2017-12-25 10:37
http://t.cn/RHAyUPV
2.如何构建一个搜索UI。
http://t.cn/RToO9aU
3.使用ELK监控Spark集群。
http://t.cn/RHAA6Me
4.(德语)Elastic Advent Calendar, Day 24: 用Elasticsearch和Kibana进行数据探索
http://t.cn/RHAZZbV
编辑:cyberdak
归档:https://elasticsearch.cn/article/433
订阅:https://tinyletter.com/elastic-daily
filebeat 在linux下无法直接使用/* 来读取日志文件
Beats • xinfanwang 回复了问题 • 5 人关注 • 7 个回复 • 3983 次浏览 • 2018-04-11 09:47
elasticsearch集群状态的疑问
Elasticsearch • medcl 回复了问题 • 4 人关注 • 2 个回复 • 1866 次浏览 • 2018-01-16 11:01
如何计算某个字段满足一定条件的值的个数占总个数的比例
回复Elasticsearch • hellowWorld 发起了问题 • 1 人关注 • 0 个回复 • 2203 次浏览 • 2017-12-24 14:41
社区日报 第140期 (2017-12-24)
社区日报 • 至尊宝 发表了文章 • 0 个评论 • 1587 次浏览 • 2017-12-24 09:52
http://t.cn/RHhL7ss
2.(自备梯子)用Zipkin和Kibana跟踪微服务。
http://t.cn/RHPkfsi
3.(自备梯子)Apache Kafka的区块链实验。
http://t.cn/RHPsx09
4.(英语)Elastic Advent Calendar, Day 23: 新用户的Kibana小贴士
http://t.cn/RHhAlGm
编辑:至尊宝
归档:https://elasticsearch.cn/article/432
订阅:https://tinyletter.com/elastic-daily
Elasticsearch关于unassigned shards修复
Elasticsearch • arterforyou 发表了文章 • 2 个评论 • 5544 次浏览 • 2017-12-23 12:23
ES 版本: 5.2.1
步骤:
- curl localhost:9200/_cat/shards > shards
- 跑脚本:nohup python recovery.py &
注意:跑脚本过程会返回大量json,时间较长,请注意放入后台
- 查看修复shard进度:curl 127.0.0.1:9200/_cat/recovery/你修复shard对应的索引
- 结果: 找到索引对应的shard,看到existing_store done说明已经从本地修复
shell<br /> index 19 268ms existing_store done n/a n/a 10.0.58.67 node_name<br />
```python
!/usr/bin/env python
name: recovery.py
import requests
import json
host = "<a href="http://localhost:9200/_cluster/allocation/explain"" rel="nofollow" target="_blank">http://localhost:9200/_cluster ... ot%3B
s= requests.Session()
def reroute_shard(index,shard,node):
data = {
"commands" : [
{
"allocate_stale_primary" : {
"index" : index, "shard" : shard, "node" : node, "accept_data_loss": True
}
}
]
}
print data
url = "<a href="http://localhost:9200/_cluster/reroute"" rel="nofollow" target="_blank">http://localhost:9200/_cluster/reroute"
res = s.post(url,json=data)
print res
def get_node(line):
if "UNASSIGNED" in line:
line = line.split()
index = line[0]
shard = line[1]
if line[2] != "p":
return
body = {
"index": index,
"shard": shard,
"primary": True
}
res = s.get(host, json = body)
for store in res.json().get("node_allocation_decisions"):
if store.get("store").get("allocation_id"):
node_name = store.get("node_name")
reroute_shard(index,shard,node_name)
else:
return
with open("shards", 'rb') as f:
map(get_node,f)
```
相关文档:- https://www.elastic.co/guide/e ... .html
- https://www.elastic.co/guide/e ... .html
- https://www.elastic.co/guide/e ... .html
elasticsearch安装插件需要重启的问题
Elasticsearch • medcl 回复了问题 • 5 人关注 • 1 个回复 • 4629 次浏览 • 2018-01-16 11:17