Kibana里No Marvel Data Found问题解决(图文详解)
问题详情
http://192.168.80.145:5601/app/marvel#/no-data?_g=(refreshInterval:(display:'10%20seconds',pause:!f,value:10000),time:(from:now-1h,mode:quick,to:now))
排查问题
[hadoop@master plugins]$ date
Fri Jun :: CST
[hadoop@master plugins]$
[hadoop@slave1 plugins]$ date
Fri Jun :: CST
[hadoop@slave1 plugins]$
[hadoop@slave2 plugins]$ date
Fri Jun :: CST
[hadoop@slave2 plugins]$
解决办法
1、
[root@master hadoop]$ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
2、
[root@master hadoop]# ntpdate pool.ntp.org
Jun :: ntpdate[]: step time server 101.6.6.172 offset 34.794932 sec
[root@master hadoop]# date
Fri Jun :: CST
[root@master hadoop]#
3、新建索引库和索引,进入,去测试有没有数据。
[hadoop@master elasticsearch-2.4.]$ curl -XPUT 'http://192.168.80.145:9200/zhouls'
{"acknowledged":true}[hadoop@master elasticsearch-2.4.]$
[hadoop@master elasticsearch-2.4.]$ curl -XPUT 'http://192.168.80.145:9200/zhouls/employee/1' -d'{"name":"tom","age":25}'
{"_index":"zhouls","_type":"employee","_id":"","_version":,"_shards":{"total":,"successful":,"failed":},"created":true}[hadoop@master elasticsearch-2.4.]$
[hadoop@master elasticsearch-2.4.]$
4、再把时间,调大点
原因定位于,是在 license过期了 、
点击,进入Get Basic,去完成注册的工作。
https://register.elastic.co/marvel_register
这里,大家自行去注册吧!我不贴图。注册好之后,然后大家去自己的邮箱点击生效即可。
注意:
Register for a Free Basic License
Register below to receive a free 1 year Basic license, which enables many great features in X-Pack. See the subscription page for more details. And yes, when the 1 year is up, you can come back and register for another year. Happy searching!
有效期,只有一年,当一年到期后,再次回来。
--> http://license.elastic.co/registration/download/48209fbc-12ba-4858-a6a0-c7ceff74b941 For license installation instructions: Elasticsearch .x -- https://www.elastic.co/guide/en/x-pack/current/installing-license.html
Elasticsearch .x -- https://www.elastic.co/guide/en/marvel/current/license-management.html
Elasticsearch .x -- Use license code '' to register If you have any questions or issues, please visit us on the forums: https://discuss.elastic.co/ or reach out to us directly at info@elastic.co. Best,
The Elastic Team --
http://elastic.co
Register for a Free Basic License
Register below to receive a free 1 year Basic license, which enables many great features in X-Pack. See the subscription page for more details. And yes, when the 1 year is up, you can come back and register for another year. Happy searching!
Please download the license for your Elasticsearch version.
下载专属你的license,有效期一年。
这是我的。
zhou-ls-ff02ba97-d646-4fda-96c2-45accff441d3-v2.json
里面内容是
{"license":{"uid":"ff02ba97-d646-4fda-96c2-45accff441d3","type":"basic","issue_date_in_millis":,"expiry_date_in_millis":,"max_nodes":,"issued_to":"zhou ls (guet)","issuer":"Web Form","signature":"AAAAAgAAAA3kgU2kenmdBj/P/8AqAAABmC9ZN0hjZDBGYnVyRXpCOW5Bb3FjZDAxOWpSbTVoMVZwUzRxVk1PSmkxaktJRVl5MUYvUWh3bHZVUTllbXNPbzBUemtnbWpBbmlWRmRZb25KNFlBR2x0TXc2K2p1Y1VtMG1UQU9TRGZVSGRwaEJGUjE3bXd3LzRqZ05iLzRteWFNekdxRGpIYlFwYkJiNUs0U1hTVlJKNVlXekMrSlVUdFIvV0FNeWdOYnlESDc3MWhlY3hSQmdKSjJ2ZTcvYlBFOHhPQlV3ZHdDQ0tHcG5uOElCaDJ4K1hob29xSG85N0kvTWV3THhlQk9NL01VMFRjNDZpZEVXeUtUMXIyMlIveFpJUkk2WUdveEZaME9XWitGUi9WNTZVQW1FMG1DenhZU0ZmeXlZakVEMjZFT2NvOWxpZGlqVmlHNC8rWVVUYzMwRGVySHpIdURzKzFiRDl4TmM1TUp2VTBOUlJZUlAyV0ZVL2kvVk10L0NsbXNFYVZwT3NSU082dFNNa2prQ0ZsclZ4NTltbU1CVE5lR09Bck93V2J1Y3c9PQAAAQA53GJunQ18G+av9vb2h25dQ93L6YSToN5I22/BX1TRKlfPRwP7FhMa02dXVwM43Gqi9Z9vWAjPc3XasLWrsIU36jvw8iERWMK4mOWXcIwMQDPposf7iHKqqhAP2DpaRaYU1J4pYVgYpErd3f3NMOrhLPadEeH5JByALK8DiE1i5FsUbfT2O8ekFCrFAOyvEDTHawRmpPJd5Vj0/p7Xvl9S2CbqU4RSinXbmEjQkVtOKqGbETcGxj1ddaQoyqOynTYsgmdnRP9/BcqY2A00q8kpIC5cIzYVcLvPkVo5epHHOfrRDzzn/2ONIUNyYHjGDc298K3ILTFAQt831IVMwEGj"}}
我的这里是,2.4.0
https://www.elastic.co/guide/en/marvel/current/license-management.html
[hadoop@master license]$ pwd
/home/hadoop/app/elasticsearch-2.4./plugins/license
[hadoop@master license]$ ll
total
-rw-rw-r-- hadoop hadoop Apr : license-2.4..jar
-rw-rw-r-- hadoop hadoop Apr : license-core-2.4..jar
-rw-rw-r-- hadoop hadoop Apr : license-plugin-api-2.4..jar
-rw-rw-r-- hadoop hadoop Apr : LICENSE.txt
-rw-rw-r-- hadoop hadoop Apr : NOTICE.txt
-rw-rw-r-- hadoop hadoop Apr : plugin-descriptor.properties
[hadoop@master license]$ rz [hadoop@master license]$ ll
total
-rw-rw-r-- hadoop hadoop Apr : license-2.4..jar
-rw-rw-r-- hadoop hadoop Apr : license-core-2.4..jar
-rw-rw-r-- hadoop hadoop Apr : license-plugin-api-2.4..jar
-rw-rw-r-- hadoop hadoop Apr : LICENSE.txt
-rw-rw-r-- hadoop hadoop Apr : NOTICE.txt
-rw-rw-r-- hadoop hadoop Apr : plugin-descriptor.properties
-rw-r--r-- hadoop hadoop Jun : zhou-ls-ff02ba97-d646-4fda-96c2-45accff441d3-v2.json
[hadoop@master license]$
[hadoop@master license]$ ll
total
-rw-rw-r-- hadoop hadoop Apr : license-2.4..jar
-rw-rw-r-- hadoop hadoop Apr : license-core-2.4..jar
-rw-rw-r-- hadoop hadoop Apr : license-plugin-api-2.4..jar
-rw-rw-r-- hadoop hadoop Apr : LICENSE.txt
-rw-rw-r-- hadoop hadoop Apr : NOTICE.txt
-rw-rw-r-- hadoop hadoop Apr : plugin-descriptor.properties
-rw-r--r-- hadoop hadoop Jun : zhou-ls-ff02ba97-d646-4fda-96c2-45accff441d3-v2.json
[hadoop@master license]$ curl -XPUT 'http://192.168.80.145:9200/_license' -d @zhou-ls-ff02ba97-d646-4fda-96c2-45accff441d3-v2.json
{"acknowledged":false,"license_status":"valid","acknowledge":{"message":"This license update requires acknowledgement. To acknowledge the license, please read the following messages and update the license again, this time with the \"acknowledge=true\" parameter:","marvel":["basic","Automatic index cleanup is locked to 7 days for clusters with [{}] license.basic"]}}[hadoop@master license]$
[hadoop@master license]$
此外,还不够,需要用admin来激活,
[hadoop@master license]$ curl -XPUT -u admin 'http://192.168.80.145:9200/_license' -d @zhou-ls-ff02ba97-d646-4fda-96c2-45accff441d3-v2.json
Enter host password for user 'admin':
{"acknowledged":false,"license_status":"valid","acknowledge":{"message":"This license update requires acknowledgement. To acknowledge the license, please read the following messages and update the license again, this time with the \"acknowledge=true\" parameter:","marvel":["basic","Automatic index cleanup is locked to 7 days for clusters with [{}] license.basic"]}}[hadoop@master license]$
然后,查看下,如下,还是expired,即超期。
[hadoop@master license]$ curl -XGET -u admin:password 'http://192.168.80.145:9200/_license'
{
"license" : {
"status" : "expired",
"uid" : "484a5464-0f2c-465e-a91e-35e202aba616",
"type" : "trial",
"issue_date" : "2017-04-22T01:00:14.187Z",
"issue_date_in_millis" : ,
"expiry_date" : "2017-05-22T01:00:14.187Z",
"expiry_date_in_millis" : ,
"max_nodes" : ,
"issued_to" : "escluster",
"issuer" : "elasticsearch"
}
然后,再执行,如下(肯定会成功!)
[hadoop@master license]$ curl -XPUT -u admin 'http://192.168.80.145:9200/_license?acknowledge=true' -d @zhou-ls-ff02ba97-d646-4fda-96c2-45accff441d3-v2.json
Enter host password for user 'admin':
{"acknowledged":true,"license_status":"valid"}[hadoop@master license]$
[hadoop@master license]$
[hadoop@master license]$ curl -XGET -u admin:password 'http://192.168.80.145:9200/_license'
{
"license" : {
"status" : "active",
"uid" : "ff02ba97-d646-4fda-96c2-45accff441d3",
"type" : "basic",
"issue_date" : "2017-06-30T00:00:00.000Z",
"issue_date_in_millis" : ,
"expiry_date" : "2018-06-30T23:59:59.999Z",
"expiry_date_in_millis" : ,
"max_nodes" : ,
"issued_to" : "zhou ls (guet)",
"issuer" : "Web Form"
}
}
[hadoop@master license]$
然后,再刷新下,就好了。
http://192.168.80.145:5601/app/marvel
参考
同时,大家可以关注我的个人博客:
http://www.cnblogs.com/zlslch/ 和 http://www.cnblogs.com/lchzls/
人生苦短,我愿分享。本公众号将秉持活到老学到老学习无休止的交流分享开源精神,汇聚于互联网和个人学习工作的精华干货知识,一切来于互联网,反馈回互联网。
目前研究领域:大数据、机器学习、深度学习、人工智能、数据挖掘、数据分析。 语言涉及:Java、Scala、Python、Shell、Linux等 。同时还涉及平常所使用的手机、电脑和互联网上的使用技巧、问题和实用软件。 只要你一直关注和呆在群里,每天必须有收获
以及对应本平台的QQ群:161156071(大数据躺过的坑)
Kibana里No Marvel Data Found问题解决(图文详解)的更多相关文章
- Windows里下载并安装phpstudy(图文详解)
不多说,直接上干货! 帮助站长快速搭建网站服务器平台! phpstudy软件简介 此是基于phpStudy 2016.01.01. 该程序包集成最新的Apache+Nginx+LightTPD+PHP ...
- 再谈Hive元数据如hive_metadata与Linux里MySQL的深入区别(图文详解)
不多说,直接上干货! [bigdata@s201 conf]$ vim hive-site.xml [bigdata@s201 conf]$ pwd /soft/hive/conf [bigdata@ ...
- 全网最全的Windows下Anaconda2 / Anaconda3里正确下载安装Theano(图文详解)
不多说,直接上干货! Theano的安装教程目前网上一搜很多,前几天折腾了好久,终于安装成功了Anaconda3(Python3)的Theano,嗯~发博客总结并分享下经验教训吧. 渣电脑,显卡用的是 ...
- Spark Mllib里的Mllib基本数据类型(图文详解)
不多说,直接上干货! Spark Mllib基本数据类型,根据不同的作用和应用场景,分为四种不同的类型 1.Local vector : 本地向量集,主要向spark提供一组可进行操作的数据集合 2 ...
- Spark Mllib里如何建立向量标签(图文详解)
不多说,直接上干货! 注意: val pos = LabeledPoint(1, vd) val neg = LabeledPoint(2, vs) 除了这两种建立向量标签.还可以从数据库中获取固定格 ...
- 基于CentOS6.5或Ubuntu14.04下Suricata里搭配安装 ELK (elasticsearch, logstash, kibana)(图文详解)
前期博客 基于CentOS6.5下Suricata(一款高性能的网络IDS.IPS和网络安全监控引擎)的搭建(图文详解)(博主推荐) 基于Ubuntu14.04下Suricata(一款高性能的网络ID ...
- Kibana安装(图文详解)(多节点的ELK集群安装在一个节点就好)
对于Kibana ,我们知道,是Elasticsearch/Logstash/Kibana的必不可少成员. 前提: Elasticsearch-2.4.3的下载(图文详解) Elasticsearch ...
- Elasticsearch-2.4.3的3节点安装(多种方式图文详解)(含 head、kopf、marvel、shield和watcher插件安装和使用)
前提: Elasticsearch-2.4.3的下载(图文详解) Elasticsearch-2.4.3的单节点安装(多种方式图文详解) 我这里,以192.168.80.10(HadoopMaster ...
- Stamus Networks的产品SELKS(Suricata IDPS、Elasticsearch 、Logstash 、Kibana 和 Scirius )的下载和安装(带桌面版和不带桌面版)(图文详解)
不多说,直接上干货! SELKS是什么? SELKS 是Stamus Networks的产品,它是基于Debian的自启动运行发行,面向网络安全管理.它基于自己的图形规则管理器提供一套完整的.易于使 ...
随机推荐
- 九度oj 题目1089:数字反转
题目1089:数字反转 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:3531 解决:1935 题目描述: 12翻一下是21,34翻一下是43,12+34是46,46翻一下是64,现在又任 ...
- BZOJ 1853
http://www.lydsy.com/JudgeOnline/problem.php?id=1853 岛娘在空间上发的题解就看了看果然被骗了.还以为是数位dp. 原来是容斥啊.好吧第一道正式的题目 ...
- 一位ACMer过来人的心得
http://blog.csdn.net/acm_cxlove/article/details/8079348
- java 远程调用
1.webservice (soap+http) -aixs -axis2 -xfire—>cxf 2.webservice问题 -基于xml,xml效率,(数据传输效率,xml序列化效率) - ...
- 稍微成型点的用WEBSOCKET实现的实时日志LOG输出
难的是还是就地用JS显示出来相关的发布进度. 还好,花了一下午实现了. 可以移植到项目中去罗... websocket.py: import tornado.ioloop import tornado ...
- MySQL主从复制邮件报警脚本
#!/bin/shexport PATH=$PATH:/application/mysql/3306/binlogFile=`date +"%Y-%m-%d %H:%M:%S"`_ ...
- 函数操作(this操作)
1.apply/call函数:会改变this关键字,并且第一个参数作为this关键字. /*apply与call区别*/ console.log(Array.prototype.join.call([ ...
- 符号变换引擎(Symbol Transform Engine - STE)
在写编译器的过程中.我意识到编译事实上是一种符号变换,比方C语言编译成机器码,事实上是C源代码文件里的符号变换成EXE的16进制符号,这和中文翻译成英语的语言翻译器没什么差别. 每一个程序猿都有自己喜 ...
- 十进制浮点数转换成IEEE754标准的32浮点数的二进制格式
参考: http://jimmygod.blog.163.com/blog/static/43511339200792605627411/ http://blog.csdn.net/archersab ...
- PHP的mod_rewrite重写模块将.php后缀换成.html
apache Rewrite mod_rewrite的魔力 简单举例:创建三个文件.分别命名为 test.html,test.php和.htaccess test.html 输入: <h1> ...