As you have a single node, you are going to experience downtime. Beats will queue data until they can access Elasticsearch again, but you will also want to upgrade them.
You may want to upgrade to 5.5 or 5.6 first, so you can run the upgrade assistant in Kibana to help get to 6.X.