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的自启动运行发行,面向网络安全管理.它基于自己的图形规则管理器提供一套完整的.易于使 ...
随机推荐
- [luoguP3052] [USACO12MAR]摩天大楼里的奶牛Cows in a Skyscraper(DP)
传送门 输出被阉割了. 只输出最少分的组数即可. f 数组为结构体 f[S].cnt 表示集合 S 最少的分组数 f[S].v 表示集合 S 最少分组数下当前组所用的最少容量 f[S] = min(f ...
- 如何用Bugzilla系统管理产品研发过中相关需求和bug
目 录 1.Bug处理流程及状态说明 2.bugs字段说明 3.查询报表的使用 4.bug系统与需求系统的整合 5.流程和用户权限 1. Bug处理流程及状态说明(1) BUG状态流程图 BUG的状态 ...
- C语言试题(标准答案)
C语言试题(标准答案) 一.单选题(每小题2分,共20小题40分) 1.1-1.5 B D A C B 1.6-1.10 C A D B C 1.11-1.1 ...
- Redis3.0集群方案分析
在Redis3.0集群出来之前,大家都对作者antirez寄予厚望,因为Redis从来没有让我们失望过.现在Redis3.0集群出来了,网上出了很多评论文章,都说他的功能多么强大,包括下面这张图是彻底 ...
- Java 实现代理(Proxy)模式
类图 /** * 游戏者接口 * @author stone * */ public interface IGamePlayer { // 登录游戏 public void login(String ...
- STL源代码剖析(二) - 迭代器与traits技法
提要 先看一段用迭代器的代码: int a[] = {1, 2, 3, 4, 5}; vector<int> v1( a, a+5); vector<int>::iterato ...
- 2015 Multi-University Training Contest 2 1004 Delicious Apples(DP)
pid=5303">题目链接 题意:长度为l 的环,有n棵果树,背包容量为k,告诉你k棵苹果树的id.以及每棵树上结的果子数.背包一旦装满要返回起点(id==0) 清空,问你至少走多少 ...
- 自然语言处理中的Attention Model:是什么及为什么
/* 版权声明:能够随意转载.转载时请标明文章原始出处和作者信息 .*/ author: 张俊林 要是关注深度学习在自然语言处理方面的研究进展,我相信你一定听说过Attention Model(后文有 ...
- 在SAE搭建Python+Django+MySQL(基于Windows)
为了与时俱进,工作闲余開始研究Python,刚一接触就被Python这"优雅"的语法吸引住.后来接触到了Django.尽管还没有太深入的研究.但对这样的新概念的WEB开发非常感兴趣 ...
- LeetCode 83. Remove Duplicates from Sorted List (从有序链表中去除重复项)
Given a sorted linked list, delete all duplicates such that each element appear only once. For examp ...