Is it possible to send logs from Logstash 2.x to Logstash 6.x?


(Amruth) #1

Hi,

I am trying to setup to send logs from Logstash 2.x to Logstash 6.x. Can someone please say if it's possible?

Thanks


(Guy Boertje) #2

I can't tell whether you mean:

  1. replace a 2.X solution with 6.X
  2. have a 2.X LS instance send events to a 6.X instance.

(Amruth) #3

Hi Guy,

My current setup is - I have a Logstash 2.x forwarding logs to Logstash 5.x.

I am planning to upgrade Elasticsearch to 6.x. And I read that only Logstash 5.6-6.x is supported with Elasticsearch 6.x. And so I want to replace Logstash 5.x with Logstash 6.x.

So I am wondering if Logstash 2.x can forward logs to Logstash 6.x.

Thanks


(Guy Boertje) #4

How are you doing the forwarding?


(Amruth) #5

I am using http output and input plugins.


(Guy Boertje) #6

With JSON on the wire?

I think that should work.
Read the breaking changes docs.
https://www.elastic.co/guide/en/logstash/current/breaking-changes.html
especially this -> https://www.elastic.co/guide/en/logstash/current/breaking-changes.html#_elasticsearch_output_changes


(system) #7

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.