A surgical hub comprising: a storage device configured to store parameters and status of a surgical instrument coupled to the surgical hub; a processor coupled to the storage device; and a memory coupled to the processor, the memory storing instructions executable by the processor to: receive data from the surgical instrument coupled to the surgical hub; determine a rate at which to transfer the data from the surgical hub to a remote cloud-based medical analytics network based on available storage capacity of the storage device; transfer the data from the surgical hub to the remote cloud-based medical analytics network to be analysed to improve surgical procedure outcomes; identify a failure event of the surgical instrument; and initiate, based on the identification of the failure event, automatic: identification of data associated with the failure event in the data received from the surgical instrument; archiving of the data associated with the failure event; and transfer of the data associated with the failure event from the surgical hub to the remote cloud-based medical analytics network. a storage device configured to store parameters and status of a surgical instrument coupled to the surgical hub; a processor coupled to the storage device; and a memory coupled to the processor, the memory storing instructions executable by the processor to: receive data from the surgical instrument coupled to the surgical hub; determine a rate at which to transfer the data from the surgical hub to a remote cloud-based medical analytics network based on available storage capacity of the storage device; transfer the data from the surgical hub to the remote cloud-based medical analytics network to be analysed to improve surgical procedure outcomes; identify a failure event of the surgical instrument; and initiate, based on the identification of the failure event, automatic: identification of data associated with the failure event in the data received from the surgical instrument; archiving of the data associated with the failure event; and transfer of the data associated with the failure event from the surgical hub to the remote cloud-based medical analytics network. receive data from the surgical instrument coupled to the surgical hub; determine a rate at which to transfer the data from the surgical hub to a remote cloud-based medical analytics network based on available storage capacity of the storage device; transfer the data from the surgical hub to the remote cloud-based medical analytics network to be analysed to improve surgical procedure outcomes; identify a failure event of the surgical instrument; and initiate, based on the identification of the failure event, automatic: identification of data associated with the failure event in the data received from the surgical instrument; archiving of the data associated with the failure event; and transfer of the data associated with the failure event from the surgical hub to the remote cloud-based medical analytics network. identification of data associated with the failure event in the data received from the surgical instrument; archiving of the data associated with the failure event; and transfer of the data associated with the failure event from the surgical hub to the remote cloud-based medical analytics network. <EOS>