Easysearch、Elasticsearch 还是 Opensearch,是个问题
sense

sense

sense不能用了改用kibana吧

ElasticsearchJiaShiwen 发表了文章 • 0 个评论 • 4854 次浏览 • 2017-11-11 12:34 • 来自相关话题

elasticsearch的dsl开发工具sense被google下架了,kibana console是很好的替代品。但是,我们的es集群前些日子因为应付安全检查改为https+basic auth方式(详细配置过程见本人博文:http://blog.csdn.net/jiashiwen ... 14374),kibana需要进行若干配置才能工作。另外老系统中还有elasticsearch2.3.3遗留,需要kibana4.5.1+sense。 一、elasticsearch5.5.2+kibana5.5.2 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访问即可

ES调用script 奇怪错误

Elasticsearchkennywu76 回复了问题 • 3 人关注 • 2 个回复 • 3168 次浏览 • 2017-06-01 17:24 • 来自相关话题

ES调用script 奇怪错误

回复

Elasticsearchkennywu76 回复了问题 • 3 人关注 • 2 个回复 • 3168 次浏览 • 2017-06-01 17:24 • 来自相关话题

sense不能用了改用kibana吧

ElasticsearchJiaShiwen 发表了文章 • 0 个评论 • 4854 次浏览 • 2017-11-11 12:34 • 来自相关话题

elasticsearch的dsl开发工具sense被google下架了,kibana console是很好的替代品。但是,我们的es集群前些日子因为应付安全检查改为https+basic auth方式(详细配置过程见本人博文:http://blog.csdn.net/jiashiwen ... 14374),kibana需要进行若干配置才能工作。另外老系统中还有elasticsearch2.3.3遗留,需要kibana4.5.1+sense。 一、elasticsearch5.5.2+kibana5.5.2 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访问即可