Hello Community,
I am getting an error
`kibana | {"type":"log","@timestamp":"2018-07-19T05:54:47Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: https://172.16.10.181:9200/"} . `
kibana | {"type":"log","@timestamp":"2018-07-19T05:54:47Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
My Elasticsearch is up and running, here is the result,
[root@ELK elasticsearch_certs]# curl -XGET -u elastic --cacert ca.crt https://localhost:9200/_cluster/health?prettyEnter
host password for user 'elastic': { "cluster_name" : "test-cluster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 4,
"active_shards" : 4,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}
Here is my elasticsearch.yml file
node.name: elk-test1
node.master: true
node.data: true
node.ingest: true
cluster.name: "test-cluster"
network.host: 0.0.0.0
network.bind_host: 0.0.0.0
network.publish_host: 172.16.10.181
bootstrap.memory_lock: true
xpack.license.self_generated.type: trial
xpack.monitoring.collection.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.supported_protocols: TLSv1.2
xpack.ssl.certificate_authorities: /usr/share/elasticsearch/config/x-pack/certificates/ca.crt
xpack.ssl.certificate: /usr/share/elasticsearch/config/x-pack/certificates/elk-test1.crt
xpack.ssl.key: /usr/share/elasticsearch/config/x-pack/certificates/elk-test1.key
My Kibana.yml file is
`server.host: "0"
server.name: kibana
elasticsearch.url: "https://172.16.10.181:9200"
elasticsearch.username: elastic
elasticsearch.password: <password>
server.ssl.enabled: true
server.ssl.key: /etc/kibana.key
server.ssl.certificate: /etc/kibana.crt
elasticsearch.ssl.certificateAuthorities: /etc/ca.crt
xpack.monitoring.ui.container.elasticsearch.enabled: true
xpack.security.encryptionKey: "<32 character key>"
xpack.monitoring.collection.enabled: true`