Editing Tags

You can edit any field in your custom tags, but you can only edit the tag color and sample text in the predefined system tags.

When editing custom tags that are associated with one or more active Insight Profiles, keep in mind that some changes require CloudAdvisor to reprocess the DiscoveryPoints on all VMs to which those Insight Profiles are assigned. This includes changes to the tag's Store Matches setting or to the tag's regex expression.

Reprocessing is faster and uses fewer resources than the initial DiscoveryPoint creation process, but it may still take some time depending on how many DiscoveryPoints need to be reprocessed. The search results for a DiscoveryPoint will not reflect your changes until that DiscoveryPoint has been reprocessed.

Tip: To view the reprocessing progress for a specific DiscoveryPoint on a specific VM, open the VM Details Tab for that VM and then expand the Discovery Points tile.

Procedure 

  1. From the Home tab, select Discover > Insight Management.
  2. In the tab menu bar, click Tags to open the Tags view.
  3. Click the name of the tag that you want to edit.

    Note: You can edit only one tag at a time.
  4. On the Details page, change any of the following options as desired:

    Field Name Description
    Name

    The name of the tag. For custom tags, you can specify any alphanumeric characters or underscores (_).

    Color Option

    Color applied to the tag in the Insight Management tag list and in all Tags tiles.

    This is the only Details option that can be changed for a predefined system tag.

    Store Matches

    When enabled (ON), CloudAdvisor stores the matching content in ElasticSearch. The default is OFF.

    Important: Stored information can appear in search output and in the File tab. If you do not want this information appearing in search output, make sure that Store Matches is disabled (OFF). If you change this option, CloudAdvisor will reprocess the DiscoveryPoints for all VMs associated with the Insight Profiles that use this custom tag.
    Description Optional description of the tag.
  5. If you want to edit the regex expression associated with a custom tag, click Match Pattern.

    Note: You cannot change the regex expression for system tag, but you can enter different sample text.
  6. On the Match Pattern page, change any of the following options as desired:

    Field Name Description
    Regex

    The regular expression (regex) that CloudAdvisor matches when processing the files in a DiscoveryPoint. For more information, see Regular Expressions.

    CloudAdvisor supports the Google RE2 regex syntax. For details, see the RE2 syntax reference at https://github.com/google/re2/wiki/Syntax.

    Python Validation Code

    An optional Python code snippet that provides additional match information.

    Note: This functionality is not supported for custom tags out-of-the-box. If you want to use Python code snippets in your custom tags, contact HyTrust Support.
    Sample Text Optional text for testing the regular expression. You can repeatedly change the sample text and click the Test button to test your regex on different text.
    Test button

    Tells CloudAdvisor to verify the regex syntax and highlight any matches within the sample text. CloudAdvisor also displays the total number of matches within the sample text next to Matches.

    If the regex syntax is invalid, CloudAdvisor displays a pop up error dialog box.

  7. Optionally click the Test button to test the tag against the sample text.
  8. Click Apply.

    Note: If the regex syntax is invalid, CloudAdvisor displays a pop up error dialog box and does not save the tag.