I followed this video https://www.youtube.com/watch?v=gZb7HpVOges&lc=UgytpC8Evhfmld7YeBV4AaABAg.9GmQvwXZKJC9GmSBBrUcxY
to the T on my virtual box instance of Ubuntu 20.
Elastic appears to run fine however when I try to run kibana I receive "Kibana Server Not Ready" Error. Both elastic and kibana are 7.10
When I run a journalctl -u kibana.serviceI receive:
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"}
Elastic 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'
Kibana Yml
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