Here is my log elasticsearch
2023-10-11T09:36:42,227][INFO ][o.e.n.Node ] [node-1] version[7.17.14], pid[25513], build[default/deb/774e3bfa4d52e2834e4d9d8d669d77e4e5c1017f/2023-10-05T22:17:33.780167078Z], OS[Linux/5.15.0-86-generic/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/21/21+35-2513]
[2023-10-11T09:36:42,238][INFO ][o.e.n.Node ] [node-1] JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]
[2023-10-11T09:36:42,251][INFO ][o.e.n.Node ] [node-1] JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -Djava.security.manager=allow, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-17953803994196927762, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Xms7995m, -Xmx7995m, -XX:MaxDirectMemorySize=4192206848, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=deb, -Des.bundled_jdk=true]
[2023-10-11T09:36:44,637][INFO ][o.e.p.PluginsService ] [node-1] loaded module [aggs-matrix-stats]
[2023-10-11T09:36:44,638][INFO ][o.e.p.PluginsService ] [node-1] loaded module [analysis-common]
[2023-10-11T09:36:44,638][INFO ][o.e.p.PluginsService ] [node-1] loaded module [constant-keyword]
[2023-10-11T09:36:44,639][INFO ][o.e.p.PluginsService ] [node-1] loaded module [frozen-indices]
[2023-10-11T09:36:44,639][INFO ][o.e.p.PluginsService ] [node-1] loaded module [ingest-common]
[2023-10-11T09:36:44,639][INFO ][o.e.p.PluginsService ] [node-1] loaded module [ingest-geoip]
[2023-10-11T09:36:44,639][INFO ][o.e.p.PluginsService ] [node-1] loaded module [ingest-user-agent]
[2023-10-11T09:36:44,639][INFO ][o.e.p.PluginsService ] [node-1] loaded module [kibana]
[2023-10-11T09:36:44,639][INFO ][o.e.p.PluginsService ] [node-1] loaded module [lang-expression]
[2023-10-11T09:36:44,640][INFO ][o.e.p.PluginsService ] [node-1] loaded module [lang-mustache]
[2023-10-11T09:36:44,640][INFO ][o.e.p.PluginsService ] [node-1] loaded module [lang-painless]
[2023-10-11T09:36:44,640][INFO ][o.e.p.PluginsService ] [node-1] loaded module [legacy-geo]
[2023-10-11T09:36:44,641][INFO ][o.e.p.PluginsService ] [node-1] loaded module [mapper-extras]
[2023-10-11T09:36:44,641][INFO ][o.e.p.PluginsService ] [node-1] loaded module [mapper-version]
[2023-10-11T09:36:44,641][INFO ][o.e.p.PluginsService ] [node-1] loaded module [parent-join]
[2023-10-11T09:36:44,641][INFO ][o.e.p.PluginsService ] [node-1] loaded module [percolator]
[2023-10-11T09:36:44,642][INFO ][o.e.p.PluginsService ] [node-1] loaded module [rank-eval]
[2023-10-11T09:36:44,642][INFO ][o.e.p.PluginsService ] [node-1] loaded module [reindex]
[2023-10-11T09:36:44,642][INFO ][o.e.p.PluginsService ] [node-1] loaded module [repositories-metering-api]
[2023-10-11T09:36:44,642][INFO ][o.e.p.PluginsService ] [node-1] loaded module [repository-encrypted]
[2023-10-11T09:36:44,643][INFO ][o.e.p.PluginsService ] [node-1] loaded module [repository-url]
[2023-10-11T09:36:44,643][INFO ][o.e.p.PluginsService ] [node-1] loaded module [runtime-fields-common]
[2023-10-11T09:36:44,643][INFO ][o.e.p.PluginsService ] [node-1] loaded module [search-business-rules]
[2023-10-11T09:36:44,643][INFO ][o.e.p.PluginsService ] [node-1] loaded module [searchable-snapshots]
[2023-10-11T09:36:44,644][INFO ][o.e.p.PluginsService ] [node-1] loaded module [snapshot-repo-test-kit]
[2023-10-11T09:36:44,644][INFO ][o.e.p.PluginsService ] [node-1] loaded module [spatial]
[2023-10-11T09:36:44,644][INFO ][o.e.p.PluginsService ] [node-1] loaded module [systemd]
[2023-10-11T09:36:44,644][INFO ][o.e.p.PluginsService ] [node-1] loaded module [transform]
[2023-10-11T09:36:44,644][INFO ][o.e.p.PluginsService ] [node-1] loaded module [transport-netty4]
[2023-10-11T09:36:44,645][INFO ][o.e.p.PluginsService ] [node-1] loaded module [unsigned-long]
[2023-10-11T09:36:44,645][INFO ][o.e.p.PluginsService ] [node-1] loaded module [vector-tile]
[2023-10-11T09:36:44,645][INFO ][o.e.p.PluginsService ] [node-1] loaded module [vectors]
[2023-10-11T09:36:44,645][INFO ][o.e.p.PluginsService ] [node-1] loaded module [wildcard]
[2023-10-11T09:36:44,645][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-aggregate-metric]
[2023-10-11T09:36:44,645][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-analytics]
[2023-10-11T09:36:44,646][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-async]
[2023-10-11T09:36:44,646][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-async-search]
[2023-10-11T09:36:44,646][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-autoscaling]
[2023-10-11T09:36:44,646][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-ccr]
[2023-10-11T09:36:44,647][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-core]
[2023-10-11T09:36:44,647][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-data-streams]
[2023-10-11T09:36:44,647][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-deprecation]
[2023-10-11T09:36:44,647][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-enrich]
[2023-10-11T09:36:44,647][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-eql]
[2023-10-11T09:36:44,648][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-fleet]
[2023-10-11T09:36:44,648][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-graph]
[2023-10-11T09:36:44,648][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-identity-provider]
[2023-10-11T09:36:44,648][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-ilm]
[2023-10-11T09:36:44,648][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-logstash]
[2023-10-11T09:36:44,648][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-ml]
[2023-10-11T09:36:44,649][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-monitoring]
[2023-10-11T09:36:44,649][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-ql]
[2023-10-11T09:36:44,649][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-rollup]
[2023-10-11T09:36:44,649][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-security]
[2023-10-11T09:36:44,650][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-shutdown]
[2023-10-11T09:36:44,651][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-sql]
[2023-10-11T09:36:44,651][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-stack]
[2023-10-11T09:36:44,651][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-text-structure]
[2023-10-11T09:36:44,651][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-voting-only-node]
[2023-10-11T09:36:44,652][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-watcher]
[2023-10-11T09:36:44,652][INFO ][o.e.p.PluginsService ] [node-1] no plugins loaded
[2023-10-11T09:36:44,686][INFO ][o.e.e.NodeEnvironment ] [node-1] using [1] data paths, mounts [[/ (/dev/mapper/ubuntu--vg-ubuntu--lv)]], net usable_space [77.8gb], net total_space [96.8gb], types [ext4]
[2023-10-11T09:36:44,686][INFO ][o.e.e.NodeEnvironment ] [node-1] heap size [7.8gb], compressed ordinary object pointers [true]
[2023-10-11T09:36:44,777][INFO ][o.e.n.Node ] [node-1] node name [node-1], node ID [2XbFbdMuRlmbr7p5PXaaYA], cluster name [elasticsearch], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2023-10-11T09:36:49,972][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [node-1] [controller/25742] [Main.cc@122] controller (64 bit): Version 7.17.14 (Build c95a729561c5c0) Copyright (c) 2023 Elasticsearch BV
[2023-10-11T09:36:50,834][INFO ][o.e.x.s.a.s.FileRolesStore] [node-1] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2023-10-11T09:36:52,314][INFO ][o.e.i.g.ConfigDatabases ] [node-1] initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [/etc/elasticsearch/ingest-geoip] for changes
[2023-10-11T09:36:52,323][INFO ][o.e.i.g.DatabaseNodeService] [node-1] initialized database registry, using geoip-databases directory [/tmp/elasticsearch-17953803994196927762/geoip-databases/2XbFbdMuRlmbr7p5PXaaYA]
[2023-10-11T09:36:53,098][INFO ][o.e.t.NettyAllocator ] [node-1] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
[2023-10-11T09:36:53,131][INFO ][o.e.i.r.RecoverySettings ] [node-1] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2023-10-11T09:36:53,183][ERROR][o.e.b.Bootstrap ] [node-1] Exception
java.lang.IllegalArgumentException: setting [cluster.initial_master_nodes] is not allowed when [discovery.type] is set to [single-node]
at org.elasticsearch.cluster.coordination.ClusterBootstrapService.<init>(ClusterBootstrapService.java:89) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.cluster.coordination.Coordinator.<init>(Coordinator.java:253) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.discovery.DiscoveryModule.<init>(DiscoveryModule.java:189) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.node.Node.<init>(Node.java:886) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.node.Node.<init>(Node.java:309) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434) [elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:169) [elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:160) [elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77) [elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112) [elasticsearch-cli-7.17.14.jar:7.17.14]
at org.elasticsearch.cli.Command.main(Command.java:77) [elasticsearch-cli-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:125) [elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) [elasticsearch-7.17.14.jar:7.17.14]
[2023-10-11T09:36:53,186][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [node-1] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: setting [cluster.initial_master_nodes] is not allowed when [discovery.type] is set to [single-node]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:173) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:160) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112) ~[elasticsearch-cli-7.17.14.jar:7.17.14]
at org.elasticsearch.cli.Command.main(Command.java:77) ~[elasticsearch-cli-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:125) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) ~[elasticsearch-7.17.14.jar:7.17.14]
Caused by: java.lang.IllegalArgumentException: setting [cluster.initial_master_nodes] is not allowed when [discovery.type] is set to [single-node]
at org.elasticsearch.cluster.coordination.ClusterBootstrapService.<init>(ClusterBootstrapService.java:89) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.cluster.coordination.Coordinator.<init>(Coordinator.java:253) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.discovery.DiscoveryModule.<init>(DiscoveryModule.java:189) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.node.Node.<init>(Node.java:886) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.node.Node.<init>(Node.java:309) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434) ~[elasticsearch-7.17.14.jar:7.17.14]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:169) ~[elasticsearch-7.17.14.jar:7.17.14]
... 6 more