Hi All,
I have setup a Elastic search cluster in AWS using the ec2 discovery plugin.
I have 2 Nodes, one as master and another as data node.
They are able to discover automatically and i see the 2 Nodes on the master
Im not able to connect my Kibana to the elasticsearch master.. Can someone help me.
I have made a curl connection from kibana to the elasticsearch server and its working fine
curl http://172-31-13-233:9200
Kibana.yml: Only enabled the below 3 values
server.port: 5601
server.host: 172.31.5.33
elasticsearch.hosts: ["http://172.31.13.233:9200"]
What additonal values i need to enable on Kibana.yml to have my kibana connect to elasticsearch
Error message:
ubuntu@ip-172-31-5-33:~/kibana-7.5.2-linux-x86_64/bin$ ./kibana
log [00:11:47.975] [info][plugins-system] Setting up [15] plugins: [security,licensing,code,timelion,features,spaces,translations,uiActions,newsfeed,inspector,embeddable,advancedUiActions,expressions,eui_utils,data]
log [00:11:47.983] [info][plugins][security] Setting up plugin
log [00:11:47.984] [warning][config][plugins][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
log [00:11:47.985] [warning][config][plugins][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [00:11:47.999] [info][licensing][plugins] Setting up plugin
log [00:11:48.002] [info][code][plugins] Setting up plugin
log [00:11:48.003] [info][plugins][timelion] Setting up plugin
log [00:11:48.004] [info][features][plugins] Setting up plugin
log [00:11:48.005] [info][plugins][spaces] Setting up plugin
log [00:11:48.009] [info][plugins][translations] Setting up plugin
log [00:11:48.010] [info][data][plugins] Setting up plugin
log [00:11:51.248] [info][licensing][plugins] Imported changed license information from Elasticsearch for the [data] cluster: type: basic | status: active
log [00:11:51.502] [warning][legacy-plugins] Skipping non-plugin directory at /home/ubuntu/kibana-7.5.2-linux-x86_64/src/legacy/core_plugins/visualizations
log [00:11:52.243] [info][plugins-system] Starting [8] plugins: [security,licensing,code,timelion,features,spaces,translations,data]
log [00:11:52.259] [info][migrations] Creating index .kibana_task_manager_1.
log [00:11:52.261] [info][migrations] Creating index .kibana_1.
log [00:11:52.266] [warning][migrations] Unable to connect to Elasticsearch. Error: [resource_already_exists_exception] index [.kibana_task_manager_1/LRtbT1CvQMid9yX6fsvVLw] already exists, with { index_uuid="LRtbT1CvQMid9yX6fsvVLw" & index=".kibana_task_manager_1" }
ElasticSearch Cluster Health:
ubuntu@ip-172-31-13-233:~$ curl -XGET http://172.31.13.233:9200/_cluster/health |jq
{
"cluster_name": "es-demo",
"status": "red",
"timed_out": false,
"number_of_nodes": 2,
"number_of_data_nodes": 1,
"active_primary_shards": 0,