I use elasticsearch 8.3.3. When i type
curl -X GET "localhost:9200"
{
"name" : "elkvm",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "P_UJ2AcOSRmj3AWwMylLvQ",
"version" : {
"number" : "8.3.3",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "801fed82df74dbe537f89b71b098ccaff88d2c56",
"build_date" : "2022-07-23T19:30:09.227964828Z",
"build_snapshot" : false,
"lucene_version" : "9.2.0",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
But I can't acces via browser.
this is the logs
sudo cat /var/log/elasticsearch/elasticsearch.log
[2022-08-04T13:57:07,666][INFO ][o.e.n.Node ] [elkvm] stopping ...
[2022-08-04T13:57:07,678][INFO ][o.e.x.w.WatcherService ] [elkvm] stopping watch service, reason [shutdown initiated]
[2022-08-04T13:57:07,680][INFO ][o.e.x.w.WatcherLifeCycleService] [elkvm] watcher has stopped and shutdown
[2022-08-04T13:57:07,871][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [elkvm] [controller/6243] [Main.cc@176] ML controller exiting
[2022-08-04T13:57:07,879][INFO ][o.e.x.m.p.NativeController] [elkvm] Native controller process has stopped - no new native processes can be started
[2022-08-04T13:57:07,989][INFO ][o.e.n.Node ] [elkvm] stopped
[2022-08-04T13:57:07,990][INFO ][o.e.n.Node ] [elkvm] closing ...
[2022-08-04T13:57:08,023][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [elkvm] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-14676071583531464285/geoip-databases/LDFSRRXTSbK-N7BcaTDSxQ/GeoLite2-Country.mmdb]
[2022-08-04T13:57:08,023][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [elkvm] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-14676071583531464285/geoip-databases/LDFSRRXTSbK-N7BcaTDSxQ/GeoLite2-ASN.mmdb]
[2022-08-04T13:57:08,024][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [elkvm] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-14676071583531464285/geoip-databases/LDFSRRXTSbK-N7BcaTDSxQ/GeoLite2-City.mmdb]
[2022-08-04T13:57:08,030][INFO ][o.e.n.Node ] [elkvm] closed
[2022-08-04T13:57:16,801][INFO ][o.e.n.Node ] [elkvm] version[8.3.3], pid[6743], build[deb/801fed82df74dbe537f89b71b098ccaff88d2c56/2022-07-23T19:30:09.227964828Z], OS[Linux/5.15.0-43-generic/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/18.0.2/18.0.2+9-61]
[2022-08-04T13:57:16,807][INFO ][o.e.n.Node ] [elkvm] JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]
[2022-08-04T13:57:16,807][INFO ][o.e.n.Node ] [elkvm] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-11762750706549057846, -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, -Xms1938m, -Xmx1938m, -XX:MaxDirectMemorySize=1016070144, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.distribution.type=deb, --module-path=/usr/share/elasticsearch/lib, -Djdk.module.main=org.elasticsearch.server]
[2022-08-04T13:57:19,956][INFO ][c.a.c.i.j.JacksonVersion ] [elkvm] Package versions: jackson-annotations=2.13.2, jackson-core=2.13.2, jackson-databind=2.13.2.2, jackson-dataformat-xml=2.13.2, jackson-datatype-jsr310=2.13.2, azure-core=1.27.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot
[2022-08-04T13:57:21,817][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [aggs-matrix-stats]
[2022-08-04T13:57:21,818][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [analysis-common]
[2022-08-04T13:57:21,818][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [constant-keyword]
[2022-08-04T13:57:21,818][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [data-streams]
[2022-08-04T13:57:21,818][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [frozen-indices]
[2022-08-04T13:57:21,819][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [ingest-common]
[2022-08-04T13:57:21,819][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [ingest-geoip]
[2022-08-04T13:57:21,819][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [ingest-user-agent]
[2022-08-04T13:57:21,820][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [kibana]
[2022-08-04T13:57:21,820][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [lang-expression]
[2022-08-04T13:57:21,820][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [lang-mustache]
[2022-08-04T13:57:21,821][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [lang-painless]
[2022-08-04T13:57:21,821][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [legacy-geo]
[2022-08-04T13:57:21,821][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [mapper-extras]
[2022-08-04T13:57:21,821][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [mapper-version]
[2022-08-04T13:57:21,821][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [old-lucene-versions]
[2022-08-04T13:57:21,822][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [parent-join]
[2022-08-04T13:57:21,822][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [percolator]
[2022-08-04T13:57:21,822][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [rank-eval]
[2022-08-04T13:57:21,822][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [reindex]
[2022-08-04T13:57:21,822][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [repositories-metering-api]
[2022-08-04T13:57:21,822][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [repository-azure]
[2022-08-04T13:57:21,822][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [repository-encrypted]
[2022-08-04T13:57:21,823][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [repository-gcs]
[2022-08-04T13:57:21,823][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [repository-s3]
[2022-08-04T13:57:21,823][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [repository-url]
[2022-08-04T13:57:21,823][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [runtime-fields-common]
[2022-08-04T13:57:21,823][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [search-business-rules]
[2022-08-04T13:57:21,823][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [searchable-snapshots]
[2022-08-04T13:57:21,823][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [snapshot-based-recoveries]
[2022-08-04T13:57:21,824][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [snapshot-repo-test-kit]
[2022-08-04T13:57:21,824][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [spatial]
[2022-08-04T13:57:21,826][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [systemd]
[2022-08-04T13:57:21,826][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [transform]
[2022-08-04T13:57:21,827][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [transport-netty4]
[2022-08-04T13:57:21,827][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [unsigned-long]
[2022-08-04T13:57:21,827][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [vector-tile]
[2022-08-04T13:57:21,827][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [vectors]
[2022-08-04T13:57:21,827][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [wildcard]
[2022-08-04T13:57:21,828][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-aggregate-metric]
[2022-08-04T13:57:21,828][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-analytics]
[2022-08-04T13:57:21,828][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-async]
[2022-08-04T13:57:21,829][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-async-search]
[2022-08-04T13:57:21,829][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-autoscaling]
[2022-08-04T13:57:21,829][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-ccr]
[2022-08-04T13:57:21,829][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-core]
[2022-08-04T13:57:21,830][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-deprecation]
[2022-08-04T13:57:21,830][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-enrich]
[2022-08-04T13:57:21,830][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-eql]
[2022-08-04T13:57:21,830][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-fleet]
[2022-08-04T13:57:21,831][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-graph]
[2022-08-04T13:57:21,831][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-identity-provider]
[2022-08-04T13:57:21,831][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-ilm]
[2022-08-04T13:57:21,831][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-logstash]
[2022-08-04T13:57:21,832][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-ml]
[2022-08-04T13:57:21,832][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-monitoring]
[2022-08-04T13:57:21,833][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-ql]
[2022-08-04T13:57:21,833][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-rollup]
[2022-08-04T13:57:21,834][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-security]
[2022-08-04T13:57:21,834][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-shutdown]
[2022-08-04T13:57:21,836][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-sql]
[2022-08-04T13:57:21,837][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-stack]
[2022-08-04T13:57:21,838][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-text-structure]
[2022-08-04T13:57:21,838][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-voting-only-node]
[2022-08-04T13:57:21,838][INFO ][o.e.p.PluginsService ] [elkvm] loaded module [x-pack-watcher]
[2022-08-04T13:57:21,838][INFO ][o.e.p.PluginsService ] [elkvm] no plugins loaded
[2022-08-04T13:57:26,260][INFO ][o.e.e.NodeEnvironment ] [elkvm] using [1] data paths, mounts [[/ (/dev/sda3)]], net usable_space [79.4gb], net total_space [97.3gb], types [ext4]
[2022-08-04T13:57:26,261][INFO ][o.e.e.NodeEnvironment ] [elkvm] heap size [1.8gb], compressed ordinary object pointers [true]
[2022-08-04T13:57:26,335][INFO ][o.e.n.Node ] [elkvm] node name [elkvm], node ID [LDFSRRXTSbK-N7BcaTDSxQ], cluster name [elasticsearch], roles [ingest, data_frozen, ml, data_hot, transform, data_content, data_warm, master, remote_cluster_client, data, data_cold]
[2022-08-04T13:57:31,118][INFO ][o.e.x.s.Security ] [elkvm] Security is disabled
[2022-08-04T13:57:31,256][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [elkvm] [controller/6765] [Main.cc@123] controller (64 bit): Version 8.3.3 (Build d2d2e518384d45) Copyright (c) 2022 Elasticsearch BV
[2022-08-04T13:57:31,745][INFO ][o.e.t.n.NettyAllocator ] [elkvm] 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}]
[2022-08-04T13:57:31,829][INFO ][o.e.i.r.RecoverySettings ] [elkvm] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2022-08-04T13:57:31,871][INFO ][o.e.d.DiscoveryModule ] [elkvm] using discovery type [multi-node] and seed hosts providers [settings]
[2022-08-04T13:57:33,770][INFO ][o.e.n.Node ] [elkvm] initialized
[2022-08-04T13:57:33,771][INFO ][o.e.n.Node ] [elkvm] starting ...
[2022-08-04T13:57:33,809][INFO ][o.e.x.s.c.f.PersistentCache] [elkvm] persistent cache index loaded
[2022-08-04T13:57:33,810][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [elkvm] deprecation component started
[2022-08-04T13:57:33,932][INFO ][o.e.t.TransportService ] [elkvm] publish_address {10.34.60.132:9300}, bound_addresses {[::]:9300}
[2022-08-04T13:57:34,440][INFO ][o.e.b.BootstrapChecks ] [elkvm] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2022-08-04T13:57:34,447][WARN ][o.e.c.c.ClusterBootstrapService] [elkvm] this node is locked into cluster UUID [P_UJ2AcOSRmj3AWwMylLvQ] but [cluster.initial_master_nodes] is set to [elkvm]; remove this setting to avoid possible data loss caused by subsequent cluster bootstrap attempts
[2022-08-04T13:57:34,652][INFO ][o.e.c.s.MasterService ] [elkvm] elected-as-master ([1] nodes joined)[_FINISH_ELECTION_, {elkvm}{LDFSRRXTSbK-N7BcaTDSxQ}{seY_nR1aQlSYNDa-USwITg}{elkvm}{10.34.60.132}{10.34.60.132:9300}{cdfhilmrstw} completing election], term: 13, version: 94, delta: master node changed {previous [], current [{elkvm}{LDFSRRXTSbK-N7BcaTDSxQ}{seY_nR1aQlSYNDa-USwITg}{elkvm}{10.34.60.132}{10.34.60.132:9300}{cdfhilmrstw}]}
[2022-08-04T13:57:34,731][INFO ][o.e.c.s.ClusterApplierService] [elkvm] master node changed {previous [], current [{elkvm}{LDFSRRXTSbK-N7BcaTDSxQ}{seY_nR1aQlSYNDa-USwITg}{elkvm}{10.34.60.132}{10.34.60.132:9300}{cdfhilmrstw}]}, term: 13, version: 94, reason: Publication{term=13, version=94}
[2022-08-04T13:57:34,774][INFO ][o.e.h.AbstractHttpServerTransport] [elkvm] publish_address {10.34.60.132:9200}, bound_addresses {[::]:9200}
[2022-08-04T13:57:34,774][INFO ][o.e.n.Node ] [elkvm] started {elkvm}{LDFSRRXTSbK-N7BcaTDSxQ}{seY_nR1aQlSYNDa-USwITg}{elkvm}{10.34.60.132}{10.34.60.132:9300}{cdfhilmrstw}{ml.machine_memory=4066344960, xpack.installed=true, ml.max_jvm_size=2034237440}
[2022-08-04T13:57:35,112][INFO ][o.e.l.LicenseService ] [elkvm] license [b6287415-2dee-4d41-833d-f8679de5ab61] mode [basic] - valid
[2022-08-04T13:57:35,117][INFO ][o.e.g.GatewayService ] [elkvm] recovered [1] indices into cluster_state
[2022-08-04T13:57:35,240][ERROR][o.e.i.g.GeoIpDownloader ] [elkvm] exception during geoip databases update
org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active
at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:134) ~[ingest-geoip-8.3.3.jar:8.3.3]
at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:274) [ingest-geoip-8.3.3.jar:8.3.3]
at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:102) [ingest-geoip-8.3.3.jar:8.3.3]
at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:48) [ingest-geoip-8.3.3.jar:8.3.3]
at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:42) [elasticsearch-8.3.3.jar:?]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:769) [elasticsearch-8.3.3.jar:?]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) [elasticsearch-8.3.3.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
[2022-08-04T13:57:35,734][INFO ][o.e.c.r.a.AllocationService] [elkvm] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.geoip_databases][0]]])." previous.health="RED" reason="shards started [[.geoip_databases][0]]"
[2022-08-04T13:57:36,292][INFO ][o.e.i.g.DatabaseNodeService] [elkvm] successfully loaded geoip database file [GeoLite2-Country.mmdb]
[2022-08-04T13:57:36,493][INFO ][o.e.i.g.DatabaseNodeService] [elkvm] successfully loaded geoip database file [GeoLite2-ASN.mmdb]
[2022-08-04T13:57:37,474][INFO ][o.e.i.g.DatabaseNodeService] [elkvm] successfully loaded geoip database file [GeoLite2-City.mmdb]
this is my yml file
sudo cat /etc/elasticsearch/elasticsearch.yml
# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
# Before you set out to tweak and tune the configuration, make sure you
# understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /var/lib/elasticsearch
#
# Path to log files:
#
path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# By default Elasticsearch is only accessible on localhost. Set a different
# address here to expose this node on the network:
#
network.host: 0.0.0.0
#
# By default Elasticsearch listens for HTTP traffic on the first free port it
# finds starting at 9200. Set a specific HTTP port here:
#
#http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#
discovery.seed_hosts: [ ]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
#cluster.initial_master_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#discovery.type: single-node
# --------------------------------- Readiness ----------------------------------
#
# Enable an unauthenticated TCP readiness endpoint on localhost
#
#readiness.port: 9399
#
# ---------------------------------- Various -----------------------------------
#
# Allow wildcard deletion of indices:
#
#action.destructive_requires_name: false
#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------
#
# The following settings, TLS certificates, and keys have been automatically
# generated to configure Elasticsearch security features on 03-08-2022 14:23:32
#
# --------------------------------------------------------------------------------
# Enable security features
xpack.security.enabled: false
xpack.security.enrollment.enabled: false
# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
enabled: false
keystore.path: certs/http.p12
# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:
enabled: false
verification_mode: certificate
keystore.path: certs/transport.p12
truststore.path: certs/transport.p12
# Create a new cluster with the current node only
# Additional nodes can still join the cluster later
cluster.initial_master_nodes: ["elkvm"]
# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication
#http.host: 0.0.0.0
# Allow other nodes to join the cluster from anywhere
# Connections are encrypted and mutually authenticated
transport.host: 0.0.0.0
#----------------------- END SECURITY AUTO CONFIGURATION -------------------------