Hello,
I am trying to connect three elasticsearch node, a kibana node, and a logstash node to monitor with metricbeat. I have installed metricbeat in all nodes, but the monitoring will still not show up in kibana. The stack monitoring screen simply says no monitoring data found.
this is the metricbeat.yml in elasticsearch node 1:
metricbeat.config.modules:
# Glob pattern for configuration loading
path: ${path.config}/modules.d/*.yml
# Set to true to enable config reloading
reload.enabled: false
# Period on which files under path should be checked for changes
#reload.period: 10s
# ======================= Elasticsearch template setting =======================
setup.template.settings:
index.number_of_shards: 1
index.codec: best_compression
#_source.enabled: false
setup.kibana:
# Kibana Host
# Scheme and port can be left out and will be set to the default (http and 5601)
# In case you specify and additional path, the scheme is required: http://localhost:5601/path
# IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
host: "10.136.19.111:5601"
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["10.136.19.110:9200"]
protocol: "https"
username: "elastic"
password: "JzAeBJsr0w2ZC=0wYXVT"
ssl.certificate_authorities: ["/etc/elasticsearch/certs/http_ca.crt"]
# Performance preset - one of "balanced", "throughput", "scale",
# "latency", or "custom".
preset: balanced
processors:
- add_host_metadata: ~
- add_cloud_metadata: ~
- add_docker_metadata: ~
- add_kubernetes_metadata: ~
monitoring.enabled: true
This is elasticsearch.yml
path.data: /var/lib/elasticsearch
#
# Path to log files:
#
path.logs: /var/log/elasticsearch
node.roles: [master, data, remote_cluster_client]
network.host: 0.0.0.0
transport.host: 0.0.0.0
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: ["ITPOCLElasticsearchDev1"]
# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication
http.host: 0.0.0.0
discovery.seed_hosts: ["10.136.19.110","10.136.19.112", "10.136.19.114", "10.136.19.111", "10.136.19.116"]
xpack.monitoring.collection.enabled: true
Is there something I am missing to get the metricbeat monitoring setup?
Thank you