elasticsearch – elastic search and kibana not running
I have elastic search and kibana at first when i unzip both folder i was able to run batch file but next day i cant run both. i have to unzip folder every day to run it.
what is the problem. I am using windows. both version are 8.17.0
here is my yml
file after running first time this code is added. elastic search:
# Enable security features
xpack.security.enabled: true
xpack.security.enrollment.enabled: true
# # Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
enabled: true
keystore.path: certs/http.p12
# # Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:
enabled: true
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: ["LAPTOP-NQM4PD82"]
# # 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
kibana.yml
# This section was automatically generated during setup.
elasticsearch.hosts: ['https://192.168.68.1:9200']
elasticsearch.serviceAccountToken: AAEAAWVsYXN0aWMva2liYW5hL2Vucm9sbC1wcm9jZXNzLXRva2VuLTE3Mzc0NTQ4NDg5MzM6TE5PQVdfejBTb3lJLUlJRGluS2p5dw
elasticsearch.ssl.certificateAuthorities: ['C:\Elastic-stack\kibana-8.17.0\data\ca_1737454850263.crt']
xpack.fleet.outputs: [{id: fleet-default-output, name: default, is_default: true, is_default_monitoring: true, type: elasticsearch, hosts: ['https://192.168.68.1:9200'], ca_trusted_fingerprint: 9805b91b87c69c24e042e463de0a80bafdec9a4df4b7c158117355bfede6bf50}]
Read more here: Source link