how to use the elasticsearch python api to get an overview of all snapshots that have been created
I finally realized you can use the _all
keyword when needing all snapshots, in the following way:
all_snapshots = es.snapshot.get(repository = 'my_backup', snapshot = '_all')
Just adding one of my own as this got me in the right path.If you need to get the general snapshot status i.e if a snapshot is being run:
es_session.snapshot.status('_all')