IoT Hub
As stated earlier, Particle Cloud does not store the data that you send. In fact, the value 60 in the call to Particle.publish indicates the time-to-live (TTL) of the event. At the time of writing, 60 seconds is the default and this cannot be changed. What we want to do is to send this data to Azure IoT Hub and then use one of the tools in Azure's arsenal to do whatever the heck we want with the data. The Particle Cloud offers several integrations and one of those connects Particle Events to IoT Hub.
You should see an IoT Hub as a waiting room for your events. The waiting room provides some kind of SLA that says: "I'm gonna keep this data for at least X amount of time!". After that time, there is no guarantee that the data is still in the waiting room but it could be. It all depends on the amount of data you send to it.That is a pretty simple explanation of an IoT Hub but that should do for now. The application(s) that read from the stream of data could stop doing so at any time (e.g. because of a runtime error) but they have the ability to read the stream of data from where they stopped.
Instead of talking about IoT Hub, why don't we go ahead and create one.