Before upgrading Logstash:
While upgrading Logstash:
If you’re upgrading other products in the stack, also read theElastic Stack Installation and Upgrade Guide.
See the following topics for information about upgrading Logstash:
Fresh installations can and should start with the same version across the Elastic Stack.
Elasticsearch 7.0 does not require Logstash 7.0. An Elasticsearch 7.0 clusterwill happily receive data from earlier versions of Logstash via the defaultHTTP communication layer. This provides some flexibility to decide when toupgrade Logstash relative to an Elasticsearch upgrade. It may or may not beconvenient for you to upgrade them together, and it is not required to be doneat the same time as long as Elasticsearch is upgraded first.
You should upgrade in a timely manner to get the performance improvements thatcome with Logstash 7.0, but do so in the way that makes the most sense for yourenvironment.
If any Logstash plugin that you require is not compatible with Logstash 7.0, then you should wait until it is readybefore upgrading.
Although we make great efforts to ensure compatibility, Logstash 7.0 is not completely backwards compatible. As notedin the Elastic Stack upgrade guide, Logstash 7.0 should not be upgraded before Elasticsearch 7.0. This is bothpractical and because some Logstash 7.0 plugins may attempt to use features of Elasticsearch 7.0 that did not existin earlier versions. For example, if you attempt to send the 7.x template to a cluster before Elasticsearch 7.0, thenall indexing likely fail. If you use your own custom template with Logstash,then this issue can be ignored.