hangout
hangout copied to clipboard
elasticsearch6 6.3.0 使用search guard
WARN org.elasticsearch.action.bulk.BulkRequestHandler - Failed to execute bulk request 1. org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available
配置如下,不加user和passpord,没有问题; outputs: - Elasticsearch: cluster: accesslayer_log hosts: - 100.1xxx - 100.xxxx - 100.xxx - 100.xxx - 100.xxx index: 'webaccess-%{+YYYY-MM-dd}' user: admin password: JnKtaCb1 index_type: accesslayer bulk_actions: 20000 bulk_size: 15 flush_interval: 15 concurrent_requests: 0
这里应该使用哪个版本的hangout,我使用了最新的hangout-dist-0.3.0-release-bin.zip,报错如开头和下面
ERROR com.ctrip.ops.sysdev.outputs.Elasticsearch - bulk got exception: None of the configured nodes are available: [{#transport#-1}{VpWaPb50Rqe9LySgZptWBQ}{192.168.1.10}{192.168.1.10:9300},
使用了SG之后, transport 端口的通讯都是ssl加密的, 我还不知道在hangout里面怎么走transport写数据. 试试HTTP?
- ElasticsearchHTTP:
cluster: accesslayer_log
hosts:
- 192.168.145.128
index: 'webaccess-%{+YYYY-MM-dd}'
user: admin
password: 123456
index_type: accesslayer
bulk_actions: 20000
bulk_size: 15
flush_interval: 15
Hi childe,
非常感谢你的解答,不过我试了试ElasticsearchHTTP方式,不可以,也没有报错;期待你早日开发出,此功能的开源版本,谢谢;
,
2018-08-15 16:33 GMT+08:00 childe [email protected]:
使用了SG之后, transport 端口的通讯都是ssl加密的, 我还不知道在hangout里面怎么走transport写数据. 试试HTTP?
- ElasticsearchHTTP: cluster: accesslayer_log hosts: - 192.168.145.128 index: 'webaccess-%{+YYYY-MM-dd}' user: admin password: 123456 index_type: accesslayer bulk_actions: 20000 bulk_size: 15 flush_interval: 15
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/childe/hangout/issues/134#issuecomment-413130959, or mute the thread https://github.com/notifications/unsubscribe-auth/AnNmO0nN0yz2Z-41-x7VIhaKYsDPhKlwks5uQ9zfgaJpZM4V8Qkx .