ES is up and running but not creating index automatically and not connecting to micro services also.
ps -ef | grep elasticsearch
imail 3767 1 0 06:22 pts/0 00:00:11 /usr/lib/jvm/java-1.8.0-amazon-corretto/bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -XX:+HeapDumpOnOutOfMemoryError -Des.path.home=/work/imail/elasticsearch-5.6.16 -cp /work/imail/elasticsearch-5.6.16/lib/* org.elasticsearch.bootstrap.Elasticsearch -d
ES log:
[2024-05-06T07:06:59,672][INFO ][o.e.n.Node ] [mirs0001] starting ... [2024-05-06T07:06:59,825][INFO ][o.e.t.TransportService ] [mirs0001] publish_address {[::1]:9300}, bound_addresses {[::1]:9300} [2024-05-06T07:07:02,899][INFO ][o.e.c.s.ClusterService ] [mirs0001] new_master {mirs0001}{d8OPQqqNTE-7Bt6CBo7i9w}{xsI4G2KwR5iZSVP7RXI-oA}{localhost}{[::1]:9300}, reason: zen-disco-elected-as-master ([0] nodes joined) [2024-05-06T07:07:02,926][INFO ][o.e.h.n.Netty4HttpServerTransport] [mirs0001] publish_address {127.0.0.1:9200}, bound_addresses {127.0.0.1:9200}, {[::1]:9200} [2024-05-06T07:07:02,938][INFO ][o.e.n.Node ] [mirs0001] started [2024-05-06T07:07:02,944][INFO ][o.e.g.GatewayService ] [mirs0001] recovered [0] indices into cluster_state
How can I CREATE index automatically?