Long time Wazuh user, some-times poster. We opted to try and start fresh with an integrated AIO setup with ES, Kibana, and Wazuh. We figured that we can add cluster members and branch out starting with the AIO, but I wanted to get folks' takes on that.
Another thing I'm working on is the fact that, out of the box, Kibana operated on 443, thus any filebeat setup commands were stymied with the following error:
# Wazuh - Filebeat configuration file
output.elasticsearch.hosts:
# - <elasticsearch_ip_node_2>:9200
# - <elasticsearch_ip_node_3>:9200
output.elasticsearch:
protocol: https
username: wazuh
password: ****** (redacted)
ssl.certificate_authorities:
- /etc/filebeat/certs/root-ca.pem
ssl.certificate: "/etc/filebeat/certs/filebeat.pem"
ssl.key: "/etc/filebeat/certs/filebeat-key.pem"
setup.template.json.enabled: true
setup.template.json.path: '/etc/filebeat/wazuh-template.json'
setup.ilm.overwrite: true
setup.ilm.enabled: false
# =================================== Kibana ===================================
# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.
# This requires a Kibana endpoint configuration.
setup.kibana:
#verification_mode: none
# Kibana Host
# Scheme and port can be left out and will be set to the default (http and 5601)
# IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
server.ssl.enabled: true
server.ssl.key: "/etc/kibana/certs/kibana-key.pem"
server.ssl.certificate: "/etc/kibana/certs/kibana.pem"
elasticsearch.ssl.certificateAuthorities: ["/etc/kibana/certs/root-ca.pem"]
# Kibana Space ID
# ID of the Kibana Space into which the dashboards should be loaded. By default,
# the Default Space will be used.
# ============================== Filebeat modules ==============================
filebeat.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
filebeat.modules:
- module: wazuh
alerts:
enabled: true
archives:
enabled: false
Any and all help/direction is appreciated.