Before upgrading Logstash:
Read the breaking changes docs.
There you can find info on these topics and more:
If you are installing Logstash with other components in the Elastic Stack, also see theElastic Stack installation and upgrade documentation.
Upgrading between non-consecutive major versions (5.x to 7.x, for example) is notsupported. We recommend that you upgrade to 6.x, and then upgrade to 7.x.
If you haven’t already, upgrade to version 6.7 before you upgrade to 7.0. Ifyou’re using other products in the Elastic Stack, upgrade Logstash as part of theElastic Stack upgrade process.
Upgrading to Logstash 6.7 will give you a head-start on new 7.0 features, includingthe java execution engine and the strict field reference parser, while you’re still running 6.x.This step helps reduce risk and makes roll backs easier if you hita snag.
Upgrading to 6.7 is required because the Elasticsearch index template was modified tobe compatible with Elasticsearch 7.0 (the _type
setting changed from doc
to _doc
).