Grouping data by file type
Create policies to group data by file type.
About this task
You can create AUTOTAG policies and run them on a periodic basis to group data by specific file types.
Procedure
- Create an Open tag to group data. For example,
FileTypeGroup.
- Go to Metadata > Tag Management
- Under Tags click Add Tags.
- Select Open in the Type menu.
- Click Submit.
- Create an AUTOTAG policy with a relevant filter criteria. For example,
Filetype = 'pdf'.
- Go to Metadata > Tag Management.
- Under Policies click Add Policy.
- Enter a name for the policy in the Name box. For example, FileTypeGroupTagging.
- Select Autotag from the Policy Type menu.
- Click Next step.
- Type filetype = 'pdf' as the filter criteria.Note: You can modify the filter criteria based on the file type you want to group. For example, if you want to group all JPG images, type filetype = 'jpg'.
- Click Add Tag.
- Select the file type group tag that you previously defined. In this example, the tag name is FileTypeGroup.
- Match the tag value with the filetype in the filter criteria. For example, if the filter criteria is filetype = 'pdf' use pdf as the tag value and then click Next step.
- Click the slider control to set the policy status to active.
- Under Schedule select the frequency for running the policy and then click Next step. For example, Now, Daily, Weekly, Monthly
- Review the policy and click Save to run the AUTOTAG policy.
Note: You can manually refresh the IBM Spectrum® Discover database to confirm whether the policy is run properly. Refreshing the database is optional and not an essential prerequisite for the process. To manually refresh the database, follow the procedure shown:- Go to Data Connections > Discover Databases.
- Click Run table refresh under the Metadata Summarization database
- Create a policy to group data with a different file type tag value or modify the existing policy.
- Define a schedule to rerun policies on a periodic basis.