Elasticsearch is still initializing the Monitoring indices问题解决

11 篇文章 0 订阅

这个是ES正在初始化Monitor的索引,

查看服务器磁盘,磁盘空间足够。

解决办法是:

执行命令:curl -XGET -usinochem:sinochem http://es服务器地址:9200/_cat/indices  查看es中的索引

找到上面命令执行结果中为red(非green)的进行删除

curl -XDELETE -usinochem:sinochem http://10.144.130.100:9200/.monitoring-kibana-6-2019.08.06
curl -XDELETE -usinochem:sinochem http://10.144.130.100:9200/.monitoring-kibana-6-2019.08.07
curl -XDELETE -usinochem:sinochem http://10.144.130.100:9200/.monitoring-alerts-6

执行完后,kibana进行重启,便可以。有的报错是ElasticSearch is still initializing the kibana index,这个则是删除.kibana索引就可以curl -XDELETE -usinochem:sinochem http://10.144.130.100:9200/.kibana

重新重启kibana后登录页面出现下图情况:

这就需要创建一下es中的index了。

我们elk系统是filebeat收集日志,发送到Kafka中,logstash通过Kafka输入,经过滤插件,最后输出到es中。

所以查找logstash中的config配置文件找到index前缀是truck-ka-prod*这样的格式

这时进行创建index就可以,kibana中pattern匹配到会出现filter field name,进行创建完后,可以正常使用kibana了。

一阵摸索后,也对kibana熟悉了,半路搜索排查问题,进行熟悉学习吧。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
ey Features Understand common performance and reliability pitfalls in ElasticSearch Use popular monitoring tools such as ElasticSearch-head, BigDesk, Marvel, Kibana, and more This is a step-by-step guide with lots of case studies on solving real-world ElasticSearch cluster issues Book Description ElasticSearch is a distributed search server similar to Apache Solr with a focus on large datasets, a schema-less setup, and high availability. This schema-free architecture allows ElasticSearch to index and search unstructured content, making it perfectly suited for both small projects and large big data warehouses with petabytes of unstructured data. This book is your toolkit to teach you how to keep your cluster in good health, and show you how to diagnose and treat unexpected issues along the way. You will start by getting introduced to ElasticSearch, and look at some common performance issues that pop up when using the system. You will then see how to install and configure ElasticSearch and the ElasticSearch monitoring plugins. Then, you will proceed to install and use the Marvel dashboard to monitor ElasticSearch. You will find out how to troubleshoot some of the common performance and reliability issues that come up when using ElasticSearch. Finally, you will analyze your cluster's historical performance, and get to know how to get to the bottom of and recover from system failures. This book will guide you through several monitoring tools, and utilizes real-world cases and dilemmas faced when using ElasticSearch, showing you how to solve them simply, quickly, and cleanly. What you will learn Explore your cluster with ElasticSearch-head and BigDesk Access the underlying data of the ElasticSearch monitoring plugins using the ElasticSearch API Analyze your cluster's performance with Marvel Troubleshoot some of the common performance and reliability issues that come up when using ElasticSearch Analyze a cluster's historical performance, and get to the bottom of and recover from system failures Use and install various other tools and plugins such as Kibana and Kopf, which is helpful to monitor ElasticSearch About the Author Dan Noble is a software engineer with a passion for writing secure, clean, and articulate code. He enjoys working with a variety of programming languages and software frameworks, particularly Python, Elasticsearch, and frontend technologies. Dan currently works on geospatial web applications and data processing systems. Dan has been a user and advocate of Elasticsearch since 2011. He has given talks about Elasticsearch at various meetup groups, and is the author of the Python Elasticsearch client rawes. Dan was also a technical reviewer for the Elasticsearch Cookbook, Second Edition, by Alberto Paro. Table of Contents Chapter 1. Introduction to Monitoring Elasticsearch Chapter 2. Installation and the Requirements for Elasticsearch Chapter 3. Elasticsearch-head and Bigdesk Chapter 4. Marvel Dashboard Chapter 5. System Monitoring Chapter 6. Troubleshooting Performance and Reliability Issues Chapter 7. Node Failure and Post-Mortem Analysis Chapter 8. Looking Forward

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值