REF: https://discuss.elastic.co/t/ssl-configured-in-beat-but-es-gives-io-netty-handler-ssl-notsslrecordexception/115421
The elasticsearch module does not support the use of the protocol configuration key, but rather should be in the hosts array, e.g.:
- module: elasticsearch
metricsets: ["node", "node_stats"]
period: 10s
hosts: ["https://hostname.example.com:9200"]
...
If the example here were to show http or https in the configuration, it would address this, I think.
REF: https://discuss.elastic.co/t/ssl-configured-in-beat-but-es-gives-io-netty-handler-ssl-notsslrecordexception/115421
The elasticsearch module does not support the use of the
protocolconfiguration key, but rather should be in thehostsarray, e.g.:If the example here were to show
httporhttpsin the configuration, it would address this, I think.