Hi Team, I have Elastic Cluster with 2 nodes. it acts as database. with test index
how to know or how to monitor query response time.
Hi, do you have Kibana configured? If so, you can monitor response times in Stack Monitoring.
@lukas hey thanks for the response. Yes, I enabled stack monitoring.
I followed these directions link.
in that var.path i mentioned log path but in that but unable locate logs that logs directory was empty. here is the elasticsearh.yml file
cluster.name: "docker-cluster"
network.host: 0.0.0.0
path.logs: /usr/share/elasticsearch/logs/es
#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------
#
# The following settings, TLS certificates, and keys have been automatically
# generated to configure Elasticsearch security features on 14-11-2023 12:25:52
#
# --------------------------------------------------------------------------------
# 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: ["00e4cbfc0ae0"]
here is the logs directory.
elasticsearch@00e4cbfc0ae0:~/logs$ ls
es gc.log.00 gc.log.02 gc.log.04 gc.log.06 gc.log.08 gc.log.10 gc.log.12 gc.log.14 gc.log.16
gc.log gc.log.01 gc.log.03 gc.log.05 gc.log.07 gc.log.09 gc.log.11 gc.log.13 gc.log.15
elasticsearch@00e4cbfc0ae0:~/logs$ cd es/
**elasticsearch@00e4cbfc0ae0:~/logs/es$ ls**
**elasticsearch@00e4cbfc0ae0:~/logs/es$ pwd**
**/usr/share/elasticsearch/logs/es**
elasticsearch@00e4cbfc0ae0:~/logs/es$
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.