sonar内置ES数据查询一

ElasticHD工具安装

https://github.com/360EntSecGroup-Skylar/ElasticHD/releases/tag/1.4

[root@52-118 PRG]# ll
总用量 38632
-rwxrwxrwx. 1 root root 22772813 6月  17 2017 ElasticHD
drwxrwxrwx. 9 root root     4096 12月 10 14:26 ElasticHD-1.4
-rw-r--r--. 1 root root 10330086 12月 10 14:16 ElasticHD-1.4.zip
-rw-r--r--. 1 root root  6450465 12月 10 14:34 elasticHD_linux_amd64.zip
[root@52-118 PRG]# exec ./ElasticHD -p 0.0.0.0:9800
To view elasticHD console open http://0.0.0.0:9800 in browser
exec: "xdg-open": executable file not found in $PATH

浏览器访问:http://192.168.52.118:9800/

更改内置Elasticsearch配置

服务器:192.168.52.117

sonarqube-8.4.1.35646/config/sonar.properties

sonar.search.httpPort=9200
sonar.search.host=192.168.52.117

sonarqube-8.4.1.35646/elasticsearch/config/elasticsearch.yml

network.host: 192.168.52.117
http.port: 9200

重启sonarqube:

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-0TI9B4ok-1607667045759)(../image/elasticsearch.png)]

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值