{"id":9314,"date":"2022-09-07T14:40:54","date_gmt":"2022-09-07T19:40:54","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=9314"},"modified":"2022-09-07T14:40:55","modified_gmt":"2022-09-07T19:40:55","slug":"elasticsearch-listing-snapshots-in-aws-s3","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=9314","title":{"rendered":"ElasticSearch &#8211; Listing Snapshots in AWS S3"},"content":{"rendered":"\n<p>To view the snapshots held in AWS, you\u00a0<em>should<\/em> be able to use Kibana. From &#8220;Management&#8221; navigate to &#8220;Snapshot and Restore&#8221; and look at the list of snapshots. We, however, get a timeout attempting to view the snapshots. Instead, use the _snapshot ES API endpoint to get the name of the repository:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-GetRepoName.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"265\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-GetRepoName-1024x265.png\" alt=\"\" class=\"wp-image-9315\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-GetRepoName-1024x265.png 1024w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-GetRepoName-300x78.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-GetRepoName-768x199.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-GetRepoName-750x194.png 750w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-GetRepoName.png 1312w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Then use the name to create the ES API URI to get a list of snapshots in the repository \u2013 GET _snapshot\/*?verbose=false \u2013 you will get a list of snapshots, which indices are included in each snapshot, and a state (SUCCESS or FAILED).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-SnapshotsInRepo.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"284\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-SnapshotsInRepo-1024x284.png\" alt=\"\" class=\"wp-image-9316\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-SnapshotsInRepo-1024x284.png 1024w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-SnapshotsInRepo-300x83.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-SnapshotsInRepo-768x213.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-SnapshotsInRepo-750x208.png 750w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2022\/09\/AWS-SnapshotsInRepo.png 1325w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>To view the snapshots held in AWS, you\u00a0should be able to use Kibana. From &#8220;Management&#8221; navigate to &#8220;Snapshot and Restore&#8221; and look at the list of snapshots. We, however, get a timeout attempting to view the snapshots. Instead, use the _snapshot ES API endpoint to get the name of the repository: Then use the name &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1588],"tags":[1590],"class_list":["post-9314","post","type-post","status-publish","format-standard","hentry","category-elk","tag-elasticsearch"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9314"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9314\/revisions"}],"predecessor-version":[{"id":9317,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9314\/revisions\/9317"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}