vastcatalogindexedcolumn add

Prev Next

This command explicitly adds a column to VAST Catalog for an S3 tag or S3 metadata attribute. The added column for an S3 tag is named tag_<name>, where <name> is the name you supply for the tag. The add column for an S3 metadata attribute is named metadata_<name>, where <name> is the name you supply for the metadata attribute.

Note

VAST Catalog indexes all S3 tags found in objects and buckets as key-pair values in the user_tags column, regardless of whether user defined attributes are specified.

Usage

vastcatalogindexedcolumn add --name NAME
                             --column-type tag|metadata

Required Parameters

--name NAME

Specifies the key value of the user defined attribute. For example, if you have S3 objects tagged with department=Sales, department=Marketing, and so on, you would supply the key value "department" as the name of the attribute.

--column-type tag|metadata

Specifies if the user defined attribute is an S3 tag (tag) or an S3 metadata attribute (metadata).

Example

vcli: admin> vastcatalogindexedcolumn add --name department --column-type tag