[2021-01-26T16:42:53,751][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] version[7.10.2], pid[9508], build[default/zip/747e1cc71def077253878a59143c1f785afa92b9/2021-01-13T00:42:12.435326Z], OS[Windows 10/10.0/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/15.0.1/15.0.1+9]
[2021-01-26T16:42:53,755][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] JVM home [D:\elk\elasticsearch-7.10.2\jdk], using bundled JDK [true]
[2021-01-26T16:42:53,755][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -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, -Djava.locale.providers=SPI,COMPAT, -XX:+UseG1GC, -XX:G1ReservePercent=25, -XX:InitiatingHeapOccupancyPercent=30, -Djava.io.tmpdir=C:\Users\dj_hn\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -XX:MaxDirectMemorySize=536870912, -Delasticsearch, -Des.path.home=D:\elk\elasticsearch-7.10.2, -Des.path.conf=D:\elk\elasticsearch-7.10.2\config, -Des.distribution.flavor=default, -Des.distribution.type=zip, -Des.bundled_jdk=true, exit, abort, -Xms1024m, -Xmx1024m, -Xss1024k]
[2021-01-26T16:42:56,212][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [aggs-matrix-stats]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [analysis-common]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [constant-keyword]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [flattened]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [frozen-indices]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [ingest-common]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [ingest-geoip]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [ingest-user-agent]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [kibana]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [lang-expression]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [lang-mustache]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [lang-painless]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [mapper-extras]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [mapper-version]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [parent-join]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [percolator]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [rank-eval]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [reindex]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [repositories-metering-api]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [repository-url]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [search-business-rules]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [searchable-snapshots]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [spatial]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [transform]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [transport-netty4]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [unsigned-long]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [vectors]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [wildcard]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-analytics]
[2021-01-26T16:42:56,219][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-async]
[2021-01-26T16:42:56,219][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-async-search]
[2021-01-26T16:42:56,219][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-autoscaling]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-ccr]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-core]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-data-streams]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-deprecation]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-enrich]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-eql]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-graph]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-identity-provider]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-ilm]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-logstash]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-ml]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-monitoring]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-ql]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-rollup]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-security]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-sql]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-stack]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-voting-only-node]
[2021-01-26T16:42:56,223][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] loaded module [x-pack-watcher]
[2021-01-26T16:42:56,223][INFO ][o.e.p.PluginsService ] [DESKTOP-C76AMDM] no plugins loaded
[2021-01-26T16:42:56,507][INFO ][o.e.e.NodeEnvironment ] [DESKTOP-C76AMDM] using [1] data paths, mounts [[(D:)]], net usable_space [527.5gb], net total_space [731.2gb], types [NTFS]
[2021-01-26T16:42:56,507][INFO ][o.e.e.NodeEnvironment ] [DESKTOP-C76AMDM] heap size [1gb], compressed ordinary object pointers [true]
[2021-01-26T16:42:56,571][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] node name [DESKTOP-C76AMDM], node ID [l44zs2CMSMy_0g8r2W5xZA], cluster name [elasticsearch], roles [transform, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2021-01-26T16:42:59,709][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [DESKTOP-C76AMDM] [controller/2636] [Main.cc@114] controller (64 bit): Version 7.10.2 (Build 40a3af639d4698) Copyright (c) 2021 Elasticsearch BV
[2021-01-26T16:43:00,244][INFO ][o.e.x.s.a.s.FileRolesStore] [DESKTOP-C76AMDM] parsed [0] roles from file [D:\elk\elasticsearch-7.10.2\config\roles.yml]
[2021-01-26T16:43:01,022][INFO ][o.e.t.NettyAllocator ] [DESKTOP-C76AMDM] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=1gb}]
[2021-01-26T16:43:01,074][INFO ][o.e.d.DiscoveryModule ] [DESKTOP-C76AMDM] using discovery type [zen] and seed hosts providers [settings]
[2021-01-26T16:43:01,447][WARN ][o.e.g.DanglingIndicesState] [DESKTOP-C76AMDM] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2021-01-26T16:43:01,778][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] initialized
[2021-01-26T16:43:01,778][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] starting ...
[2021-01-26T16:43:01,929][INFO ][o.e.t.TransportService ] [DESKTOP-C76AMDM] publish_address {192.168.40.1:9300}, bound_addresses {[::]:9300}
[2021-01-26T16:43:02,234][INFO ][o.e.b.BootstrapChecks ] [DESKTOP-C76AMDM] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2021-01-26T16:43:02,251][ERROR][o.e.b.Bootstrap ] [DESKTOP-C76AMDM] node validation exception
[1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
[2021-01-26T16:43:02,252][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] stopping ...
[2021-01-26T16:43:02,259][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] stopped
[2021-01-26T16:43:02,259][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] closing ...
[2021-01-26T16:43:02,268][INFO ][o.e.n.Node ] [DESKTOP-C76AMDM] closed elasticsearch(es)在配置 elasticsearch.yml 文件,让外网访问可以访问,启动报错,配置如下:
解决方案
取消注释如下代码:
|