Logstash to elasticsearch question

when the network broked,Which way to save the data and continue the transfer when the network is recovered?

https://www.elastic.co/guide/en/logstash/current/persistent-queues.html goes in what happens and some options you have.