Snapshot restore -- How to check how long the restore took?

I was able to restore a snapshot recently.
Is there a way for Elastic / Kibana to show how long the restore took (Full time)? There does not appear to be a definitive way.

I seemed to find two ways to find this data:

  1. Use this URL path for an api call
    https://<host>/search/_snapshot/<snapshot repository>/<specific Snapshot>/_status? pretty
    
    I see this data in the payload. Its not clear what snapshot[1].stats.time_in_millis is ? Is this the total time it took the restore to run? If so its not accurate:
    {
      "snapshots": [
        {
          "snapshot": <snapshot name>,
          "repository": <snapshot repository>,
          "uuid": "dBCFEdE_RwCf9kg1234567",
          "state": "SUCCESS",
          "include_global_state": true,
          "shards_stats": {
            "initializing": 0,
            "started": 0,
            "finalizing": 0,
            "done": 551,
            "failed": 0,
            "total": 551
          },
          "stats": {
            "incremental": {
              "file_count": 587,
              "size_in_bytes": 92046051
            },
            "total": {
              "file_count": 10662,
              "size_in_bytes": 483829905011
            },
            "start_time_in_millis": 1727123399856,
            "time_in_millis": 4602
          },
    
  2. If I go into Kibana. I can go to Hamburger Menu > Stack Management > Snapshot and Restore > Restore Status from here I can see all the indexes that were restored. There does not appear to be a place I can check how long all of the restore took. But I can surmise how long it took by sorting the Last activity column. Then I can go to the first page and last page to determine how long it took.

Are these the only two ways? I really don't want to have to use Kibana to look up this info. Mainly because our snapshots back up ALL indexes (*), which means I cannot run Kibana while I do the restore, I have to turn it off.

I need a way to check if the restore completed and how long it took from the API. Is there a way to check this?

Hi @Dave_Houser

Have you tried it?

Thanks for the reply. Is there a specific part of this guide you are referring for me to try? Because my post details how I am checking the status of a specific snapshot with the API. It does give a bunch of stats but does not detail how long the snapshot took to restore. Can you be more specific what I should be looking at in the guide?