Filtering the List of Snapshots
Describes how to filter the list of snapshots using the Control System or the CLI.
About this task
The filter in the Snapshots tab on the page lets you build search expressions to provide sophisticated
filtering capabilities for locating specific data on views that display a large
number of volumes. Expressions are implicitly connected by the AND operator.
NOTE
When running on a Kubernetes cluster, the
filter is present in the Snapshots tab on the
Volumes page under the Volumes
menu.Filtering the List of Snapshots Using the Control System
Procedure
Filtering the List of Snapshots Using the CLI and REST API
About this task
The volume snapshot list command can
be used with the -filter option, which let you
specify large numbers of snapshots by matching specified values in
specified fields rather than by typing each name explicitly. For
example, you can display all snapshots associated with the volume
test as follows:
maprcli volume snapshot list -filter [vn=="test"] -jsonSend a request of type GET. For example, to display all snapshots associated with the volume test, send a request similar to the following:
curl -k -X GET 'https://<hostname>:8443/rest/volume/snapshot/list?filter=%5Bvn%3D%3D%22test%22%5D' --user <username>:<pwd>volume snapshot list.
and
select one of the following from the
to
remove a filtering criteria.
to clear
all filter settings.