I have upgraded Logstash to 9.5.7 but it started to complain about the protocol on Filebeat 9.2.1, currently I can't upgrade it, well because is not my job, and I don't have permission to do so.
[2026-11-25T14:22:42,707][INFO ][org.logstash.beats.BeatsHandler][beats-pipeline] [local: 10.5.52.169:5044, remote: 10.5.27.16:57058] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 3 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 3)
io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 3
Caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 3
at org.logstash.beats.Protocol.version(Protocol.java:22)
Other protocols I could see are 0, 3, 22, 69, 71, 72.
I am posting just to clarification, and the fix is in fact upgrade Filebeat to a newer version, often the same version of the Logstash for max compability.
The only thing Elastic need to do is update the Support Matrix | Elastic to show this incompability.
PS: My resolution for now was to downgrade logstash to 9.5.6 until the other company sector upgrade the Filebeat to the latest release.
I don't think this is the issue, according to the release notes there was no change in the beats input between version 9.5.6 and 9.5.7, it also makes no sense for this to break on a patch release.
Beats and Logstash compatibility are expected to allow a wide range of versions, so this would be a critical breaking change.
Also this kind of error, Invalid version of beats protocol, normally happens when you have something trying to send data to the beats input not using the beats protocol or with some error in the configuration (like ssl related)
I think further troubleshooting would be needed here, but you would need to share more logs from Logstash, the pipeline configuration, the filebeat output configuration and the filebeat error logs as well.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.