Closed fribse closed 1 year ago
I just tried setting it up to use elasticsearch directly with SSL, username, and password, and that works, but I really wouldn't like to go directly to the elasticsearch, I have logstash adding monthstamps to the index names, so I can do lifecycle on the logs.
I looked up another server I have running with filebeat, connecting to logstash as well, and that is setup the same way, same url, port etc. Logstash port is unencrypted.
Found this in the log for logstash:
logstash | [2023-08-14T10:03:14,128][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:65128] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-14T10:03:14,142][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:65128] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-14T10:03:14,147][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:65128] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-14T10:03:14,147][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:65128] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105)
logstash | [2023-08-14T10:03:14,147][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:65128] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101)
logstash | [2023-08-14T10:03:14,158][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:65128] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 108 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 108)
logstash | [2023-08-14T10:06:13,251][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65158] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-14T10:06:13,252][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65158] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-14T10:06:13,265][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65163] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-14T10:06:13,265][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65163] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-14T10:06:13,267][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65163] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-14T10:06:13,310][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65164] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-14T10:06:13,311][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65164] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-14T10:09:47,471][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65185] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-14T10:09:47,472][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65185] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-14T10:09:47,473][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65185] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-14T10:09:47,473][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65185] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105)
logstash | [2023-08-14T10:09:47,473][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:65185] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101)
logstash | [2023-08-15T08:07:34,527][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:51738] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-15T08:07:34,528][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:51738] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-15T08:07:34,528][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:51738] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-15T08:07:34,534][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:51738] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105)
logstash | [2023-08-15T08:13:21,818][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:51800] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-15T08:13:21,820][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:51800] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-15T08:13:21,820][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:51800] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-15T08:13:21,822][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:51800] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105)
logstash | [2023-08-15T08:13:21,822][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:51800] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101)
logstash | [2023-08-15T08:39:02,449][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:52140] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-15T08:39:02,451][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:52140] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-15T08:39:02,475][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:52145] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-15T08:39:02,476][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:52145] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-15T08:39:02,477][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:52145] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-15T08:39:02,502][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:52146] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-15T08:39:02,503][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:52146] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-15T08:39:02,504][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 172.18.0.7:5000, remote: 10.100.1.79:52146] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-15T08:39:20,619][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52148] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-15T08:39:20,619][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52148] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-15T08:39:20,619][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52148] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-15T08:39:20,619][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52148] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105)
logstash | [2023-08-15T08:39:20,619][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52148] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101)
logstash | [2023-08-15T08:39:20,619][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52148] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 108 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 108)
logstash | [2023-08-15T08:39:20,619][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52148] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 100 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 100)
logstash | [2023-08-15T08:48:15,531][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52283] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-15T08:48:15,531][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52283] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-15T08:48:15,531][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52283] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-15T08:48:15,531][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52283] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105)
logstash | [2023-08-15T08:48:15,531][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52283] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101)
logstash | [2023-08-15T08:48:15,531][INFO ][org.logstash.beats.BeatsHandler][main][0ae7366b552aa72be240e80e886ea52cc484d39bbad92f9b7a97353823bae5b7] [local: 0.0.0.0:5000, remote: 10.100.1.79:52283] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 108 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 108)
logstash | [2023-08-15T09:09:39,728][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52537] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-15T09:09:39,736][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52537] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-15T09:09:39,736][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52537] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
logstash | [2023-08-15T09:09:39,736][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52537] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 105)
logstash | [2023-08-15T09:09:39,737][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52537] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 101)
logstash | [2023-08-15T09:09:39,737][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52537] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 108 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 108)
logstash | [2023-08-15T09:09:39,737][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52537] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 100 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 100)
logstash | [2023-08-15T09:19:15,061][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52626] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 123)
logstash | [2023-08-15T09:19:15,062][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52626] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 34)
logstash | [2023-08-15T09:19:15,062][INFO ][org.logstash.beats.BeatsHandler][main][2e4fb0dd45b37681ccf2645f9529ab0bad290e4ed5e8cb2b5acfee12015badcc] [local: 172.18.0.7:5000, remote: 10.100.1.79:52626] Handling exception: io.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102 (caused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 102)
My logstash is 7.17.4, do I need to add an old logstash to handle this?
Ahh, it needs a tcp input, not a beats input, so I added this on a seperate port:
input {
tcp {
port => 5001
type => "tcp-input"
}
}
And now this part works
-debug just changes the logging level. Running it interactively just runs one loop and exits. You can install it as a service or run using the -loop parameter if in a container.
The logfile looks like this:
So for me it looks like it connects to the 'logstash' but I don't see anything in elasticsearch? Does the debug not send the data, but only does a connect? Or is something else wrong? The logstash and elasticsearch works, and I'm using it for a lot of other logs.