A surgical hub configured to prioritize surgical data associated with a surgical procedure from a surgical device of the surgical hub to a cloud-based system communicatively coupled to a plurality of surgical hubs, the surgical hub comprising: a processor; and a memory coupled to the processor, the memory storing instructions executable by the processor to: capture surgical data, wherein the surgical data comprises data associated with the surgical device; time-stamp the captured surgical data; identify a failure event; identify a time period associated with the failure event; isolate failure event surgical data from surgical data not associated with the failure event based on the identified time period; chronologize the failure event surgical data by time-stamp; encrypt the chronologized failure event surgical data; generate a datagram comprising the encrypted failure event surgical data, wherein the datagram is structured to include a field which includes a flag that prioritizes the encrypted failure event surgical data over other encrypted data of the datagram; transmit the datagram to the cloud-based system, wherein the datagram allows for the cloud-based system to: decrypt the encrypted failure event surgical data; focus analysis on the failure event surgical data rather than surgical data not associated with the failure event; and flag the surgical device associated with the failure event for at least one of: removal from an operating room; return to a manufacturer; future inoperability in the cloud-based system; or a download update to prevent failure events. a processor; and a memory coupled to the processor, the memory storing instructions executable by the processor to: capture surgical data, wherein the surgical data comprises data associated with the surgical device; time-stamp the captured surgical data; identify a failure event; identify a time period associated with the failure event; isolate failure event surgical data from surgical data not associated with the failure event based on the identified time period; chronologize the failure event surgical data by time-stamp; encrypt the chronologized failure event surgical data; generate a datagram comprising the encrypted failure event surgical data, capture surgical data, wherein the surgical data comprises data associated with the surgical device; time-stamp the captured surgical data; identify a failure event; identify a time period associated with the failure event; isolate failure event surgical data from surgical data not associated with the failure event based on the identified time period; chronologize the failure event surgical data by time-stamp; encrypt the chronologized failure event surgical data; generate a datagram comprising the encrypted failure event surgical data, wherein the datagram is structured to include a field which includes a flag that prioritizes the encrypted failure event surgical data over other encrypted data of the datagram; transmit the datagram to the cloud-based system, wherein the datagram allows for the cloud-based system to: decrypt the encrypted failure event surgical data; focus analysis on the failure event surgical data rather than surgical data not associated with the failure event; and flag the surgical device associated with the failure event for at least one of: removal from an operating room; return to a manufacturer; future inoperability in the cloud-based system; or a download update to prevent failure events. decrypt the encrypted failure event surgical data; focus analysis on the failure event surgical data rather than surgical data not associated with the failure event; and flag the surgical device associated with the failure event for at least one of: removal from an operating room; return to a manufacturer; future inoperability in the cloud-based system; or a download update to prevent failure events. removal from an operating room; return to a manufacturer; future inoperability in the cloud-based system; or a download update to prevent failure events.