我正在尝试在aws服务器上托管elasticsearch应用程序。
我能够用它做实验,使它工作,但它是难以置信的不稳定和崩溃的自动气象站的机器。然而,这只发生在我在elasticsearch之后启动企业搜索时。我很确定,我仍然没有正确配置yml文件。有人能看一下吗?
以下是相关信息:
Private DNS: ip-172-31-14-57.eu-central-1.compute.internal
Private IPs: 172.31.14.57
Public DNS (IPv4): ec2-3-122-100-12.eu-central-1.compute.amazonaws.com
IPv4 Public IP: 3.122.100.12
elasticsearch.yml当前的外观如下:
network.host: ec2-3-122-100-12.eu-central-1.compute.amazonaws.com
http.port: 9200
discovery.seed_hosts: ["ec2-18-194-234-6.eu-central-1.compute.amazonaws.com:9300"]
xpack.security.enabled: false
discovery.type: single-node
cluster.routing.allocation.disk.threshold_enabled: true
xpack.security.authc.api_key.enabled: true
xpack.security.http.ssl.enabled: true
我不得不转身 xpack.security.enabled
暂时关闭,因为它产生了一个错误。但我想这和问题无关
enterprise-search.yml如下所示:
secret_management.encryption_keys: [5322b64cf4260f9d94751a471e5921829f3b83cda9f..]
ent_search.auth.source: standard
allow_es_settings_modification: true
elasticsearch.host: http://ec2-3-122-100-12.eu-central-1.compute.amazonaws.com:9200
elasticsearch.username: elastic
elasticsearch.password: 9Xyj4hECTcih...
ent_search.external_url: http://ec2-3-122-100-12.eu-central-1.compute.amazonaws:3002
ent_search.listen_host: 3.122.100.12
ent_search.listen_port: 3002
有人能看看我做错了什么吗?我会非常感激,我花了无数个小时试图修复整个项目。
谢谢!!
暂无答案!
目前还没有任何答案,快来回答吧!