Azure / logstash-output-kusto

Logstash output for Kusto
Apache License 2.0
13 stars 14 forks source link

Current Plugin causes issues when enabling SSL on the standard tcp input plugin #51

Closed sfennell closed 1 year ago

sfennell commented 1 year ago

When enabling SSL encryption on a Logstash tcp input plugin and the configuration also has kusto output plugin configured, the following is logged and the logstash service fails to start: java.lang.NoClassDefFoundError: io/netty/internal/tcnative/CertificateCompressionAlgo

This appears to be a compatibility issue with the Netty Handler version brought in when installing the kusto plugin:

./logstash-input-tcp-6.3.3-java/vendor/jar-dependencies/io/netty/netty-handler:
total 0
drwxr-xr-x. 2 root root 6 Jul 25 11:13 4.1.93.Final

./logstash-output-kusto-1.0.6-java/lib/io/netty/netty-handler:
total 0
drwxr-xr-x. 2 root root 44 Aug 21 10:34 4.1.68.Final
ag-ramachandran commented 1 year ago

Hello @sfennell

The latest PR / Build on https://github.com/Azure/logstash-output-kusto/pull/54 upgrades to 4.1.94-Final for all libs. This should fix it. Please do lookout for 2.0.0 which is tested against 8.x logstash

sfennell commented 1 year ago

Great News! Do you have an ETA on when this will be published to rubygems.org?

ag-ramachandran commented 1 year ago

Hello @sfennell , All going well :) ETA is in a couple of days (27/28 Sep)

sfennell commented 1 year ago

Confirmed resolved. Plugin updated via /usr/share/logstash/bin/logstash-plugin update logstash-output-kusto