As a general rule, you can upgrade between minor versions (for example, 7.x to 7.y, where x < y) by simply installing the new release and restarting the Beat process. Beats typically maintain backwards compatibility for configuration settings and exported fields. Please review the release notes for potential exceptions.
Upgrading between non-consecutive major versions (e.g. 5.x to 7.x) is not supported.