用kibana consle 替代sense
来源:互联网 发布:中国房产数据 编辑:程序博客网 时间:2024/06/05 16:34
elasticsearch的dsl开发工具sense被google下架了,kibana console是很好的替代品。但是,我们的es集群前些日子因为应付安全检查改为https+basic auth方式(详细配置过程见本人博文:http://blog.csdn.net/jiashiwen/article/details/76914374),kibana需要进行若干配置才能工作。
1.下载与elasticsearch版本号一致的kibana安装包,笔者目前开发环境5.5.2,对应kibana版本也为5.5.2(最新的5.6版本会报不兼容错误,不能运行)。
2.配置config/kibana.yml文件,主要配置项如下
# The URL of the Elasticsearch instance to use for all your queries.
#elasticsearch.url: "http://localhost:9200"
elasticsearch.url: "https://192.168.1.1:9281/"
# If your Elasticsearch is protected with basic authentication, these settings provide
# the username and password that the Kibana server uses to perform maintenance on the Kibana
# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which
# is proxied through the Kibana server.
#elasticsearch.username: "user"
#elasticsearch.password: "pass"
elasticsearch.username: "admin"
elasticsearch.password: "admin"
# Optional settings that provide the paths to the PEM-format SSL certificate and key files.
# These files validate that your Elasticsearch backend uses the same key files.
#elasticsearch.ssl.certificate: /path/to/your/client.crt
#elasticsearch.ssl.key: /path/to/your/client.key
elasticsearch.ssl.certificate: /home/develop/kibana-5.6.3-linux-x86_64/config/crts/eshttp.crt
elasticsearch.ssl.key: /home/develop/kibana-5.6.3-linux-x86_64/config/crts/eshttp.key
# To disregard the validity of SSL certificates, change this setting's value to 'none'.
#elasticsearch.ssl.verificationMode: full
elasticsearch.ssl.verificationMode: none
各项配置看文件内说明,写的很清楚,这里就不翻译了,其中最重要的是这两样elasticsearch.ssl.certificate和elasticsearch.ssl.key,一定要与服务端保持一致。由于证书是自己生成的,校验项elasticsearch.ssl.verificationMode的值需要改为none。
启动kibana后,通过http://localhose:5601访问即可
阅读全文
0 0
- 用kibana consle 替代sense
- elasticserch +kibana+marvel+sense
- 分布式搜索引擎ElasticSearch+kibana+marvel+sense安装
- Elasticsearch2.4.1——安装配置######附带kibana/sense安装
- kibana
- kibana
- Kibana
- Consle Start Web
- 安装sense
- 6.Sense编辑器(Sense Editor)
- Java Eclipse 调出consle控制台
- 用EXISTS替代IN
- 用Linux替代Windows
- 用notepad2替代记事本
- 用split替代StringTokenizer
- 用换位实现替代
- 用“>=”替代“>”
- 用你自己替代密码
- 如何才能写好代码,做到以下几点即可
- 一次RegionServer GC导致会话超时下线的原因分析记录
- 验证手机号码工具类
- Jmeter如何更好的组织脚本结构进行接口测试
- 《Greenplum5.0 最佳实践》 内存与资源队列 (四)
- 用kibana consle 替代sense
- ElasticSearch IK中文分词器安装
- adb调试相关命令
- 机器学习基础04-凸优化
- PL/SQL 取每个分组第N条记录
- 在alpine linux构建的docker中使用crontab执行定时任务
- android与js交互
- 超塑性空洞长大
- iOS11适配table的区头高度