Logstash 9.5.7 not compatible with Filebeat 9.2.1

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.

If doesn't help what Leandro suggest, then show us output.logstash params from filebeat.yml and input.beats from your .conf

Hi @gbschenkel

I just tested filebeat 9.2.1 with logstash 9.5.7 and it seems to work fine.

I used defaults for both...

filebeat.yml

filebeat.inputs:
- type: filestream
  id: my-filestream-id
  enabled: true
  paths:
    - /var/log/*.log
filebeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: false
setup.template.settings:
  index.number_of_shards: 1
setup.kibana:
output.logstash:
  hosts: ["localhost:5044"]
processors:
  - add_host_metadata:
      when.not.contains.tags: forwarded
  - add_cloud_metadata: ~
  - add_docker_metadata: ~

logstash-conf.yml

# Sample Logstash configuration for creating a simple
# Beats -> Logstash -> Elasticsearch pipeline.

input {
  beats {
    port => 5044
  }
}

output {
  elasticsearch {
    hosts => ["http://localhost:9200"]
    index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
    #user => "elastic"
    #password => "changeme"
  }
}

Data flowed fine... no errors...

So perhaps share your config.