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的自启动运行发行,面向网络安全管理.它基于自己的图形规则管理器提供一套完整的.易于使 ...
随机推荐
- HDU5266 LCA 树链剖分LCA 线段树
HDU5266 LCA Description 给一棵 n 个点的树,Q 个询问 [L,R] : 求点 L , 点 L+1 , 点 L+2 -- 点 R 的 LCA. Input 多组数据. The ...
- [bzoj1115][POI2009]石子游戏Kam_博弈论_阶梯博弈
石子游戏 Kam bzoj-1115 POI-2009 题目大意:给定n堆石子,两个人轮流取石子.每堆石子的个数都不少于前一堆石子.每次取后也必须维持这个性质.问谁有必胜策略. 注释:$1\le ca ...
- [转]SQL Server编程:SMO介绍
转自:周公 最近在项目中用到了有关SQL Server管理任务方面的编程实现,有了一些自己的心得体会,想在此跟大家分享一下,在工作中用到了SMO/SQL CLR/SSIS等方面的知识,在国内这方面的文 ...
- windows 2008 64位在指定的 DSN 中,驱动程序和应用程序之间的体系结构不匹配
在本机32位环境中使用access数据库正常. 公布到server上时提示:在指定的 DSN 中,驱动程序和应用程序之间的体系结构不匹配 server是64位环境.windows 2008,64位的t ...
- Java线程池几个參数的理解
线程池几个參数的理解: 比方去火车站买票, 有10个售票窗体, 但仅仅有5个窗体对外开放. 那么对外开放的5个窗体称为核心线程数, 而最大线程数是10个窗体.假设5个窗体都被占用, 那么后来的人就必 ...
- ubuntu 搭建 svn服务器,使用http方式访问
原文: http://blog.csdn.net/wobuxingfang/article/details/70835414 参考:http://www.cnblogs.com/zzugyl/p/36 ...
- 编程规范(一 之kmalloc,fflush,fclose,char_init)
1. kmalloc函数接口: 在我们使用的时候常常使用该接口,可是我们非常少注意过这个接口的一些比較重要的 内核接口.比如: /*申请一个HASH表的大小*/ #define HASH_MALLOC ...
- 第十五周oj刷题——Problem M: C++习题 矩阵求和--重载运算符
Description 有两个矩阵a和b,均为2行3列.求两个矩阵之和.重载运算符"+",使之能用于矩阵相加(如c=a+b). 重载流插入运算符"<<&quo ...
- Behavioral模式之Interpreter模式
1.意图 给定一个语言,定义它的文法的一种表示.并定义一个解释器,这个解释器使用该表示来解释语言中的句子. 2.别名 无 3.动机 假设一种特定类型的问题发生的频率足够高,那么可能就值得将该问题的各种 ...
- 总是有人想在android上直连mysql,是猴子请来的逗比吗?
总是有人想在android上直连mysql,都是是猴子请来的逗比吗?