kibana服务器未就绪7.10

svgewumm  于 2021-06-13  发布在  ElasticSearch
关注(0)|答案(0)|浏览(495)

我看了这个视频https://www.youtube.com/watch?v=gzb7hpvoges&lc=ugytpc8evhfmld7yebv4aaabag.9gmqvwxzkjc9gmsbbrucxy
在我的ubuntu20的虚拟盒示例上。
弹性似乎运行良好,但当我试图运行kibana我收到“kibana服务器未就绪”错误。elastic和kibana都是7.10
当我运行journalctl-u kibana.services时,我收到:

Dec 03 14:04:25 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:25Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:27 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:27Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:30 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:30Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:32 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:32Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:35 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:35Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:37 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:37Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:40 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:40Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:42 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:42Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:45 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:45Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:47 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:47Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:50 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:50Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}
Dec 03 14:04:52 elk kibana[647]: {"type":"log","@timestamp":"2020-12-03T14:04:52Z","tags":["error","elasticsearch","data"],"pid":647,"message":"[ConnectionError]: connect ECONNREFUSED 127.0.0.1:9200"}

弹性yml

cluster.name: lab

node.name: lab1

path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch

bootstrap.memory_lock: true

network.host: 0.0.0.0
http.port: 9200

discovery.type: 'single-node'

indices.query.bool.max_clause_count: 8192
search.max_buckets: 250000

action.destructive_requires_name: 'true'

reindex.remote.whitelist: '*:*'

xpack.monitoring.enabled: 'true'
xpack.monitoring.collection.enabled: 'true'
xpack.monitoring.collection.interval: 30s

xpack.security.enabled: 'true'
xpack.security.audit.enabled: 'false'

node.ml: 'false'
xpack.ml.enabled: 'false'

xpack.watcher.enabled: 'false'

xpack.ilm.enabled: 'true'

xpack.sql.enabled: 'true'

Kibanayml

server.name: 'lab1'
server.host: '0.0.0.0'
server.port: 5601

server.maxPayloadBytes: 8388608

elasticsearch.hosts: ['http://127.0.0.1:9200']
elasticsearch.username: 'kibana'
elasticsearch.password: 'changeme'

elasticsearch.requestTimeout: 132000
elasticsearch.shardTimeout: 120000

kibana.index: '.kibana'

# kibana.defaultAppId: 'dashboard/<dashboard_id>'

# logging.quiet: true

# logging.timezone: 'UTC'

vega.enableExternalUrls: true

console.enabled: true

xpack.security.enabled: true
xpack.security.audit.enabled: false

xpack.monitoring.enabled: true
xpack.monitoring.kibana.collection.enabled: true
xpack.monitoring.kibana.collection.interval: 30000

xpack.monitoring.ui.enabled: true
xpack.monitoring.min_interval_seconds: 30

# xpack.monitoring.ui.container.elasticsearch.enabled: 'false'

# xpack.apm.enabled: true

# xpack.apm.ui.enabled: true

xpack.grokdebugger.enabled: true

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题