I have two instances of gcp and both have elasticsearch 7.3 installed on it master node also have kibana 7.3 installed on the same machine, i have set same cluster name for both the nodes declare one as master and one as data node, both node are running fine but after this curl -XGET -u elastic '10.128.0.26:9200/_cluster/health'
i am getting this
{"cluster_name":"ElasticsearchStaging","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":6,"active_shards":6,"relocating
_shards":0,"initializing_shards":0,"unassigned_shards":2,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_mil
lis":0,"active_shards_percent_as_number":75.0}
no.of node : 1
node-1 elasticsearech.yml file
cluster.name: ElasticsearchStaging
#xpack.security.enabled: true
#xpack.security.audit.enabled: true
#xpack.security.http.ssl.enabled: true
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
node.name: node-1
node.master: true
path.data: /var/lib/elasticsearch
#
# Path to log files:
#
path.logs: /var/log/elasticsearch/
network.host: 10.128.0.26
#
# Set a custom port for HTTP:
#
http.port: 9200
discovery.seed_hosts:
- 10.128.0.26:9200
- 10.128.0.24:9200
cluster.initial_master_nodes:
- node-1
- node-2
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12
xpack.security.audit.enabled: true
kibana.yml
server.port: 5601
server.host: 10.128.0.26
server.name: testing
elasticsearch.hosts: [http://10.128.0.26:9200](http://10.128.0.26:9200/
kibana.index: .kibana
elasticsearch.username: "kibana"
elasticsearch.password: "kibana"
logging.dest: /etc/kibana/kibana.log
node-1 elasticsearch.log
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [
netty-transport-4.1.36.Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [
netty-transport-4.1.36.Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [ne
tty-transport-4.1.36.Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408) [netty-t
ransport-4.1.36.Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [
netty-transport-4.1.36.Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [
netty-transport-4.1.36.Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) [netty-transport-
4.1.36.Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [netty-tra
nsport-4.1.36.Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:682) [netty-transport-4.1.36.Final.
jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:582) [netty-transport-4.1.36.
Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:536) [netty-transport-4.1.36.Final
.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [netty-transport-4.1.36.Final.jar:4.1.36.Fina
l]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906) [netty-common
-4.1.36.Final.jar:4.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.36.Final.jar:4
.1.36.Final]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: at java.lang.Thread.run(Thread.java:835) [?:?]
Aug 22 08:01:36 elastic-stage-vyakar elasticsearch[6177]: [2019-08-22T08:01:36,429][INFO ][o.e.x.s.a.AuthenticationService] [node-1] Authentication of [kibana] was terminated
by realm [reserved] - failed to authenticate user [kibana]
Aug 22 08:01:37 elastic-stage-vyakar elasticsearch[6177]: [2019-08-22T08:01:37,589][INFO ][o.e.c.r.a.AllocationService] [node-1] Cluster health status changed from [RED] to [Y
ELLOW] (reason: [shards started [[kibanaindx_1][0]] ...]).
Aug 22 08:01:38 elastic-stage-vyakar elasticsearch[6177]: [2019-08-22T08:01:38,632][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.management-beats] f
or index patterns [.management-beats]